Skip to main content
GET
Returns every phone number on your account, including numbers that no agent answers. Each number carries last_call_at, the start of its most recent call (inbound or outbound), or null if it has never been used. Use it to see your pool: which numbers are free, which an agent answers, and when each was last used. To take a number, use Allocate Phone Number, which picks a free one and assigns it atomically, so two simultaneous requests never get the same number; free it again with Release Phone Number.

Query Parameters

boolean
true returns only numbers an agent answers, false only numbers with no agent. Omit it to list every number. Any other value is a 400.

Response

An array, sorted by phone number. Each item:
string
The number in E.164.
string | null
The agent that answers the number, or null.
string | null
That agent’s name.
string
active when an agent answers the number, unassigned otherwise.
string | null
The reference the number was allocated with (Allocate Phone Number), or null.
string | null
When it was allocated (ISO 8601, UTC), or null.
string | null
When the number’s most recent call started (ISO 8601, UTC), or null if it has never been used. Test calls count.