Get an event by its ID.
Security
OAuth2(Required scopes: event.read)
- https://api.understory.iohttps://api.understory.io/v1/events/{eventId}
curl -i -X GET \
'https://api.understory.io/v1/events/{eventId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'OK
The lifecycle state of the event.
ACTIVE— bookable; the default operational state. A host closing the event's date to new bookings leaves itACTIVE: Get Event Availability tells whether the event can be booked now.INACTIVE— not currently bookable. Can transition back toACTIVE.CANCELLED— terminal. The event was cancelled and cannot be made bookable again.COMPLETED— terminal. The event's sessions have all elapsed.UNKNOWN— defensive default; should not appear on a correctly configured event.
Enum:"ACTIVE""INACTIVE""CANCELLED""COMPLETED""UNKNOWN"
Who can discover the event.
PUBLIC— discoverable through public listings and search.PRIVATE— accessible only via direct link or referral; not publicly discoverable.UNKNOWN— defensive default; should not appear on a correctly configured event.
Enum:"PUBLIC""PRIVATE""UNKNOWN"
The seat capacity of the event. Capacity is shared across all sessions: a single booking that attends every session counts once against reserved.
The sessions that make up the event, in chronological order.
An event has between 1 and 50 sessions; multi-session events are booked together as a single reservation that covers every session.
Response
{ "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" } }