Skip to content

Authentication

Every time a request is issued, an API token needs to be provided in the authentication header. Otherwise, the API will return an error.

The authentication header has the following shapes:

http
x-api-key: your_api_public_key_here

You can complete authentication by directly setting x-api-key in the request header to the project's Public Key (you can obtain the Public Key in the API Key section of the ComPDF API console).