PSPDFKit API uses an HTTP authentication header to map each request made to the API to the user making the request. You’re required to provide your API token in the authentication header with each request you make. Otherwise, an error will be returned by the API.

The authentication header has the following shape:

Authorization: Bearer your_api_key_here

your_api_key_here can be either your live API key or your test API key.