website logo
⌘K
Getting Started
Overview
Creating Your Account
Testing sanctions.io
Implementation
Implementation Guide
Best Practices
API Reference
Authorization & API Version
API Endpoints
Solutions
Manual Batch Screening
Sanctions Screening for SAP®
Sanctions Screening for BigID®
Integrating with Low-Code Tools
Changelog
Resources
FAQs
Sanctions & Watchlists
Legal Documents
Customer Support
Docs powered by archbee 
5min

Authorization & API Version

Authorization

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.

Header

content

Authorization:

Bearer d125656564545545exchjhjhj5f

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.

API Version

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:

Header

content

Accept:

application/json; version=2.1

API request with Authorization and Accept headers




UP NEXT
Create Search Request
Docs powered by archbee 
API request with Authorization and Accept headers