cURL
curl --request POST \ --url https://connvo-dev.convex.cloud/api/run/meetings/webrtc/rooms/generateParticipantAccessToken \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "args": { "meetingId": "me_active12345", "sessionId": "session_host_live" } } '
{ "status": "success", "errorMessage": "", "errorData": {}, "value": { "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.participant-token", "provider": "webrtc", "roomId": "room_live_9f3c2a", "participantId": "session_host_live", "permissions": { "canRecord": true, "canMute": true, "canKick": true, "canShare": true }, "success": true } }
Calls a action at the path meetings/webrtc/rooms.js:generateParticipantAccessToken
Standard user authentication token issued via WorkOS. Provide as Authorization: Bearer <user-token>.
Authorization: Bearer <user-token>
Show child attributes
Convex executed your request and returned a result
success
error