platforms
Publish To Platform
Publish a content item to its target platform.
This endpoint:
- Loads the content and its platform credentials
- Auto-refreshes expired tokens
- Posts via the platform adapter (X, YouTube, etc.)
- Updates the content record with the result
The content must be in a publishable state (draft, approved, or pending_approval). Credits should already be deducted via the /content/{id}/publish endpoint before calling this.
post/v1/platforms/publish/{content_id}
Request
- Base URL: https://api.theagentc.io (the document declares no server; this is the origin it was published from)
- URL: https://api.theagentc.io/v1/platforms/publish/{content_id}
- Auth: HTTP bearer
Path parameters
content_idstring uuid required
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.