Base URL
All API requests are made to the following base URL:v1) is included in the URL path. When Chevre introduces a new major version, the old version remains available so your integrations are never broken without notice.
API Characteristics
REST
Uses standard HTTP methods —
GET, POST, PATCH, and DELETE — to perform operations on resources.JSON
All request and response bodies use JSON. Set
Content-Type: application/json on every request that sends a body.Authentication
Every request must include a Bearer token in the
Authorization header. See the Authentication page for details.Versioning
The current API version is
v1. The version is embedded in the URL path, so you always know exactly which contract you’re calling.Request Format
Include your API key in theAuthorization header and set the Content-Type header to application/json on any request with a body.
Response Format
All successful responses return a JSON object. List endpoints wrap results in adata array and include a meta object with pagination details.
Pagination
All list endpoints supportpage and per_page query parameters. The meta object in every list response includes next and prev links so you can navigate through results without constructing URLs manually.
Error Responses
Chevre uses standard HTTP status codes to indicate success or failure. When a request fails, the response body contains anerror object with a machine-readable code, a human-readable message, and the HTTP status.
Error Code Reference
Explore the API
Authentication
Learn how to generate API keys, set scopes, and authenticate every request.
Rate Limits
Understand request limits, response headers, and how to handle 429 responses gracefully.
Workspaces
Create and manage workspaces, members, and workspace-level settings.
Projects
Create projects, assign members, and manage project-level automations.