Skip to main content
POST
/
api
/
run
/
meetings
/
stream
/
index
/
generateParticipantTokenPublic
generateParticipantTokenPublic
curl --request POST \
  --url https://connvo-dev.convex.cloud/api/run/meetings/stream/index/generateParticipantTokenPublic \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "args": {
    "meetingId": "meeting_123example",
    "role": "participant"
  }
}'
{
  "status": "success",
  "errorMessage": "",
  "errorData": {},
  "value": {
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "userId": "user_workos_123",
    "user": {
      "id": "user_workos_123",
      "name": "Alice Johnson",
      "image": "https://example.com/avatars/alice.jpg"
    },
    "expiresAt": 1704070800,
    "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