How to assign moderators to a session
Use this guide when you need to assign one or more moderators to a session. The moderators[] parameter in POST /api/v2/sessions/set replaces the entire moderator list — so always pass the full desired list, not just the new additions.
Prerequisites
Account must have
moderator=trueset first. An account can only be assigned as a moderator on a session if they have already been registered as a moderator for this event viaPOST /api/v2/account/set.See the "How to enable an account as a moderator" guide under
POST account/set.
Request — assign moderators to an existing session
Bash
curl -X POST "https://your-event-domain.com/api/v2/sessions/set" \
-H "Authorization: Bearer your_api_key_here" \
-F "id=42" \
-F "moderators[]=18862" \
-F "moderators[]=18863"
Request — clear all moderators from a session
Bash
curl -X POST "https://your-event-domain.com/api/v2/sessions/set" \
-H "Authorization: Bearer your_api_key_here" \
-F "id=42" \
-F "moderators[]="
Full two-step workflow
Step 1: Register account as event moderator
POST /api/v2/account/set
→ event_id=7, email=alex.johnson@example.com, moderator=true
Step 2: Assign moderator to a session
POST /api/v2/sessions/set
→ id=42, moderators[]=18862
Notes
-
moderators[]is a full replacement — every update overwrites the current list -
moderators[]accepts account IDs (integers) or email addresses (strings) -
A single account can be both a speaker and a moderator on the same session