Create a post on a managed account
Saves a post draft, as the composer does. With submit: true and contentAck: true (you confirm the content follows the posting rules) it is sent in the same call and uses one of the account's posts; when none are left it answers 409 (NO_POST_SLOTS) and the draft stays saved. targetDate is the first day of a two-day publishing window (YYYY-MM-DD). mediaFileIds are files uploaded for this account with managed.uploads.create (accountId, purpose post_video, post_image or story_image): one video, 1–20 carousel images, or one story image. Paid extras in options (proEdit, soundMix, storyRepost, instantRepost) need a role that can buy.
bearerAuth managed:writeAuthorizationBearer <token>Personal access token. Scopes: account:read, creator:read, creator:earnings, managed:read, coach:read, brand:read, creators:read, videos:read, analytics:read, onboarding:read, onboarding:signatures, engagement:read, support:read, integrations:read, payouts:read, funds:read, billing:read, groups:write, videos:write, onboarding:write, sync:write, payouts:write, campaigns:write, brand:write, creators:write, engagement:write, support:write, accounts:write, payments:write, creator:write, creator:payouts:write, managed:write, coach:write, agency:write.
Scope: managed:write
accountId*stringA managed account id from GET /managed/accounts.
1 <= lengthapplication/json- body
contentType*string"tiktok_video""tiktok_carousel""tiktok_story""instagram_reel""instagram_feed_video""instagram_carousel""instagram_photo_reel""instagram_story"mediaFileIds*array<>items <= 20storyMediaKind?string"image""video""image"caption?stringlength <= 4000""targetDate?|""soundUrl?stringlength <= 500""carouselTitle?stringlength <= 400""location?stringlength <= 400""collaborators?array<>items <= 20[]audioName?stringlength <= 400""addToStory?booleanfalseaiDisclosure?booleanfalsediscloseAsAd?booleanfalseinternalName?stringlength <= 400""options?{ "proEdit": false, "editBrief": "", "soundMix": false, "volumeOriginalSound": 100, "volumeAddedSound": 100, "instantRepost": false, "storyRepost": false, "storyRepostUrl": ""}submit?booleanfalsecontentAck?booleanfalseSuccess.
application/json- response
post*sent*booleanWhether it was sent to be published.
curl -X POST 'https://example.com/api/v1/managed/accounts/string/posts' \ -H 'Content-Type: application/json' \ -d '{ "contentType": "tiktok_video", "mediaFileIds": [ "string" ]}'{ "post": { "id": "string", "contentType": "string", "contentTypeLabel": "string", "status": "string", "statusLabel": "string", "statusCopy": "string", "returnReason": "string", "targetDate": "string", "windowEndDate": "string", "windowLabel": "string", "caption": "string", "mediaCount": 0, "platformUrl": "string", "reviewDeadlineAt": "string", "dateMoved": { "from": "string", "to": "string" }, "isFirstPost": true, "signals": { "limitedReach": true, "aiLabel": "declared", "sound": "ok", "checkedAt": "string" }, "reachRestored": true, "createdAt": "string" }, "sent": true}Cancel a sent post POST
Takes a sent post back before it's published. Its post (and anything held for extras) comes back to the account when it was still waiting; `postReturned` says whether it did.
Delete a post draft DELETE
Deletes a draft that was never sent. A sent post is taken back with POST …/posts/{postId}/cancel instead.