POST /api/live-sessions/
You create the Daily room and the avatar’s meeting token. This call stores them and starts the avatar. The response is session_id.
create_akapulu_call makes this request for you. The code is on Your bot. A server that already has a Daily room sends this request itself.
Required headers:
Authorization: Bearer <YOUR_AKAPULU_API_KEY>Content-Type: application/json
avatar_id— UUID of the avatarshow_ai_label— boolean, whether the video shows This is AIroom_url—https://URL of the Daily room, at most 2048 characters, with a room nameavatar_token— meeting token the avatar joins with
session_id to AkapuluAvatar. Loading status is a server message on your bot with type status.
On failure the body includes error and error_code. See Error responses.
