Base URL
All API requests should be made to:Authentication
The Tomorro API uses API keys for authentication. Include your API key in thex-api-key header with every request.
Get your API key
Generate an API key from your organization settings.
Terminology
Response Format
All responses are returned in JSON format. Successful responses wrap the data in adata field:
Pagination
List endpoints use cursor-based pagination for efficient traversal of large datasets.Parameters
Response
Paginated responses include apagination object:
Example: Fetching pages
Sorting
Use thesort parameter to order results. Prefix with - for descending order.
Filtering
The API uses a simplified filtering format. Use query parameters directly.Filter Operators
On
GET /contracts, contractTypeId applies to one contract type UUID per request. Using in: with several UUIDs (for example contractTypeId=in:uuid1,uuid2) is not supported for multiple types; make one request per contract type and merge the results client-side.
Examples
Error Handling
The API uses standard HTTP status codes to indicate success or failure.Status Codes
Error Response Format
Common Error Codes
Rate Limiting
The API implements rate limiting to ensure fair usage. If you exceed the rate limit, you’ll receive a429 Too Many Requests response.