Skip to main content
POST
/
api
/
run
/
meetings
/
webrtc
/
rooms
/
generateParticipantAccessToken
generateParticipantAccessToken
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
  }
}

Authorizations

Authorization
string
header
required

Standard user authentication token issued via WorkOS. Provide as Authorization: Bearer <user-token>.

Body

application/json
args
object
required

Response

Convex executed your request and returned a result

status
enum<string>
required
Available options:
success,
error
errorMessage
string
errorData
object
value
object