Skip to main content
POST
List phone numbers
Returns the phone numbers in the workspace your API key belongs to, newest first.
This read is a POST because a list query is a document: page, size and search arrive typed as themselves instead of being coerced from a query string. It changes nothing.

Body

number
default:"1"
1-based page number. Pass back pagination.next_cursor from the previous response.
number
default:"10"
Page size, between 1 and 100.
Case-insensitive substring of phone_number or nickname, 1–255 characters. Leave it out for no filter: an empty string is rejected.

Request

Response

200 OK. Standard envelope plus pagination — see Responses. Each item is a whole phone number object. next_cursor is the next page number, or null on the last page. Stop there: a page past the last one is not an empty list. It answers 500 INTERNAL_ERROR, and sending it again does not help.

Errors