cURL
curl --request POST \ --url https://api.us.poly.ai/v1/agents/{agentId}/telephony/phone-numbers \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "phoneNumbers": [ "<string>" ], "clientEnv": "live" } '
{ "imported": [ "<string>" ] }
A batch of phone numbers to import, all sharing the same environment assignment.
List of phone numbers to import
1
Client environment (sandbox, pre-release, live)
Successful response
The set of phone numbers that were imported.
List of successfully imported phone numbers
Was this page helpful?