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