REST API overview
Base address, formats and conventions of the Indrava REST API.
Base address
All routes are under /api/v1 on your Indrava API address:
http://localhost:4000/api/v1The API also serves its own description:
Address | What |
|---|---|
| The OpenAPI document |
| A reference page built from that document |
The API reference in this space is built from the same document, the operations page adds the scope and MCP tool name of each operation, and Scopes lists the operations each scope opens.
Conventions
Send
Authorization: Bearer <token>on every request. See Authentication.Request and response bodies are JSON. Send
Content-Type: application/jsonwith a body.Times are ISO 8601 in UTC, such as
2027-01-31T09:00:00Z.Ids are opaque strings.
Query parameters that take a list are written with brackets:
status[]=draft&status[]=failed.Everything is scoped to the workspace of the key or token. There is no workspace id in the path.
Paging
Lists return the newest items first, as a plain array. Where a list takes cursor, pass the id of the last item of the page you have, with the same limit; a page shorter than limit is the last one. GET /posts returns at most 500 posts per call.
Files
POST /media/upload on the API address (not under /api/v1) takes multipart/form-data with one file, the same bearer token and the media:write scope. POST /api/v1/media/import fetches a file from a public URL instead. Both answer with an id that a post takes in mediaIds.
Retries
Send an Idempotency-Key header with POST /posts when creating a post. A second request with the same key returns the first post instead of making another.
What the API covers today
Channels (connect, pause, rename, remove), posts and recurring series, media, approvals and review links, comments, the inbox, tags, channel sets, signatures, posting slots and the queue, feeds, short links, automations, reports and analytics. Clients can be listed. Managing clients, members, billing, settings and API keys is done in the app, and so are the AI assistant, evergreen posts and link-in-bio pages. The operations page is generated from the API's own routes, so it is the complete list.
There is a typed client for Node and the browser in the packages/sdk folder of the Indrava repository. It is not on npm yet.
Limits and errors
See Rate limits and Errors.