title: “Requirements & Constraints” description: “Authentication, environments, pagination, rate limits and conditional fields for the Integrations API.” ---## Authentication All requests must include your API key in the
X-Api-Key HTTP header:
Getting an API key
API keys are provisioned by the Fourvenues team. To request one, contact integrations@fourvenues.com and include: - Your venue name(s) and Fourvenues account email - The integration you are building (e.g. “custom check-in scanner”, “BI dashboard”) - The endpoints you need access toKey lifecycle
---## Environments
You can verify your API key is working against the correct environment by calling the channels endpoint:
---## Conditional required fields
Some endpoints have fields that become required depending on context.
Check-in endpoint (PUT /integrations/tickets/{id}/checkin)
Bookings (GET /integrations/bookings/)
---## Rate limits
The Integrations API does not publish explicit rate limit values, but the following guidelines apply:
- Polling intervals: Do not poll any endpoint more than once per minute. For check-in pre-loading, every 5 minutes is recommended.
- Burst requests: Avoid sending more than 10 requests per second from a single key.
- 429 responses: If you receive a
429 Too Many Requests, implement exponential backoff before retrying.
---## Common errors
---## Security considerations
- Never expose your API key in client-side code (browser JavaScript, mobile apps). Always route requests through your backend.
- Rotate keys regularly — contact the team to issue a new key and invalidate the old one.
- Use HTTPS — all API endpoints require HTTPS. HTTP requests will be rejected.