Account ID. Use this as accountId when publishing.
items[].platform
string
Platform type (e.g., twitter, facebook, instagram)
items[].fullname
string
Display name of the account
items[].username
string
Username or handle
If no accounts are returned, the user needs to connect social accounts in Blotato Settings.
Examples
List all accounts
Filter by platform
List Subaccounts (Pages)
Endpoint
Base URL:https://backend.blotato.com/v2
URL:/users/me/accounts/:accountId/subaccounts
Method:GET
Description
Returns subaccounts for a connected account. Subaccounts include Facebook Pages and LinkedIn Company Pages. Use this to get the pageId required for publishing to these platforms.
Path Parameters
Field
Type
Required
Description
accountId
string
Yes
The account ID from the List Accounts endpoint
Response
Status Code:200 OK
Field
Type
Description
items
array
List of subaccounts
items[].id
string
Subaccount ID. Use this as target.pageId when publishing to Facebook or LinkedIn.
items[].accountId
string
Parent account ID
items[].name
string
Name of the page
If subaccounts is empty, the user needs to connect a Facebook Page or LinkedIn Company Page in Blotato Settings.
Example
How to Get the Right IDs for Publishing
Different platforms need different IDs. Here is how to get them for each platform.