Skip to main content

List all Phone Numbers

Returns a list of your Phone Numbers. The phone numbers are returned sorted by creation date, with the most recent phone numbers appearing first. The list is filterable by sending in any of the following parameters.

Query Parameters
filter_name string

The name given to the brand. Will return all Brands containing this value as a substring.

filter_number string

The phone number in E164 format. Will return all Phone Numbers containing this value as a substring.

Responses
200

OK

Schema
links object
self string
first string
next string
prev string
data object[]
id uuid

The unique identifier of the Phone Number on SignalWire. This can be used to find, update or delete the phone number programmatically.

number string

The phone number in E164 format.

name string

The name given to the phone number. Helps to distinguish different phone numbers within your project.

call_handler string

What type of handler you want to run on inbound calls. Possible values are: relay_context, laml_webhooks, laml_application, dialogflow, relay_connector, relay_sip_endpoint, relay_verto_endpoint, video_room.

call_receive_mode string

How do you want to receive the incoming call. Possible values are: voice or fax. Default is voice.

call_request_url string

The URL to make a request to when using the laml_webhooks call handler.

call_request_method string

The HTTP method to use when making a request to the call_request_url. Possible values are: POST or GET. Default is POST.

call_fallback_url string

The fallback URL to make a request to when using the laml_webhooks call handler and the call_request_url fails.

call_fallback_method string

The HTTP method to use when making a request to the call_fallback_url. Possible values are: POST or GET. Default is POST.

call_status_callback_url string

The URL to make status callbacks to when using the laml_webhooks call handler.

call_status_callback_method string

The HTTP method to use when making a request to the call_status_callback_url. Possible values are: POST or GET. Default is POST.

call_laml_application_id string

The ID of the LaML Application to use when using the laml_application call handler.

call_dialogflow_agent_id string

The ID of the Dialogflow Agent to start when using the dialogflow call handler.

call_relay_context string

The name of the Relay Context to send this call to when using the relay_context call handler.

call_relay_connector_id string

The ID of the Relay Connector to send this call to when using the relay_connector call handler.

call_sip_endpoint_id string

The ID of the Relay SIP Endpoint to send this call to when using the relay_sip_endpoint call handler.

call_verto_resource string

The name of the Verto Relay Endpoint to send this call to when using the relay_verto_endpoint call handler.

call_video_room_id uuid

The ID of the Video Room to send this call to when using the video_room call handler.

message_handler string

What type of handler you want to run on inbound messages. Possible values are: relay_context, laml_webhooks, laml_application.

message_request_url string

The URL to make a request to when using the laml_webhooks message handler.

message_request_method string

The HTTP method to use when making a request to the message_request_url. Possible values are: POST or GET. Default is POST.

message_fallback_url string

The fallback URL to make a request to when using the laml_webhooks message handler and the message_request_url fails.

message_fallback_method string

The HTTP method to use when making a request to the message_fallback_url. Possible values are: POST or GET. Default is POST.

message_laml_application_id string

The ID of the LaML Application to use when using the laml_application message handler.

message_relay_context string

The name of the Relay Context to send this message to when using the relay_context message handler.

capabilities string[]

A list of communication methods this phone number supports. Possible values are: voice, fax, sms, mms.

number_type string

The type of number this is defined as. Possible values are: toll-free or longcode.

e911_address_id string

A list of communication methods this phone number supports.

created_at date-time

The date the number was added to your project.

updated_at date-time

The date the number was last updated.

next_billed_at date-time

The next date the number will be billed for.