x-api-key header of every authenticated request. Your key identifies your account, determines your plan limits, and (on Pro+ plans) lets you attribute usage across multiple keys. For agent connectors, the MCP server also supports OAuth 2.1 — see Connect a Client.
API Key Format
All Blink PDF API keys start with the prefixbp_ followed by a unique alphanumeric string. You can recognise a production key at a glance:
Sending the x-api-key Header
Include your API key in thex-api-key header on every authenticated request:
curl:
Getting Your API Key
You can create, view, and revoke API keys from the Blink PDF dashboard: https://app.blinkpdf.io Navigate to Settings → API Keys to generate a new key. You can create multiple keys — for example, one per environment or one per service — and revoke individual keys without affecting the others.API keys are shown in full only at creation time. Copy and store your key securely before closing the dialog — you will not be able to retrieve it again.
Per-Key Usage Attribution
On Pro+ plans, each API key carries its own usage attribution. This means you can track how many renders each key has performed independently, which is useful when you manage multiple environments (development, staging, production) or multiple services that each call the render endpoint.Per-key usage reporting is a Pro+ feature. On lower-tier plans, all keys share a single usage counter tied to your account.
Authentication Errors
If your request cannot be authenticated or authorised, the API returns one of the following errors:
A
401 response always means the API could not verify your identity. Check that you are including the x-api-key header and that the key value starts with bp_. A 402 response means your key is valid but the plan’s spend cap has been reached — raise the spend cap or upgrade your plan at https://app.blinkpdf.io to continue rendering.