Get the Token for Accessing Live Media
Use the get live media token request to obtain the access token required to get live media, to listen to ongoing calls in realtime.
Endpoint
Method: GET
URL: /media/live/token
Query Parameters
Parameter Name | Data Type | Description | Required/Optional |
---|---|---|---|
| String | The ID of the live conversation to get the live media for. | Required |
Response and Error Code
Response Code | Condition |
---|---|
200 | Ok |
Response Parameter
Parameter Name | Data Type | Description |
---|---|---|
| String | The token required to get the live media for a live conversation, using the get live media request. NoteThe token is usable up to 30 seconds after it is obtained, if the token is not used within 30 seconds, a new token must be obtained. |
Sample Response
{ "token": "e5aed2b3-fc7c-4f28-111a-914fd4542ca5" }