Skip to content
ComPDF

Authentication

Every request must include the API token in the authentication header. Otherwise, the API returns an error.

The authentication header has the following format:

http
x-api-key: your_api_public_key_here

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