Headers
This section describes the headers expected by the Thanx API.
All Thanx Loyalty API endpoints are protected and must be authorized via end
user access tokens. These access tokens can be retrieved through an
integration with Thanx SSO. The format of the header should be: Bearer access_token
. Some endpoints don’t require a user to be signed in; these are
called out in their separate sections.
Example: Bearer d6d6533c5ab9b528526f3e48a51e90b62
The only accepted value is application/json
or empty if no body
The Accept-Version header specifies which version of the Thanx API that should be used. The current version is v4.0. This header is required for every request. Thanx will notify you when a new API version is available.
Example: v4.0
The only accepted value is application/json
Thanx will provide you with this value.
Example: f050d74b5c2b12ae17c85bd510addd7ba2