API usage

API v2

The API v2 provides pagination, consistent snake_case JSON fields, and well-defined response structures.

Base URL: /api/v2

Key features:

See the Swagger documentation for the full list of endpoints and their parameters.

Authentication

You must enable API access for your user, and copy the API key. You can use the API key as a query parameter (?api-key=${API_KEY}) or as a header (Authorization: Bearer ${API_KEY}).