Base URL
All API requests should be made to the following base URL:URL Structure
The API URLs follow a consistent pattern:Components
All Public API therefore follow this URL format:
Example URLs
HTTP Methods
The API uses standard HTTP methods to perform different actions:Method and URL Mapping
The HTTP method and URL structure work together to define the operation:Request Format
Headers
All requests should include the following headers:Request Body
ForPOST and PATCH requests, data should be sent as JSON in the request body:
Query Parameters
ForGET requests, parameters are passed in the URL query string:
Response Format
All API responses are JSON objects with a consistent structure:Success Responses
Successful responses include:- HTTP status code in the 200 range
datafield containing the requested resource(s)messagefield with a success message
Error Responses
Error responses include:- HTTP status code in the 400 or 500 range
errorfield with the error typemessagefield with a description of the errorapi_request_idfield for reference when contacting support
HTTP Status Codes
The API uses standard HTTP status codes to indicate the result of a request:Data Types
The API uses standard JSON data types:Date and Time Format
All date and time values in the API use the format below:"2023-09-15 14:30:00"
When filtering by dates, you can use:
- Format:
2023-09-15 14:30:00 - Date only:
2023-09-15

