401 Response


PSPDFKit Server has been deprecated and replaced by PSPDFKit Document Engine. All PSPDFKit Server and PSPDFKit for Web Server-Backed licenses will work as before and be supported until 15 May 2024 (we will contact you about license migration). To start using Document Engine, refer to the migration guide. With Document Engine, you’ll have access to robust new capabilities (read the blog for more information).

Make sure you’ve set the Authorization header to Token token=<secret>, where <secret> is the API authentication token you have set in your docker-compose.yml file with the API_AUTH_TOKEN environment variable.

❗Important: The server API should only be accessed from your backend servers and not by the clients. Giving the API authentication token to clients is a security concern. More information about how PSPDFKit Server is secured can be found in the PSPDFKit Security guide.