API keys
API keys allow external applications to authenticate with the Fanhaven API.Creating an API key
Give the key a descriptive name (e.g., “Warehouse System Integration”) so you can identify it later.
API key scopes
API keys are scoped to:- Artist level — Access to a specific artist’s data
- Tour level — Access to a specific tour’s data
Revoking a key
If a key is compromised or no longer needed:- Go to the Developers page
- Find the key in the list
- Click Revoke
- The key is immediately invalidated
Webhooks
Webhooks send real-time notifications to external URLs when events happen in Fanhaven.Setting up a webhook
Webhook security
Each webhook endpoint has a signing secret that you can use to verify that incoming requests are genuinely from Fanhaven:- When the webhook is created, a signing secret is generated
- Each webhook request includes a signature header
- Your server verifies the signature using the secret
Webhook delivery
- Webhooks are sent as HTTP POST requests with a JSON payload
- If your endpoint returns a non-2xx status code, Fanhaven retries the delivery
- Failed deliveries are logged and visible in the Developers section
Use cases
| Integration | How to build it |
|---|---|
| Warehouse management | Webhook on inventory changes → update your WMS |
| Custom analytics | Webhook on transactions → feed into your data warehouse |
| CRM sync | Webhook on fan creation → create a contact in your CRM |
| Notifications | Webhook on high-value transactions → alert in Slack |
For most teams, the built-in integrations (Shopify, Instagram) and dashboard features are sufficient. The Developers section is for teams with custom technical needs or existing systems that need to receive Fanhaven data in real time.

