GET sessions/getTypes

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

event_id

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

id

integer

The session type ID

title

string

The session type label

last_update

integer

Unix timestamp of the last modification


Error Responses

HTTP Code

Condition

Error Message

400

event_id is missing

Missing required parameter: event_id

400

event_id is not a valid integer

Param must be a integer: event_id

400

Event not found

Could not find an event with id = <event_id>

403

Missing or invalid API key

Forbidden


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"