Skip to main content

List All Incoming Phone Numbers

GET 

/Accounts/:AccountSid/IncomingPhoneNumbers

The ability to read all of the IncomingPhoneNumbers that are associated with your SignalWire account. This will be returned as a list of IncomingPhoneNumbers.

Permissions

The API token must include the following scopes: Numbers.

Request

Path Parameters

    AccountSid uuidrequired

    The unique identifier for the account that is associated with this phone number.

Query Parameters

    Beta boolean
    FriendlyName string
    Origin string

    Possible values: [signalwire, hosted]

    PhoneNumber string

Responses

OK

Schema

    end

    The end of the page.

    incoming_phone_numbers

    object[]

  • Array [

  • account_sid uuid

    The unique identifier for the account that is associated with this phone number.

    address_requirements string

    Possible values: [none, any, local, foreign]

    Whether or not a registered address with SignalWire is required.

    address_sid string

    The unique identifier for the address associated with this phone number.

    api_version string

    The version of the SignalWire API.

    beta boolean

    New numbers on SignalWire are marked as beta.

    capabilities

    object

    Whether or not a number can receive calls and messages.

    Voice boolean
    SMS boolean
    MMS boolean
    Fax boolean
    date_created string

    The date, in RFC 2822 format, this phone number was created.

    date_updated string

    The date, in RFC 2822 format, this phone number was updated.

    emergency_address_sid string

    The unique identifier of the address associated with E911 for this phone number.

    emergency_status string

    Possible values: [active, inactive]

    Whether the phone route has an active E911 address associated.

    friendly_name string

    A formatted version of the number.

    identity_sid string

    The unique identifier for the identity associated with this phone number.

    origin string

    Possible values: [signalwire, hosted]

    The origin of the phone number. SignalWire numbers are denoted as signalwire while hosted numbers are denoted as hosted.

    phone_number string

    The incoming number in E.164 format.

    sid string

    The unique identifier for this phone number.

    sms_application_sid string

    The unique identifier for the application associated with SMS handling on this phone number. If SmsApplicationSid is present, the URLs on the application will be used and all other URLs will be ignored.

    sms_fallback_method string

    Possible values: [GET, POST]

    Whether the request to SmsFallbackUrl is a GET or a POST. Default is POST.

    sms_fallback_url string

    The URL to request if errors occur when fetching SmsUrl.

    sms_method string

    Possible values: [GET, POST]

    Whether the request to SmsUrl is a GET or a POST. Default is POST.

    sms_url string

    The URL to request when an incoming SMS is received.

    status_callback string

    The URL to request to pass status updates to.

    status_callback_method string

    Possible values: [GET, POST]

    Whether the request to StatusCallback is a GET or a POST. Default is POST.

    trunk_sid string

    The unique identifier for the Trunk associated with this phone number.

    uri string

    The URI for this number.

    voice_application_sid string

    The unique identifier for the application associated with call handling on this phone number. If VoiceApplicationSid is present, the URLs on the application will be used and all other URLs will be ignored.

    voice_caller_id_lookup boolean

    Whether or not to look up a caller's name in the database.

    voice_fallback_method string

    Possible values: [GET, POST]

    Whether the request to VoiceFallbackUrl is a GET or a POST. Default is POST.

    voice_fallback_url string

    The URL to request if errors occur when fetching Url.

    voice_method string

    Possible values: [GET, POST]

    Whether the request to Url is a GET or a POST. Default is POST.

    voice_url string

    The URL to request when an incoming call is received.

  • ]

  • num_pages

    Number of pages.

    start

    The start of page.

    total

    The name of the object

    account_sid

    The unique identifier for this account.

    uri string
    first_page_uri string
    next_page_uri string
    previous_page_uri string
    page integer
    page_size integer
Loading...