Skip to content

List connected accounts

GET
/accounts
curl --request GET \
--url https://postflow.biz.id/api/v1/accounts \
--header 'Authorization: Bearer <token>'

MCP tool: list_accounts.

By platform, then name.

Media typeapplication/json
Array<object>
object
id
required

Use as socialAccountId in post targets.

string
platform
required
string
Allowed values: facebook instagram tiktok threads bluesky youtube telegram
name
required
string
username
required
Any of:
string
avatarUrl
required
Any of:
string
status
required

needs_reconnect: the owner must reconnect it in PostFlow before it can publish.

string
Allowed values: active needs_reconnect
error
required
Any of:

Why it needs reconnecting.

string
contentTypes
required

Content types this account can publish.

Array<string>
Allowed values: fb_post fb_photo fb_video fb_reel ig_image ig_carousel ig_reel ig_story tt_video tt_photo th_text th_image th_video th_carousel tg_message tg_media bs_post bs_video yt_short yt_video

Example

[
{
"platform": "facebook",
"status": "active",
"contentTypes": [
"fb_post"
]
}
]

Missing, invalid, expired or deleted key or token.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: UNAUTHENTICATED FORBIDDEN NOT_FOUND VALIDATION CONFLICT SUBSCRIPTION_GRACE SUBSCRIPTION_EXPIRED PLAN_LIMIT RATE_LIMITED INTERNAL
message
required

A sentence you can show to a person.

string
details

Field errors ({ field: [messages] }), or preflight: per-account rule violations with an issue code.

Example

{
"error": {
"code": "UNAUTHENTICATED"
}
}

More than 120 requests in a minute with this key.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: UNAUTHENTICATED FORBIDDEN NOT_FOUND VALIDATION CONFLICT SUBSCRIPTION_GRACE SUBSCRIPTION_EXPIRED PLAN_LIMIT RATE_LIMITED INTERNAL
message
required

A sentence you can show to a person.

string
details

Field errors ({ field: [messages] }), or preflight: per-account rule violations with an issue code.

Example

{
"error": {
"code": "UNAUTHENTICATED"
}
}