Base URL
Authentication
Authenticate every request by including your API key in thex-api-key header:
Request & response format
All request bodies must beapplication/json (except file uploads which use multipart/form-data).
Every response follows a consistent envelope:
HTTP status codes
| Code | Description |
|---|---|
200 | Request succeeded |
201 | Resource created |
400 | Bad request — invalid parameters |
401 | Unauthorized — missing or invalid API key |
403 | Forbidden — insufficient permissions |
404 | Not found — resource doesn’t exist |
429 | Too many requests — rate limited |
500 | Internal server error |
Rate limiting
API requests are rate-limited. Inspect these response headers to monitor your usage:| Header | Description |
|---|---|
X-RateLimit-Limit | Max requests per window |
X-RateLimit-Remaining | Requests remaining |
X-RateLimit-Reset | Time when the window resets |
X-RateLimit-Reset.
Pagination
List endpoints use cursor-based pagination for consistent performance:| Parameter | Type | Description |
|---|---|---|
limit | number | Max items per page (default 20) |
cursor | string | Cursor from a previous response to fetch the next page |
nextCursor and hasNextPage to indicate whether more data is available.
