Bloss Docs

Replace a first post's broken file

Developers
POST
/managed/orders/{orderId}/first-post/media

While an account ordered with a first post is still being built, replaces that post's file when Bloss has told you it can't be used (by email, or on the order page). Upload the new file first with managed.uploads.create (orderId, purpose post_video, post_image or story_image), then send its id in mediaFileIds: one file for a video or a story, 1–20 images for a carousel. Free. The post's publishing day may move, which targetDate and message say. A post that doesn't need a new file, or that is already on the delivered account, is 409 conflict (POST_NOT_EDITABLE). Full admins and account owners only.

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

orderId*string

An order id from GET /managed/orders.

Length1 <= length

Request Body

application/json
  1. body
mediaFileIds*array<>

File ids from managed.uploads.create, made for this order.

Items1 <= items <= 20

Response Body

Success.

application/json
  1. response
firstPost*|

The first post as the order page shows it.

resolution*string

"handed_over" (the new file went to the account's manager) or "already_recovered" (the old file works again; nothing changed).

Value in"handed_over""already_recovered"
targetDate*|

The day the post now targets (YYYY-MM-DD), when it has one.

message*string
curl -X POST 'https://example.com/api/v1/managed/orders/string/first-post/media' \  -H 'Content-Type: application/json' \  -d '{  "mediaFileIds": [    "string"  ]}'
{  "firstPost": {    "property1": null,    "property2": null  },  "resolution": "handed_over",  "targetDate": "string",  "message": "string"}

Was this page helpful?