Production API endpoint URL:
https://api.paywalls.ai/v1Authentication
All requests to Paywalls API require authentication using your paywall’s API key.How it works
Each paywall in your account has a unique secret API key. This key identifies your paywall and ensures that only you can access and modify your data.- Keep your API key secure
- Rotate keys in your dashboard if needed
Adding the API key to requests
You must include your API key in theAuthorization header of every request to the paywalls.ai API:
Where to find your API key
- Log in to your Dashboard.
- Go to Paywalls section
- Copy the secret APY key for the paywall you want to integrate
Tips for API key usage
- Never commit your API key to public repositories.
- Use environment variables (process.env.YOUR_API_KEY) in your backend for secure usage.
- Periodically review and rotate keys to maintain security.