Platforms
List platforms
Lists each network with its caption, media and format rules, the same ones the sandbox and dry run apply, and whether it is open to the token owner.
Each network has its own rules. Rather than hard-coding them, read them through GET /v1/platforms: the maximum text length, hashtags and mentions, accepted media, formats, and whether the network is open to you.
{
"data": [
{
"platform": "instagram",
"name": "Instagram",
"available": true,
"caption": { "maxLength": 2200, "maxHashtags": 30, "maxMentions": 20, "enforced": true },
"media": { "maxCount": 10, "mixImagesAndVideo": true, "imageTypes": ["image/jpeg"], "videoTypes": ["video/mp4", "video/quicktime"] },
"formats": [
{ "format": "post", "default": true, "requiredMedia": "any" },
{ "format": "reel", "default": false, "requiredMedia": "video" }
]
}
]
}Limits by network
| Network | Text | Media | Formats |
|---|---|---|---|
| 2,200 characters, 30 hashtags, 20 mentions | Required, up to 10 (JPEG, MP4, MOV) | post, reel, story, carousel | |
| 63,206 characters | Up to 10, photos or videos | post, reel, story, video | |
| TikTok | 2,200 characters | Required: a video, or up to 35 photos | video, photo |
| 3,000 characters | Up to 20 | post, article, carousel, video | |
| X | 280 characters, threads up to 25 posts | Up to 4 photos or one video | post, thread |
These are today’s figures; GET /v1/platforms always gives the current values.
The dry run applies these same rules before you publish.
Authorizations
AuthorizationstringheaderrequiredYour personal key or OAuth access token, sent as
Bearer <token>.
Response
The list of platforms and their rules.
dataobject[]requiredThe platforms
Show child attributes
platformstringrequiredNetwork identifier
Allowed values:
instagramfacebookxlinkedintiktoknamestringrequiredDisplay name of the network
availablebooleanrequiredOpen to the person the token acts for; otherwise a post there is refused
captionobjectrequiredCaption rules
Show child attributes
maxLengthnumberrequiredMaximum number of characters (weighted on X)
enforcedbooleanrequiredtrue: the network flatly refuses beyond the limits (422post_refused)maxHashtagsnumberMaximum number of hashtags
maxMentionsnumberMaximum number of mentions
threadobjectPresent when the network publishes a thread
Show child attributes
maxPostsnumberrequiredMaximum number of posts in a thread
mediaobjectrequiredMedia rules
Show child attributes
maxCountnumberrequiredMaximum number of media in a post
enforcedbooleanrequiredtrue: the network flatly refuses beyond the limitmixImagesAndVideobooleanrequiredfalse: photos and video cannot be mixed in one postimageTypesstring[]requiredAccepted image MIME types
videoTypesstring[]requiredAccepted video MIME types
formatsobject[]requiredFormats the network accepts
Show child attributes
formatstringrequiredName of the format
defaultbooleanrequiredThe format used when the target declares none
requiredMediastringrequirednone: publishable without a visual;any: a visual of any kindAllowed values:
noneimagevideoanycaptionPublishedbooleanrequiredfalse: the caption is not sent (story)