cURL
curl --request GET \ --url https://api.us.poly.ai/v1/agents/{agentId}/telephony/phone-numbers \ --header 'x-api-key: <api-key>'
{ "phoneNumbers": [ { "number": "<string>", "projectId": "<string>", "accountId": "<string>", "clientEnv": "<string>", "connectorId": "<string>" } ] }
Filter by connector ID
Successful response
Every phone number in the project, optionally filtered by connector.
Show child attributes
Was this page helpful?