Authentication

How to create and use API keys.

Sample docs page. Replace with your real documentation.

All API requests authenticate with a bearer API key.

Create a key

Generate a key in your dashboard under Settings → API keys. Treat it like a password — never commit it to source control.

Use it

const client = new PDFLove({ apiKey: process.env.PDFLOVE_KEY });

Keys are scoped per environment, so use separate keys for development and production.