Publish to social accounts
POST/contents/upload/:content_id
Dispatches the rendered video to the selected connected accounts.
account_idsis a list of objects, not strings.The handler reads
a.get("id")on each element, so["abc"]resolves to no accounts at all — the request is accepted, the status moves, and nothing is ever published. Send[{"id": "abc"}].
Get account ids from GET /accounts.
Request
Responses
- 200
- 400
- 401
- 402
- 403
- 404
- 409
Upload queued. Poll GET /gen/task-status/{content_id}.
No accounts selected, or madeForKids and ageRestricted were
both "yes" — a video cannot be made for kids and age restricted
at the same time.
Missing, malformed, invalid or revoked API key.
Confirm the key independently with GET /api-keys/introspect, which
needs no scope.
Not enough credits to reserve for this operation. Check your balance
with GET /users/credits.
The key is valid but lacks a required scope.
No such resource for this key's owner. A resource belonging to another user is indistinguishable from one that does not exist.
An upload for this content is already in flight. Guards against a retry after a client-side timeout publishing the same video twice. Clears once the dispatch passes the stall threshold, so genuine recovery still works.