How to add sessions to a participant's schedule

How to add sessions to a participant's schedule

Use this guide when you need to add one or more sessions to a participant's personal schedule (My Schedule) for an event.


What you'll need before starting

What you need

Where to get it

Participant account ID

GET /api/v2/account/get or GET /api/v2/participants/{eventId}/list

Session ID(s)

Returned as id in the response of POST /api/v2/sessions/set, or retrieved via GET /api/v2/sessions/getSession


Request — add a single session

Bash
curl -X POST "https://your-event-domain.com/api/v2/account/setSessions" \
  -H "Authorization: Bearer your_api_key_here" \
  -F "id=12345" \
  -F "event_id=7" \
  -F "sessions=42"

Request — add multiple sessions at once

Bash
curl -X POST "https://your-event-domain.com/api/v2/account/setSessions" \
  -H "Authorization: Bearer your_api_key_here" \
  -F "id=12345" \
  -F "event_id=7" \
  -F "sessions=42,55,63"

Response

JSON
{
  "code": 200,
  "data": {
    "id": 12345,
    "status": "Session with ID 42,55,63 was added to account 12345 succesfully"
  },
  "response_id": "1700000000.12345"
}

Notes

  • Multiple session IDs must be passed as a comma-separated string: sessions=10,11,12

  • If a session is already in the participant's schedule, it is skipped with a non-fatal error — other sessions in the same request are still added

  • To remove sessions from a schedule, use DELETE /api/v2/account/deleteSessions