GET /api/v2/sessions/getTypes
Returns all session types for a given event.
Authentication
Authorization: Bearer <your_api_key>
Endpoint
GET /api/v2/sessions/getTypes
Query Parameters
|
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
|
integer |
Yes |
The ID of the event to retrieve session types for |
Response Format
Success Response (HTTP 200)
The data field contains an array of session type objects.
Session Type Object Fields
|
Field |
Type |
Description |
|---|---|---|
|
|
integer |
The session type ID |
|
|
string |
The session type label |
|
|
integer |
Unix timestamp of the last modification |
Error Responses
|
HTTP Code |
Condition |
Error Message |
|---|---|---|
|
400 |
|
|
|
400 |
|
|
|
400 |
Event not found |
|
|
403 |
Missing or invalid API key |
|
Example Request
Bash
curl -X GET "https://your-event-domain.com/api/v2/sessions/getTypes?event_id=7" \
-H "Authorization: Bearer your_api_key_here"