Publish on a channel
channels_publishPublish a finished video on a channel the way its brief allows. Checked in order: the kill switch and the caps (not_feasible with details.blockers: stop and tell the person), the quality gate (content_not_cleared with details.gate.reasons: too similar to a recent video, under the minimum length, missing disclosure, captions or chapters broken; fix it and retry with a NEW idempotencyKey), then the approval mode: draft_only answers needs_approval and queues nothing; review_first holds it until the person approves at approvalUrl; full_auto releases it, moved past quiet hours. Altered or synthetic content is marked automatically when the project's records show it and the brief allows; set aiDisclosure only when the person asks. Every outcome is written to the channel journal. Free.
REST: POST /v1/channels/{connectedAccountId}/publish.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"connectedAccountId": "<connectedAccountId>",
"videoJobId": "<videoJobId>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "channels_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Overrides the packaged title. | |
| workspace | No | Workspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored. | |
| videoJobId | Yes | The finished video job (one output, not a footage parent). | |
| description | No | Overrides the packaged description (chapters included). | |
| scheduledAt | No | ISO 8601 with offset. Omit to post now. | |
| aiDisclosure | No | The person asked to mark it as altered or synthetic. Never on your own. | |
| paidPromotion | No | YouTube only: the person's answer to "Includes paid promotion". Never on your own; omitted, an #ad or #sponsored tag in the description declares it. | |
| idempotencyKey | Yes | Required for anything that spends or creates durable state. Generate a unique id per logical call. Retrying with the SAME id and the SAME arguments returns the stored result instead of doing — and charging for — the work twice; the same id with different arguments is refused with `conflict`. | |
| connectedAccountId | Yes | The channel: a destination id from `GET /v1/publish/destinations`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||