Skip to main content
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
Required JSON fields:
  • avatar_id — UUID of the avatar
  • show_ai_label — boolean, whether the video shows This is AI
  • room_url — https:// URL of the Daily room, at most 2048 characters, with a room name
  • avatar_token — meeting token the avatar joins with
Pass 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.