Skip to main content

List Virtual Numbers

This endpoint will help you list the virtual numbers you have in your 2Chat account.

Query parameters

ParameterDescriptionExample
page_numberPage number to return2
results_per_pageNumber of results to return per page. Default is 20020
curl -L -G 'https://api.p.2chat.io/open/voip/virtual-numbers?page_number=0' \
--header 'X-User-API-Key: your_api_key_here'

Response

The API will return an array of numbers based on the numbers you have connected to 2Chat. In the example below, only 1 number is returned.

{
"success": true,
"count": 1,
"page": 0,
"numbers": [
{
"uuid": "DID64a54de2-8ebe-4c01-838f-a2235815dab4",
"account_uuid": "ACC91be87af-5a29-4034-b599-342f2aeb5d52",
"phone_number": "+18132522492",
"formatted_phone_number": "+1 813-252-2492",
"iso_country_code": "US",
"region_name": "Tampa",
"emoji": null,
"friendly_name": "+18132522492",
"record_inbound": true,
"is_toll_free": false,
"provider_type": "local",
"priced_per_minute": false,
"incoming_price_per_minute": 0.0,
"ivr_uuid": null,
"timezone": "America/New_York",
"status": 1,
"status_text": "ACTIVE",
"created_at": "2025-08-13T19:46:21Z",
"updated_at": "2025-08-29T21:26:04Z",
"expires_at": "2025-09-14T13:49:56Z"
}
]
}
FieldDescriptionExample values
uuidThe unique identifier of the numberDID64a54de2-8ebe-4c01-838f-a2235815dab4
phone_numberthe phone number in international format+18132522492
formatted_phone_numberthe phone number in international format, formatted for easier reading+1 813-252-2492
friendly_namethe friendly name you chose for your numbermy number
iso_country_codethe two-letter country code of the numberUS
record_inboundtrue when call recording is enabledtrue
is_toll_freetrue when the number is toll-freetrue
provider_typeType of number: mobile, local, shared-cost, nationallocal
priced_per_minutetrue when the number has a charge for incoming callsfalse
incoming_price_per_minutePrice (USD) to pay per minute of incoming calls0.01
ivr_uuidUUID of the associated IVRIVR91be87af-5a29-4034-b599-342f2aeb5d52
statusStatus of the number. See status_text for a description1
status_textText status of the number. E.g.: ACTIVE, AWAITING_REGISTRATION, PENDING_ACTIVATION, PENDING_CANCELLATION, RELEASED.ACTIVE