Bloss Docs

Post comments from a managed account

Developers
POST
/managed/accounts/{accountId}/engage/tasks

Sends up to 25 comments (on a video) or replies (on a comment) from this account, paid from its balance. Rows are judged one by one: accepted are the task ids going ahead, rejected gives each refused row's index, code and reason (daily or per-video caps, posting rules, duplicates). When comments aren't offered it is 409 EXTRA_NOT_OFFERED; too little balance for the batch is 409 with what's missing. 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

accountId*string

A managed account id from GET /managed/accounts.

Length1 <= length

Request Body

application/json
  1. body
tasks*array<>
Items1 <= items <= 25
idempotencyKey?string

Optional. A UUID you choose: sending the same call again with the same key replays the first answer instead of doing it twice (a retry after a network error). Without one, every call runs.

Match^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Response Body

Success.

application/json
  1. response
accepted*array<string>
rejected*array<>
placed*number

How many were sent right away; the rest are queued, not lost.

balance*

Comments left.

curl -X POST 'https://example.com/api/v1/managed/accounts/string/engage/tasks' \  -H 'Content-Type: application/json' \  -d '{  "tasks": [    {      "targetKind": "video",      "targetUrl": "string",      "text": "string"    }  ]}'
{  "accepted": [    "string"  ],  "rejected": [    {      "index": 0,      "code": "string",      "error": "string"    }  ],  "placed": 0,  "balance": {    "remaining": 0,    "purchasedTotal": 0  }}

Was this page helpful?