phone-assignment

Assign Phone To Agent

Changed on

Assign a phone number to a voice agent.

Auto-discovers the correct LiveKit trunk for the phone number. If the phone number doesn't exist in the database, it is auto-created.

post/api/v1/voice-platform/voice-agents/{voice_agent_id}/phone-number

Request

  • Base URL: https://api.getanana.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.getanana.com/api/v1/voice-platform/voice-agents/{voice_agent_id}/phone-number
  • Auth: none declared

Path parameters

voice_agent_idstring uuid required

Request body

phone_numberstring required

Phone number in E.164 format

Response

Successful Response

phone_numberstring required
voice_agent_idstring uuid nullable required
dispatch_rule_idstring nullable required
trunk_idstring nullable required

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status