List phone numbers seen on voice calls
Every phone number this workspace has had a voice call on, with how many calls and when the last one was.
/v1/phone-numbersViewer- Operation id
- list_phone_numbers
- Access
- Any workspace role can call this.
/v1/phone-numbersEvery phone number this workspace has had a voice call on, with how many calls and when the last one was.
Most recently called first. This is derived from call history, not a directory: a number appears because a call happened, and there is nothing here to add or remove. A number that has been called by two different agents appears once per agent.
Tenancy: the request is scoped to one workspace, and the credential presented is what selects it. A caller with no membership in that workspace is refused with 404, which is indistinguishable from a workspace that does not exist.
Authorisation: any workspace role, including viewer. Reads are open to every member.
Access: Authorization: Bearer carrying either a realm access token or an API key. A key must hold the workspace:read scope, and the workspace role of the person who owns it must meet the floor above.
A realm-issued access token, presented as Authorization: Bearer <token>. It acts as the person who signed in, and every operation resolves their workspace role live from the membership record.
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/phone-numbers"{}