Retrieve a list of dependent HostedNumberOrders belonging to the AuthorizationDocument.

GET /v2/HostedNumber/AuthorizationDocuments/{SigningDocumentSid}/DependentHostedNumberOrders

Retrieve a list of dependent HostedNumberOrders belonging to the AuthorizationDocument.

Path parameters

  • SigningDocumentSid string Required

    A 34 character string that uniquely identifies the LOA document associated with this HostedNumberOrder.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^PX[0-9a-fA-F]{32}$.

Query parameters

  • Status string

    Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled Status Values for more information on each of these statuses.

    Values are received, verified, pending-loa, carrier-processing, completed, failed, or action-required.

  • PhoneNumber string(phone-number)

    An E164 formatted phone number hosted by this HostedNumberOrder.

  • IncomingPhoneNumberSid string

    A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^PN[0-9a-fA-F]{32}$.

  • FriendlyName string

    A human readable description of this resource, up to 128 characters.

  • PageSize integer(int64)

    How many resources to return in each list page. The default is 50, and the maximum is 1000.

    Minimum value is 1, maximum value is 1000.

  • Page integer

    The page index. This value is simply for client state.

    Minimum value is 0.

  • PageToken string

    The page token. This is provided by the API.

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • items array[object]
      Hide items attributes Show items attributes object
      • sid string | null

        A 34 character string that uniquely identifies this Authorization Document

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^HR[0-9a-fA-F]{32}$.

      • bulk_hosting_request_sid string | null

        A 34 character string that uniquely identifies the bulk hosting request associated with this HostedNumberOrder.

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^BH[0-9a-fA-F]{32}$.

      • next_step string | null

        The next step you need to take to complete the hosted number order and request it successfully.

      • account_sid string | null

        The unique SID identifier of the Account.

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

      • incoming_phone_number_sid string | null

        A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^PN[0-9a-fA-F]{32}$.

      • address_sid string | null

        A 34 character string that uniquely identifies the Address resource that represents the address of the owner of this phone number.

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AD[0-9a-fA-F]{32}$.

      • signing_document_sid string | null

        A 34 character string that uniquely identifies the LOA document associated with this HostedNumberOrder.

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^PX[0-9a-fA-F]{32}$.

      • phone_number string(phone-number) | null

        An E164 formatted phone number hosted by this HostedNumberOrder.

      • capabilities object(phone-number-capabilities) | null

        A mapping of capabilities this hosted phone number will have enabled on Twilio's platform.

        Hide capabilities attributes Show capabilities attributes object(phone-number-capabilities) | null
        • mms boolean
        • sms boolean
        • voice boolean
        • fax boolean
      • friendly_name string | null

        A human readable description of this resource, up to 128 characters.

      • status string

        Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled Status Values for more information on each of these statuses.

        Values are received, verified, pending-loa, carrier-processing, completed, failed, or action-required.

      • failure_reason string | null

        A message that explains why a hosted_number_order went to status "action-required"

      • date_created string(date-time) | null

        The date this resource was created, given as GMT RFC 2822 format.

      • date_updated string(date-time) | null

        The date that this resource was updated, given as GMT RFC 2822 format.

      • email string | null

        Email of the owner of this phone number that is being hosted.

      • cc_emails array[string] | null

        Email recipients who will be informed when an Authorization Document has been sent and signed

      • contact_title string | null

        The title of the person authorized to sign the Authorization Document for this phone number.

      • contact_phone_number string(phone-number) | null

        The contact phone number of the person authorized to sign the Authorization Document.

    • meta object
      Hide meta attributes Show meta attributes object
      • first_page_url string(uri)
      • key string
      • next_page_url string(uri) | null
      • page integer
      • page_size integer
      • previous_page_url string(uri) | null
      • url string(uri)
GET /v2/HostedNumber/AuthorizationDocuments/{SigningDocumentSid}/DependentHostedNumberOrders
curl \
 --request GET 'https://numbers.twilio.com/v2/HostedNumber/AuthorizationDocuments/{SigningDocumentSid}/DependentHostedNumberOrders' \
 --user "username:password"
Response examples (200)
{
  "meta": {
    "key": "items",
    "url": "https://numbers.twilio.com/v2/HostedNumber/AuthorizationDocuments/PXaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/DependentHostedNumberOrders?Status=completed&FriendlyName=example&PhoneNumber=%2B19193608000&IncomingPhoneNumberSid=PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
    "page": 0,
    "page_size": 50,
    "next_page_url": null,
    "first_page_url": "https://numbers.twilio.com/v2/HostedNumber/AuthorizationDocuments/PXaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/DependentHostedNumberOrders?Status=completed&FriendlyName=example&PhoneNumber=%2B19193608000&IncomingPhoneNumberSid=PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
    "previous_page_url": null
  },
  "items": []
}
{
  "meta": {
    "key": "items",
    "url": "https://numbers.twilio.com/v2/HostedNumber/AuthorizationDocuments/PXaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/DependentHostedNumberOrders?PageSize=50&Page=0",
    "page": 0,
    "page_size": 50,
    "next_page_url": null,
    "first_page_url": "https://numbers.twilio.com/v2/HostedNumber/AuthorizationDocuments/PXaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/DependentHostedNumberOrders?PageSize=50&Page=0",
    "previous_page_url": null
  },
  "items": [
    {
      "sid": "HRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "email": "test@twilio.com",
      "status": "received",
      "cc_emails": [
        "aaa@twilio.com",
        "bbb@twilio.com"
      ],
      "next_step": "Test",
      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "address_sid": "AD11111111111111111111111111111111",
      "capabilities": {
        "sms": true,
        "voice": false
      },
      "date_created": "2017-03-28T20:06:39Z",
      "date_updated": "2017-03-28T20:06:39Z",
      "phone_number": "+14153608311",
      "contact_title": "contact_title_test",
      "friendly_name": "friendly_name",
      "failure_reason": "",
      "contact_phone_number": "+12344444444",
      "signing_document_sid": "PX11111111111111111111111111111111",
      "bulk_hosting_request_sid": "BH11111111111111111111111111111111",
      "incoming_phone_number_sid": "PN11111111111111111111111111111111"
    }
  ]
}