Skip to main content

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 to
API keys are scoped: they only grant access to the specific endpoints requested. If you need additional access later, contact the team to update your key’s permissions.

Key lifecycle

---## Environments
The alpha environment contains test data only. Events, tickets and payments created there do not appear in production and vice versa. Always validate your integration against alpha before switching to production.
You can verify your API key is working against the correct environment by calling the channels endpoint:
A successful response returns the channels associated with your key:
---## Pagination Most list endpoints return paginated results. Common query parameters:
For incremental syncs, always use date_field=updated_at together with a narrow start_date/end_date window to avoid re-fetching unchanged records.
---## 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.