Bloss Docs

Fill in an unfinished setup

Developers
PATCH
/managed/orders/{orderId}

Saves setup details on an unfinished order: handle, displayName, bio, linkInBio (Instagram), niche, warmingTerms (the topics the account warms up on: 3, or 9 with the Standard upgrade), warmingTargetCount, and for a brand seat assignedUserId. Send only what changes. Check a handle first with POST /managed/orders/{orderId}/handle-check. A profile picture is avatarFileId: upload it first with managed.uploads.create (orderId, purpose avatar). Answers the order and completeness (what's still missing before checkout).

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
handle?string
Match^[a-zA-Z0-9_.]+$
Length1 <= length <= 24
displayName?string
Length1 <= length <= 30
bio?string
Lengthlength <= 120
linkInBio?|null
avatarFileId?|null
niche?string
Lengthlength <= 1000
warmingTerms?array<>
Items3 <= items <= 30
warmingTargetCount?number
Value in39
country?string
Length2 <= length <= 32
platform?string
Value in"tiktok""instagram"
assignedUserId?|null

Response Body

Success.

application/json
  1. response
order*
completeness*
curl -X PATCH 'https://example.com/api/v1/managed/orders/string' \  -H 'Content-Type: application/json' \  -d '{}'
{  "order": {    "id": "string",    "platform": "string",    "country": "string",    "countryName": "string",    "tier": "standard",    "accountStatus": "string",    "ownerType": "user",    "ownerBrandId": "string",    "handle": "string",    "displayName": "string",    "bio": "string",    "linkInBio": "string",    "avatarUrl": "string",    "niche": "string",    "warmingTopics": [      "string"    ],    "warmingTopicsRequired": 0,    "accountId": "string",    "needsCorrection": true,    "stopped": {      "reason": "string",      "charge": "string",      "stoppedAt": "string"    },    "createdAt": "string",    "updatedAt": "string",    "timeline": {      "steps": [        {          "key": "string",          "label": "string",          "state": "done",          "at": "string",          "detail": "string"        }      ],      "etaCopy": "string"    },    "correction": {      "state": "needed",      "handle": "string",      "openedAt": "string"    }  },  "completeness": {    "complete": true,    "missing": [      "string"    ]  }}

Was this page helpful?

Suggest warming topics for a setup POST

Suggests 3 or 9 warming topics from a description of the niche (`text`, up to 1,000 characters). Saves nothing: put the ones you want in `warmingTerms` with PATCH /managed/orders/{orderId}. When suggestions aren't available (500), type your own. Rate limited per hour and per day.

Upload a file for a managed account POST

Uploads a post's media or a profile picture for a managed account, and gives back its file id. Name what it's for: `accountId` for a post on a delivered account (you must be able to post from it), or `orderId` for an unfinished setup or its first post (full admins and account owners). `purpose`: "post_video" (a video post's one video: MP4, MOV or WebM), "post_image" (carousel images: JPG, PNG or WebP), "story_image" (a story's one image), or "avatar" (a profile picture). Two ways to send the file. (a) Two steps: send `contentType` and `sizeBytes` (the exact byte count), PUT the raw bytes to the returned `uploadUrl` with the returned `headers` before `expiresInSeconds` runs out, then call the finalize operation named below. (b) One call: send `url`, a public https link to the file; Bloss downloads it (the link must report its size) and answers with the finished file (`status: "ready"`), so no PUT and no finalize are needed. Use (b) when the file is already online, (a) for a file you hold. Finalize: managed.uploads.finalize. Then use the file id in `mediaFileIds` (managed.account.post.create / .update, managed.order.first-post.media.replace), `avatarFileId` (managed.order.update) or `pictureFileId` (managed.account.review). A type or size the purpose doesn't take is validation_failed (`details.code` MEDIA_TYPE_UNSUPPORTED or MEDIA_TOO_LARGE). Uploads are limited per hour and in megabytes per day (429 rate_limited).