POST
Assign Phone Number to Agent
Routes an owned phone number to this Agent.
POST
https://api.vantaxai.com/v1/agents/{agent_id}/phone-numbersOnce assigned, inbound calls and messages to the number are handled by the Agent. A number can be assigned to only one Agent at a time.
Headers
AuthorizationstringrequiredBearer authentication with your secret API key.
example: Bearer vx_live_3fa9c2…
Content-TypestringrequiredMust be application/json for requests with a body.
example: application/json
Path Parameters
agent_idstringrequiredThe Agent to assign the number to.
example: agt_3d9b21
Body Parameters
phone_number_idstringrequiredThe owned phone number to assign.
example: pn_55ad12