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 |
|
|
Type 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
-
trackaccepts a numeric track ID -
typeaccepts either a numeric type ID or a type name string -
Both can be updated in the same request or independently