cURL
curl --request GET \ --url https://api.revring.ai/v1/agents/{id}/phone-numbers \ --header 'x-api-key: <api-key>'
{ "data": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "e164": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } ] }
Get phone numbers assigned to an agent for inbound calls
API key for authentication. Generate API keys from the RevRing dashboard.
Agent ID
List of phone numbers
Show child attributes
Phone number in E.164 format