API keys
Every request is authenticated with a Bridgly API key. A key looks like this:Authorization header:
Managing keys
Keys are managed from the API Keys page of your dashboard:1
Create
Click Create key, give it an optional name, and copy the value shown.
2
Use
Add it to your app as an environment variable and send it on every request.
3
Revoke
Delete a key from the dashboard when it is no longer needed or may be
compromised. Revocation takes effect within moments.
Keeping keys safe
Keep keys server-side
Never ship a key in a browser, mobile app, or public repository. Anyone with
the key can spend your credits.
Use one key per service
Separate keys make it easy to rotate or revoke one without disrupting the
rest of your integration.
Rotate periodically
Create a new key, switch your app over, then revoke the old one.
Revoke on exposure
If a key leaks, delete it immediately from the dashboard.
Errors
A missing, malformed, or revoked key returns401 Unauthorized:
402 Payment Required. Top up
from the Billing page of your dashboard. See
Responses & errors for the full list of status codes.