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.
Authorizations
AuthorizationstringrequiredYour personal key or OAuth access token, sent as
Bearer <token>.
Response
200application/json
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)
4XXapplication/json
Any other error, in the error envelope.