Authentication
API keys
The Prolifi Public API uses Bearer token authentication. Every request must include an Authorization header with a valid API key.
You can generate and manage API keys from the API Settings page in the Prolifi dashboard.
Key types
Prolifi issues two types of API keys, each with different permissions:
Secret keys grant full write access to your account. Never expose secret keys in client-side code, public repositories, or browser-accessible bundles. If a secret key is compromised, rotate it immediately from the dashboard.
Environments
Each API key pair operates in one of two modes:
Live mode must be explicitly enabled for your account before live keys will authenticate. Using a live key before activation returns a 403 error.
Public key restrictions
Public keys (pk_*) are restricted to read-only operations. Any POST, PATCH, PUT, or DELETE request made with a public key returns a 403 error:
This makes public keys safe for use in client-side code where you only need to fetch plans or check entitlements.