POST
/
v1
/
session
cURL
curl https://api.bey.dev//v1/session \
    -H 'Content-Type: application/json' \
    -H "x-api-key: $BEY_API_KEY" \
    -d '{
          "avatar_id": "01234567-89ab-cdef-0123-456789abcdef",
          "livekit_token": "<your-livekit-token>",
          "livekit_url": "wss://<your-domain>.livekit.cloud"
        }'
{
  "id": "01234567-89ab-cdef-0123-456789abcdef",
  "created_at": "2022-01-01T00:00:00Z",
  "avatar_id": "01234567-89ab-cdef-0123-456789abcdef",
  "livekit_url": "wss://<your-domain>.livekit.cloud",
  "livekit_token": "<your-livekit-token>"
}

Authorizations

x-api-key
string
header
required

Your Beyond Presence API Key.

Body

application/json

Represents a request to create a Beyond Presence Real-Time API session.

Response

201
application/json

Successful Response

Represents a Beyond Presence Real-Time API session.