Documentation Playground
Docs / Authentication
Authentication

API Authentication

All public API calls to the PdfKong conversion endpoints require Bearer token authorization to identify client accounts and check credits. Authenticated calls must include the standard Authorization header containing your private API key.

Required Header

Include this header in every API request you make.

Authorization: Bearer YOUR_SECRET_API_KEY

Important Security Notice

Even when running conversions in Sandbox Mode (sandbox=true), you must still send a valid Authorization token in your API request. The sandbox option merely prevents your wallet balance from being charged and adds a watermark.