Skip to content

List content types and their limits

GET
/content-types
curl --request GET \
--url 'https://postflow.biz.id/api/v1/content-types?platform=facebook' \
--header 'Authorization: Bearer <token>'

MCP tool: list_content_types.

platform
string
Allowed values: facebook instagram tiktok threads bluesky youtube telegram

OK

Media typeapplication/json
Array<object>

What a content type accepts. Pre-flight checks posts against these rules.

object
id
required
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
platform
required
string
Allowed values: facebook instagram tiktok threads bluesky youtube telegram
label
required
string
items
required

Media count, [min, max].

Array<integer>
kinds
required
Array<string>
Allowed values: image video
imageMimes
Array<string>
videoMimes
Array<string>
aspect

Allowed width/height range.

Array<number>
aspectRecommended
number
durationSec

Video length range in seconds.

Array<number>
maxImageBytes
integer
maxVideoBytes
integer
caption
required
Any of:
object
max
integer
hashtags
integer
mentions
integer
firstComment
required

Whether options.firstComment is supported.

boolean

Example

[
{
"id": "fb_post",
"platform": "facebook",
"kinds": [
"image"
]
}
]

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"
}
}