Bookings related endpoints.
Understory API
This is the reference documentation for the Understory API. Here you can find detailed information about the API endpoints, request and response formats, and authentication methods.
For more general information, go to Documentation.
You’re exploring an early preview of the Understory API documentation. Take a look around and see what’s available.
Want to help us test and improve it? Share your feedback by clicking the chat icon in the bottom right. We’d love to hear your thoughts!
Event Availability
Query availability for events.
Event availability is a computed value based on a number of parameters, including:
- Event capacity and current reservations
- Resources linked to tickets and bookings (e.g., bikes, kayaks, equipment)
- Booking cut-off time
The availability response includes both an overall availability status and a breakdown of individual constraints, allowing you to understand exactly what factors are limiting availability for a given event.
- https://api.understory.io/v1/events
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.understory.io/v1/events?cursor=string&limit=100&from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "next": "string", "items": [ { … } ] }
- https://api.understory.io/v1/events/{eventId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.understory.io/v1/events/{eventId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "id": "string", "state": "ACTIVE", "visibility": "PUBLIC", "experience_id": "string", "capacity": { "total": 0, "reserved": 0 }, "sessions": [ { … } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "metadata": { "key1": "value1", "key2": "value2" } }