Link Phone to Assistant

Connect a phone number to a published assistant. Incoming calls will be routed to the assistant.

Endpoint

phone_id
string
required
UUID of the phone number to link

Request Body

assistant_id
string
required
UUID of the assistant to link

Example Request

Response

What Happens

  1. Validates the phone number is active and has a KrosAI ID
  2. Validates the assistant is published
  3. Creates a KrosAI inbound endpoint pointing to your assistant
  4. Updates the KrosAI phone number to route through the endpoint
  5. Stores the link in the database

Requirements

  • Phone number must be active
  • Assistant must be published

Errors