Skip to main content
GET
/
api
/
v1
/
rooms
/
{roomId}
/
token
get ingest data (stream key or livekit token)
curl --request GET \
  --url https://apix.us.amity.co/api/v1/rooms/{roomId}/token \
  --header 'Authorization: Bearer <token>'
{
  "directStreamUrl": "<string>",
  "coHostToken": "<string>",
  "coHostUrl": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

roomId
string
required

Room ID

Maximum string length: 50

Response

ingest data for broadcasting

directStreamUrl
string

URL for direct streaming

coHostToken
string

Access token for co-hosts

coHostUrl
string

URL for co-hosts