Skip to main content
Base URL https://app.contenthero.ai/api/v1. All endpoints take a bearer API key. The tables on this page are generated from the route contract: the Scope column is the scope the key needs, and a route that lists two scopes needs both.

Projects

A project is an editor timeline or a canvas. GET /projects/{projectId} answers its composition state and its revision; pass the revision back as expectedRevision when you edit, so a write over a newer edit is refused instead of overwriting it. Project settings (canvas size, frame rate, loudness, linkage) change through PATCH /projects/{projectId}, never through the edit path.
Query
Body
Body
Query
Body
Query
Body
Body
Body

Versions

Query
Body
Body

Exports

An export renders the project’s saved composition in the background: start it, then poll GET /exports/{exportId} or GET /status/{id} until it finishes, then fetch the file with GET /download/{id}.
Body
Query

Edits and schemas

POST /editor/ops applies a batch of ops to a project and saves it atomically. The schema routes list what an op, a layer, a clip, a track and an effect can be, so a call can be built from the real shapes.
Body
Query
Query
Query
Query

Templates

Query
Body
Query
Body

Style libraries

Query
Body
Query
Body