Authorization & API Version
The API can only be accessed with a valid API token which needs to be passed along requests using the Authorization header. The token can be found in our sanctions.io customer portal.
For the time being, the token can also be sent in the URL parameters. Please note that this is less secure and hence we encourage you to use the Authorization header.
The desired API version needs to be passed on using the Accept header. Without the Accept header, API version 1.0 will be used by default. Our most current API version is 2.1 (November 2022).
Please note that the default API version will be changed to version 2.1 in April 2023! Hence we strongly advise defining the API version in the header to ensure the upcoming change won't impact your production systems!
The header should be sent in the following format: