Request Headers
OAuth access token: Authorization: Bearer <access_token>
API key: X-API-KEY:
Sending both headers returns 400. A missing or invalid credential returns 401.
Choosing an organization: X-API-ORG
OAuth tokens can reach more than one property. Send the X-API-ORG header to choose the property for the request. We recommend sending X-API-ORG on every request.
GET https://api.eventtemple.com/v2/bookings
Authorization: Bearer <access_token>
X-API-ORG: <api_org_id>
Notes
- Call GET /v2/organizations to list every property in your chain with its API Org ID.
- Creating bookings, accounts, contacts, notes, tasks and payments requires an organization. Without one, you get 400 "This endpoint requires an organization"
- On list endpoints, leaving out X-API-ORG returns records from every property you can access. Include it when you only want one property.
- An unknown API Org ID, or one your credential can't access, returns 401 "invalid organization".
Access tokens (client credentials)
See OAuth 2.0 Client Credential Grant Flow and
Updated 41 minutes ago
Did this page help you?
