Required headers
Every request needs two headers:| Header | Value | Required |
|---|---|---|
Authorization | Bearer YOUR_API_KEY | Always |
Version | 2021-07-28 | Always |
Content-Type | application/json | POST / PUT / PATCH only |
Get your API key
You generate your API key in Settings > Integrations > Private Integrations in your HoopAI dashboard.Step-by-step: Create an API key
Create a Private Integration key in under 2 minutes
Get your Location ID
Your Location ID scopes requests to your account. Find it at Settings > Business Profile — it’s displayed at the top of the page.Find your Location ID
Where to find your Location ID
Security best practices
- Never commit your API key to version control — use environment variables
- Create separate keys for development and production
- Rotate keys immediately if you suspect exposure
- Select only the scopes your integration needs
Verifying webhook signatures
When HoopAI sends webhooks to your server, always verify the request came from HoopAI before processing it. See Webhook Signatures for details.Next steps
First request
Make your first API call
Making requests
Pagination, filtering, error handling