v1

latestOpenAPI 3.0.12026-07-2696152184.1 KB
Phone Numbers

List Phone Numbers

get/agents/phone-numbers

Query parameters

agent_idstring

Filter by assigned agent ID.

provider_idstring

Filter by provider ID.

type'twilio' | 'cartesia'

Filter by provider type.

qstring

Search by phone number, label, or agent name.

starting_afterstring nullable

A cursor to use in pagination. starting_after is a phone number ID that defines your place in the list. For example, if you make a /agents/phone-numbers request and receive 20 objects, ending with pn_abc123, your subsequent call can include starting_after=pn_abc123 to fetch the next page of the list.

ending_beforestring nullable

A cursor to use in pagination. ending_before is a phone number ID that defines your place in the list. For example, if you make a /agents/phone-numbers request and receive 20 objects, starting with pn_abc123, your subsequent call can include ending_before=pn_abc123 to fetch the previous page of the list.

limitinteger nullable

(Pagination option) The number of phone numbers to return per page, ranging between 1 and 100. The default page limit is 10.

Headers

Cartesia-Version'2026-03-01' date required
Example:2026-03-01

API version header.

Response

A paginated list of phone numbers.

has_moreboolean required