Base URL
Authentication
All API requests require authentication using an API key. Include your API key in theAuthorization header:
Creating an API Key
- Go to Settings → Developer API in your Relixir dashboard
- Click Create API key
- Give your key a descriptive name (e.g., “Production API Key”)
- Copy the key immediately - it will only be shown once
Interactive Documentation
Full interactive API documentation with request/response examples is available at:API Reference
Explore the full API with Swagger UI
Endpoints
Collections
List Collections
List Collections
Returns all internal (Relixir-owned) CMS collections for your organization.RequestQuery ParametersResponse
Example
Get Collection
Get Collection
Get details of a specific collection by ID.RequestExample
Content Items
List Items
List Items
Returns content items with optional filters.RequestQuery ParametersResponse
Example
Get Item
Get Item
Get a specific content item by ID.RequestExampleResponse
Get Item by Slug
Get Item by Slug
Get a content item by its slug. This is useful when you know the URL slug but not the item ID. Searches across all collections by default, or within a specific collection if Path ParametersResponse
collection_id is provided.RequestQuery Parameters
Example
Create Item
Create Item
Create a new content item in a collection.RequestRequest BodyResponse (201 Created)
Example
Update Item
Update Item
Update an existing content item.RequestRequest BodyAll fields are optional. Only include fields you want to update.
Example
Delete Item
Delete Item
Delete a content item and all its revisions.RequestExampleResponse: 204 No Content
Publish Item
Publish Item
Publish a content item, creating a new revision.RequestExampleResponse
Error Handling
The API uses standard HTTP status codes:
Error Response Format
Rate Limits
- 1000 requests per minute per API key
- 100 requests per second burst limit
429 Too Many Requests response.
API Key Scopes
API keys have the following scopes by default:Currently, all scopes are granted by default when creating an API key. Granular scope management will be available in a future update.
