How to assign a session to a track or type

How to assign a session to a track or type

Use this guide when you need to update the track or type classification of an existing session.


What you'll need before starting

What you need

Where to get it

Track ID

GET /api/v2/sessions/getTracks?event_id=

Type ID

GET /api/v2/sessions/getTypes?event_id=


Request — update both at once

Bash
curl -X POST "https://your-event-domain.com/api/v2/sessions/set" \
  -H "Authorization: Bearer your_api_key_here" \
  -F "event_id=7" \
  -F "id=42" \
  -F "track=3" \
  -F "type=4"

Notes

  • track accepts a numeric track ID

  • type accepts either a numeric type ID or a type name string

  • Both can be updated in the same request or independently