Every request to the Events API must be authenticated with an API key. The key identifies your RevBridge account, so no separate customer ID header is needed.Documentation Index
Fetch the complete documentation index at: https://docs.revbridge.ai/llms.txt
Use this file to discover all available pages before exploring further.
Generating API keys
Create a new key
Click Create API Key, give it a descriptive name (e.g.,
production-backend, staging-etl), and confirm.Required headers
Every API request must include theAuthorization header:
| Header | Description | Example |
|---|---|---|
Authorization | Bearer token with your API key | Bearer rbk_a1b2c3d4... |
Example requests
cURL
cURL
JavaScript (fetch)
JavaScript (fetch)
Python (requests)
Python (requests)
Security best practices
- Never expose keys in frontend code. API keys should only be used from server-side applications. Client-side code (browsers, mobile apps) can be inspected by anyone.
- Use environment variables. Store keys in your secrets manager or
.envfiles — never hardcode them in source code. - Rotate keys periodically. Create a new key, update your systems, then revoke the old one. RevBridge supports multiple active keys to enable zero-downtime rotation.
- Use separate keys per environment. Create distinct keys for development, staging, and production so you can revoke one without affecting others.
- Restrict access. Only team members who need API access should have visibility into key values.
