Content Type
Write operations use the JSON-API media type:application/json is not accepted for POST and PATCH operations.
For GET requests, the API also accepts:
application/json payloads instead of JSON-API resources. Webhook deliveries are always sent as application/json.
Resource Objects
Every API response wraps data in a JSON-API resource object:"data": [...] as an array.
Common Headers
Tenant Context
Admin API requests require an organization context. Pass it as a query parameter:- The
tenantclaim in the JWT (if present), or - The
oquery parameter
?o={organization_id}.
Including Related Resources
Use theinclude parameter to sideload related resources in a single request, avoiding N+1 round-trips:
included array:
Each resource type defines its own set of allowed include paths. Requesting an unsupported path returns a
400 error.Sparse Fieldsets
Request only the attributes you need to reduce payload size:Filtering
Filter collections using thefilter query parameter.
Simple Filters
Multiple Values
Repeat the filter key with[] to pass multiple values as an OR condition:
Date Range Filters
Range filters use nestedfrom and to keys:
Search
Full-text search across indexed fields:Custom Field Filters
Filter by custom field values using the field’s UUID:Available filters vary per resource. Requesting an unsupported filter returns a
400 error.Sorting
Sort results with thesort parameter. Prefix with - for descending:
Each resource type defines its allowed sort parameters. The default sort varies per resource.
Pagination
The API uses offset-based pagination:Response Metadata
Paginated responses include navigation links:Creating and Updating Resources
- Create (POST)
- Update (PATCH)