Skip to main content
Base URL https://app.contenthero.ai/api/v1. All endpoints take a bearer API key.

Posts

MethodPathScopePurpose
GET/postsreadList your posts.
POST/postspipeline:writeCreate a post. Resolves a pipeline stage by id, slug, or name.
GET/posts/{id}readGet a post with its destinations and assets.
PATCH/posts/{id}pipeline:writeUpdate a post. Set status to archived to archive it (reversible).

Destinations and assets

MethodPathScopePurpose
POST/posts/{id}/destinationspipeline:writeAdd a platform destination (platform, format, connected account).
PATCH/posts/{id}/destinationspipeline:writeUpdate a destination.
POST/posts/{id}/assetsassets:writeAttach a media asset by URL.

Schedule and publish

MethodPathScopePurpose
POST/posts/{id}/schedulepipeline:writeSchedule the post and its destinations for a future time.
POST/posts/{id}/publishpublish:writePublish now to the post’s destinations. Returns per-destination results.

Pipeline stages

MethodPathScopePurpose
GET/pipeline-stagesreadList your pipeline stages (seeds the defaults if none exist).

Connected accounts

MethodPathScopePurpose
GET/connected-accountsreadList your connected social accounts (safe projection; no credentials).
GET/connected-accounts/{id}readGet one connected account with its enabled capabilities.
Encrypted credential fields on a connected account are never exposed through the API. You reference an account by id when adding a destination.
See the Pipeline guide for the five-phase workflow.