cURL
curl --request PATCH \ --url https://api.us.poly.ai/v1/agents/{agentId}/telephony/phone-numbers/{phoneNumber} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "connectorId": "<string>" } '
{ "number": "<string>", "projectId": "<string>", "accountId": "<string>", "clientEnv": "<string>", "connectorId": "<string>" }
Target connector for reassigning a phone number.
Target connector ID to reassign the phone number to
Successful response
A phone number owned by the project, plus the connector it routes incoming calls to.
Phone number in E.164 format
Project this number belongs to
Account this number belongs to
Client environment (sandbox, pre-release, live)
Connector this number is routed to
Was this page helpful?