Accounts
Endpoints related to user accounts and social media accounts.
Lists the organization pages the connected LinkedIn account can administer, so the user can choose which to add as posting targets.
Blotato account id, returned from /users/me/accounts.
Default Response
Unauthorized
Forbidden
Not found
Default Response
Server error
GET /v2/integrations/oauth2/linkedin/pages?accountId=text HTTP/1.1
Host: backend.blotato.com
blotato-api-key: YOUR_API_KEY
Accept: */*
{
"items": [
{
"id": "text",
"name": "text",
"isActive": true
}
]
}Lists boards owned by a connected Pinterest account. Returns the id and name of each board so callers can pick the boardId required when creating a Pinterest pin via blotato_create_post.
Blotato Pinterest account id, returned from /users/me/accounts.
Default Response
Unauthorized
Forbidden
Not found
Default Response
Server error
GET /v2/social/pinterest/boards?accountId=text HTTP/1.1
Host: backend.blotato.com
blotato-api-key: YOUR_API_KEY
Accept: */*
{
"items": [
{
"id": "1234567890123456789",
"name": "Summer Outfits"
}
]
}Fetches the current user's information, including subscription status and API key if available.
Current user information
Current user information
Unauthorized
Forbidden
GET /v2/users/me HTTP/1.1
Host: backend.blotato.com
blotato-api-key: YOUR_API_KEY
Accept: */*
{
"id": "user_12345",
"subscriptionStatus": "active",
"apiKey": "your-api-key",
"subscriptionPlan": "creator"
}Fetches the current user's social media accounts. Optionally filter by platform.
Social media platform
twitterPossible values: Default Response
Unauthorized
Forbidden
Server error
GET /v2/users/me/accounts HTTP/1.1
Host: backend.blotato.com
blotato-api-key: YOUR_API_KEY
Accept: */*
{
"items": [
[
{
"id": "12345",
"platform": "twitter",
"fullname": "John Doe",
"username": "@johndoe"
}
]
]
}Fetches the current user's subaccounts for a specific account. Subaccounts are typically used for platforms like Facebook where a user can have multiple pages.
Default Response
Unauthorized
Forbidden
Server error
GET /v2/users/me/accounts/{accountId}/subaccounts HTTP/1.1
Host: backend.blotato.com
blotato-api-key: YOUR_API_KEY
Accept: */*
{
"items": [
{
"id": "facebook_page_12345",
"accountId": "account_67890",
"name": "My Facebook Page"
}
]
}Last updated