https://app.contenthero.ai/api/v1. All endpoints take a bearer API key. The tables on this page are generated from the route contract.
Uploads and imports
An upload is three calls:POST /media/uploads reserves the file and answers an upload target, you send the bytes to it, then POST /media/uploads/{outputId}/complete finishes it. A large file uses a multipart session: sign the parts that still need bytes, send them, then complete. An import takes a public https URL instead and runs in the background: poll GET /status/{id}.
POST /media/uploads
POST /media/uploads
Body
POST /media/uploads/{outputId}/parts
POST /media/uploads/{outputId}/parts
Body
POST /media/uploads/{outputId}/complete
POST /media/uploads/{outputId}/complete
Body
POST /media/imports
POST /media/imports
Body
Folders
GET /library/folders
GET /library/folders
Query
POST /library/folders
POST /library/folders
Body
GET /library/folders/{id}
GET /library/folders/{id}
Query
Response
PATCH /library/folders/{id}
PATCH /library/folders/{id}
Body
Favorite, archive and share
One route each, for every kind of item. Archiving is reversible; deleting is a separate call on each resource.POST /favorite
POST /favorite
Body
POST /archive
POST /archive
Body