Every request to our API must include an Accept header to specify the desired version of the API. This header is mandatory for all requests, and failure to include it will result in an error response from the API.

How to specify the API version in the Accept header

The Accept header should be formatted as follows:

Accept: application/json; version={version}

Where {version} should be replaced with the desired version number.

For example, to request version 1 of the API, the Accept header should be:

Accept: application/json; version=1