Browse Platform API
Platform APIEnterprise

Get a meeting token

Copy

Issue real-time audio and video connection details for a specified meeting participant.

HTTP request

POST {API_ADDRESS}/rtc-meeting/get_meeting_token

Request example

curl --request POST "${API_ADDRESS}/rtc-meeting/get_meeting_token" --header "Content-Type: application/json" --header "operationID: ${OPERATION_ID}" --header "token: ${TOKEN}" --data-raw '{"meetingID":"meeting_001","userID":"user_001"}'

Request body

ParameterRequiredTypeDescription
meetingIDYesstringMeeting ID.
userIDYesstringParticipant for whom the token is issued.

Response

data.meetingID identifies the meeting and data.liveKit contains the LiveKit URL and participant token.

Errors

See Error codes.

Permissions and limits

  • Available only in OpenIM Enterprise.
  • Authenticate the participant before issuing the token and return it only to that participant.