Skip to main content
GET
/
api
/
open
/
v4
/
liveAvatar
/
session
/
detail
Get Session Info Result
curl --request GET \
  --url https://openapi.akool.com/api/open/v4/liveAvatar/session/detail \
  --header 'x-api-key: <api-key>'
{
  "code": 1000,
  "msg": "OK",
  "data": {
    "_id": "<string>",
    "uid": 123,
    "type": 123,
    "status": 1,
    "stream_type": "<string>",
    "credentials": {
      "agora_uid": 123,
      "agora_app_id": "<string>",
      "agora_channel": "<string>",
      "agora_token": "<string>",
      "livekit_url": "<string>",
      "livekit_token": "<string>",
      "livekit_room_name": "<string>",
      "livekit_server_identity": "<string>",
      "livekit_client_identity": "<string>",
      "trtc_sdk_app_id": 123,
      "trtc_sdk_room_id": "<string>",
      "trtc_sdk_user_id": "<string>",
      "trtc_sdk_user_sig": "<string>"
    }
  }
}

Authorizations

x-api-key
string
header
required

Your API Key used for request authorization. If both Authorization and x-api-key have values, Authorization will be used first and x-api-key will be discarded.

Query Parameters

id
string
required

Session ID from the _id field returned by Create Session

Response

200 - application/json

Session details

code
integer
required

Interface returns business status code (1000: success)

Example:

1000

msg
string
required

Interface returns status information

Example:

"OK"

data
object