cURL
curl --request GET \ --url https://api.voice-mate.com/v1/phones \ --header 'Authorization: Bearer <token>'
{ "status": "success", "phones": [ { "sid": "phone_b30fbf02-83be-4214-9724-f889085ecffb", "name": "main_office_phone", "number": "+15893858485", "sip_trunk": { "system": false, "sid": "sip_1d31b6c1-dcea-425a-a3e1-3a9227a95381", "name": "production" }, "created_at": "2025-05-03T10:43:50.472662Z", "updated_at": "2025-05-03T10:43:50.472702Z", "inbound_agent_id": "agent_340846df-6fc5-4550-8c8e-590761765548", "outbound_agent_id": "agent_340846df-6fc5-4550-8c8e-590761765548" } ] }
Returns all phones that are associated with the account.
Bearer auth header. Pass with value 'Bearer {api_key}'. Api key can be found in account Settings -> API Keys page
List of phones
success
error
Show child attributes