API Keys
Why You Would Use This
Section titled “Why You Would Use This”API keys authenticate requests to the HookBridge API. You can issue separate keys for different services so rotation and revocation are low-risk.
Console Workflow
Section titled “Console Workflow”- Open API Keys.
- Click Create API Key and add a label.
- Copy the key immediately and store it in your secret manager.
- Review key usage metadata in the list.
- Delete keys that are no longer required.
API Workflow
Section titled “API Workflow”# List API keyscurl https://api.hookbridge.io/v1/api-keys \ -H "Authorization: Bearer YOUR_API_KEY"
# Create API keycurl -X POST https://api.hookbridge.io/v1/api-keys \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"label":"worker-service"}'
# Delete API keycurl -X DELETE https://api.hookbridge.io/v1/api-keys/YOUR_KEY_ID \ -H "Authorization: Bearer YOUR_API_KEY"Safe Handling
Section titled “Safe Handling”- Treat keys like passwords.
- Never store keys in source control or client-side code.
- Use one key per service so compromised keys can be revoked without broad impact.
Personalize Examples
Enter your credentials to populate code examples throughout the docs.