Base URL
All API URLs are relative to the following base URL:Authentication
The Tusk Analytics API uses API keys to authenticate requests. You can create and manage your API keys in your Tusk settings. Your API key should be included in all API requests in thex-api-key header.
Versioning
The API is versioned, and the current version isv1. If we introduce breaking changes, we will release a new version of the API.
Common Query Parameters
Most analytics endpoints support the following query parameters for filtering data.Errors
The Tusk Analytics API uses conventional HTTP response codes to indicate the success or failure of a request:2xxresponse codes indicate success.4xxresponse codes indicate an error with the information provided (e.g., a required parameter was omitted).5xxresponse codes indicate an error with Tusk’s servers.