Skip to main content
POST
Setup Inbound Agent
Configure a phone number to route inbound calls to a specific voice AI assistant.

Overview

This endpoint links an assistant to a phone number so that incoming calls to that number are handled by the specified agent. Use this after you have provisioned a phone number and created an assistant.

Request

Headers

Request Body

Example Request

Response

Success Response (200)

Inbound agent configured successfully.

Error Responses

Use Cases

  • Inbound AI front desk: Route incoming calls to a support or reception assistant
  • After-hours handling: Direct callers to an AI agent outside business hours
  • Programmatic setup: Configure inbound routing as part of your onboarding or deployment workflow

Authorizations

x-api-key
string
header
required

Body

application/json
assistantId
string
required

ID of the assistant to handle inbound calls

phoneNumberId
string
required

ID of the phone number to configure for inbound routing

Response

Inbound agent configured successfully