Bloss Docs

Create a post on a managed account

Developers
POST
/managed/accounts/{accountId}/posts

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.

Authorization

bearerAuth managed:write
headerAuthorizationBearer <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

Path Parameters

accountId*string

A managed account id from GET /managed/accounts.

Length1 <= length

Request Body

application/json
  1. body
contentType*string
Value in"tiktok_video""tiktok_carousel""tiktok_story""instagram_reel""instagram_feed_video""instagram_carousel""instagram_photo_reel""instagram_story"
mediaFileIds*array<>
Itemsitems <= 20
storyMediaKind?string
Default"image"
Value in"video""image"
caption?string
Lengthlength <= 4000
Default""
targetDate?|
Default""
soundUrl?string
Lengthlength <= 500
Default""
carouselTitle?string
Lengthlength <= 400
Default""
location?string
Lengthlength <= 400
Default""
collaborators?array<>
Itemsitems <= 20
Default[]
audioName?string
Lengthlength <= 400
Default""
addToStory?boolean
Defaultfalse
aiDisclosure?boolean
Defaultfalse
discloseAsAd?boolean
Defaultfalse
internalName?string
Lengthlength <= 400
Default""
options?
Default
{  "proEdit": false,  "editBrief": "",  "soundMix": false,  "volumeOriginalSound": 100,  "volumeAddedSound": 100,  "instantRepost": false,  "storyRepost": false,  "storyRepostUrl": ""}
submit?boolean
Defaultfalse
contentAck?boolean
Defaultfalse

Response Body

Success.

application/json
  1. response
post*
sent*boolean

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

Was this page helpful?