To retrieve participants for a specific session within Demio using the API, you must utilize session-specific identifiers known as date_id. Each session in Demio is associated with a unique date_id, or what we call a Session ID, which allows you to target data for that particular session.
Overview of Demio API and Session-Specific Data
Demio provides API endpoints designed to retrieve data at both event and session levels. When working with recurring events, each session is distinguished by a unique date_id. This identifier is vital for making API calls to retrieve session-specific information, such as attendee details. This Session ID can also be provided by reaching out to our Support team. Please refer to Demio’s API Documentation. This provides comprehensive guidance on available endpoints and response formats.
Steps to Retrieve Participants for a Session
To get the list of participants for a session:
Obtain the date_id: Locate the specific date_id for the session of interest. You can find this in the Demio backend or by querying relevant endpoints in the API.
Access the API endpoint: Navigate to Demio’s API documentation and locate the endpoint for retrieving participant lists. Specific endpoints are designed for different statuses.
Make an API Request: Use the date_id as a parameter in your API request to specify the session whose data you wish to retrieve. - For example, if using an endpoint for participants, structure your query to include the date_id.
Retrieve and Process Data: Once you submit your API request, you’ll receive data about attendees specific to the session identified by the date_id. Process this information in your system as needed.