Skip to main content

Event sessions

How to get the event sessions

Use this service to Gets a list of sessions from an event identifier

Note: To use this service you need a valid event-id, to know how to obtain it check our Get Events Catalogue guide.

Let's get started with the example

Step-by-step examples

This guide shows how to get the sessions list from an event identifier.

Prerequisites!

You will need a valid OAuth access_token to be able to make each call! Please refer to our Authentication Guide to obtain one.

Get the event sessions list

With this simple call we can easily obtain the sessions list of an event using an event-id.

  • event-id: This parameter indicates the unique identifier of the event from which we will obtain the sessions list of the event.
curl --location --request GET 'https://gateway-pre.oneboxtickets.net/catalog-api/v1/events/{{event-id}}/sessions' \
--header 'Authorization: Bearer {{access_token}}'

In the link below you can review all the available query parameters and so can get a more specific sessions list of the event.

Link to get events Specification

The session-detail service

Now that we have the sessions list of the event and we can get the desired IDs of the sessions from the service response, we can follow the guide on how to use the session-detail service to obtain detailed information of each session.