Developer docs / Publishing tasks
Publish a commerce video immediately
Submit an existing commerce video publishing task immediately using its postId.
POST
/v1/creator/post/submit- Authentication:
- Request header x-api-key: <YOUR_API_KEY>; keep the key on the server and never expose it in client code, logs or shared files.
- Success criteria:
- HTTP 2xx with code=0; for asynchronous tasks, also query the final status.
Request body fields
| Field | Type | Required | Description |
|---|---|---|---|
postId | string | Yes | Publishing task ID from task creation or publishing records; pass it as a string |
This operation triggers publishing; verify the task identified by postId before submitting.
Successful submission returns code=0 and data=null; check publishing records for the final status.
Request body
{
"postId": "2098014809185456128"
}Success response
{
"code": 0,
"message": "success",
"data": null,
"timestamp": 1790640000000
}Response and errors
Main response fields come from the published contract; see the JSON Schema. Required refers to the constraint in the containing object.
| Field | Type | Required | Description |
|---|---|---|---|
code | integer | Yes | Fixed value: 0 |
data | null | Yes | — |
message | string | Yes | — |
timestamp | integer | No | Response timestamp in milliseconds. |
HTTP 400The request parameters or body are invalid. Fix them and retry.HTTP 401The API key is missing or invalid. Check x-api-key.HTTP 403The API key has no permission to call this endpoint.HTTP 429Too many requests. Retry with exponential backoff.HTTP 500The server failed. Retry transient failures with exponential backoff.
Fix parameter, permission or authorization errors before retrying. If task creation times out, query existing tasks first and do not submit duplicates after an interrupted poll.
Last updated · 2026-11-16