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!
https://api.understory.io/
Combination of language and country/region. The format is a lowercase ISO 639-1 language code followed by an optional hyphen and an uppercase ISO 3166-1 country code.
If no value matches what is available in the host's Storefront, an error response is returned.
You can optionally provide multiple language-country pairs with a priority, separated by commas based on content negotation.
https://api.understory.io/v1/experiences
curl -i -X GET \
'https://api.understory.io/v1/experiences?cursor=string&limit=100' \
-H 'Accept-Language: en-GB; q=1.0, en-US; q=0.8' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
OK
This is a regular experience, i.e., is not a shared experience.
The cutoff time for booking an event.
Indicates the reference point of the cutoff time.
Contain any questions to be asked to the guest during checkout.
Array of languages the experience is offered in.
Elements are two-letter ISO 639-1 langauge code format.
Media attached to the experience.
Detailed price information for the experience.
All the variants of tickets offered for the experience.
Addons that can be selected for the variant.
The price of the addon.
Array of tag IDs that are associated with the experience.
Tags are used to categorize and filter experiences.
Describes the visibility of the experience.
If visibility is set to PRIVATE
it should not be listed in public places like pages, widgets. Private experiences are used to allow for booking events by hosts them selves, e.g. private tours.
Information about what is included in the experience. In bullet point or numbered format with each point seperated by a new line character.
Indicates unit of an experience.
Depending on the type
, the following options are available:
SINGLE
=> Tickets sold individually.GROUP
=> Tickets sold in a range defined by min_participants
and max_participants
.Indicates unit of an experience.
Depending on the type
, the following options are available:
SINGLE
=> Tickets sold individually.GROUP
=> Tickets sold in a range defined by min_participants
and max_participants
.{ "next": "string", "items": [ { … } ] }
Combination of language and country/region. The format is a lowercase ISO 639-1 language code followed by an optional hyphen and an uppercase ISO 3166-1 country code.
If no value matches what is available in the host's Storefront, an error response is returned.
You can optionally provide multiple language-country pairs with a priority, separated by commas based on content negotation.
https://api.understory.io/v1/experiences/{experienceId}
curl -i -X GET \
'https://api.understory.io/v1/experiences/{experienceId}' \
-H 'Accept-Language: en-GB; q=1.0, en-US; q=0.8' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
OK
This is a regular experience, i.e., is not a shared experience.
The cutoff time for booking an event.
Indicates the reference point of the cutoff time.
Contain any questions to be asked to the guest during checkout.
Array of languages the experience is offered in.
Elements are two-letter ISO 639-1 langauge code format.
Media attached to the experience.
Detailed price information for the experience.
All the variants of tickets offered for the experience.
Addons that can be selected for the variant.
The price of the addon.
Array of tag IDs that are associated with the experience.
Tags are used to categorize and filter experiences.
Describes the visibility of the experience.
If visibility is set to PRIVATE
it should not be listed in public places like pages, widgets. Private experiences are used to allow for booking events by hosts them selves, e.g. private tours.
Information about what is included in the experience. In bullet point or numbered format with each point seperated by a new line character.
Indicates unit of an experience.
Depending on the type
, the following options are available:
SINGLE
=> Tickets sold individually.GROUP
=> Tickets sold in a range defined by min_participants
and max_participants
.Indicates unit of an experience.
Depending on the type
, the following options are available:
SINGLE
=> Tickets sold individually.GROUP
=> Tickets sold in a range defined by min_participants
and max_participants
.{ "is_shared": false, "status": "ACTIVE", "id": "string", "company_id": "string", "cutoff": { "relative_to": "BEFORE_EVENT_START", "duration": "PT2H30M" }, "name": "string", "practical_info": "string", "what_is_included": "string", "metadata": { "created_by": "string" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "location_ids": [ "string" ], "languages": [ "en" ], "media": { "primary_image": { … }, "cover": [ … ] }, "price": { "display_variant_id": "9f552162-e05e-4119-83b2-73c1c7bb1466", "variants": [ … ] }, "information_requests": [ { … } ], "capacity": 0, "capacity_unit": { "type": "SINGLE", "name": "string" }, "tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "visibility": "PUBLIC" }