NAME
Twilio::Rest::Numbers::V2::AuthorizationDocument::DependentHostedNumberOrder - The DependentHostedNumberOrder resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
for my $dependent_hosted_number_order ($client->numbers->v2->authorization_documents($signing_document_sid)->dependent_hosted_number_orders->read({}, 20)) {
...
}
DESCRIPTION
This file holds DependentHostedNumberOrderList, DependentHostedNumberOrderPage and DependentHostedNumberOrderInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
DependentHostedNumberOrderList
Returned by $client->numbers->v2->authorization_documents($signing_document_sid)->dependent_hosted_number_orders. See also Twilio::ListResource.
read
my @records = $client->numbers->v2->authorization_documents($signing_document_sid)->dependent_hosted_number_orders->read(\%options, $limit, $page_size);
Retrieve a list of dependent HostedNumberOrders belonging to the AuthorizationDocument. Returns the records as a list, fetching as many pages as it needs.
The options are:
friendly_name-
A human readable description of this resource, up to 128 characters.
incoming_phone_number_sid-
A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.
phone_number-
An E164 formatted phone number hosted by this HostedNumberOrder.
status-
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. One of
received,verified,pending-loa,carrier-processing,completed,failedoraction-required.
stream
my $stream = $client->numbers->v2->authorization_documents($signing_document_sid)->dependent_hosted_number_orders->stream(\%options, $limit, $page_size);
Takes the same arguments as "read", and returns a Twilio::Stream.
page
my $page = $client->numbers->v2->authorization_documents($signing_document_sid)->dependent_hosted_number_orders->page(\%options, $page_size, $page_token, $page_number);
Fetches one page, and returns a Twilio::Page.
get_page
my $page = $client->numbers->v2->authorization_documents($signing_document_sid)->dependent_hosted_number_orders->get_page($url);
Fetches the page at a URL given by Twilio.
DependentHostedNumberOrderPage
A Twilio::Page of DependentHostedNumberOrderInstance objects.
records_key
build_instance
Used by Twilio::Page.
DependentHostedNumberOrderInstance
See also Twilio::InstanceResource.
Its fields are:
- account_sid
-
The unique SID identifier of the Account.
- address_sid
-
A 34 character string that uniquely identifies the Address resource that represents the address of the owner of this phone number.
- bulk_hosting_request_sid
-
A 34 character string that uniquely identifies the bulk hosting request associated with this HostedNumberOrder.
- capabilities
-
A mapping of capabilities this hosted phone number will have enabled on Twilio's platform. A Twilio::Base::PhoneNumberCapabilities object.
- cc_emails
-
Email recipients who will be informed when an Authorization Document has been sent and signed
- contact_phone_number
-
The contact phone number of the person authorized to sign the Authorization Document.
- contact_title
-
The title of the person authorized to sign the Authorization Document for this phone number.
- date_created
-
The date this resource was created, given as GMT RFC 2822 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- date_updated
-
The date that this resource was updated, given as GMT RFC 2822 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
-
Email of the owner of this phone number that is being hosted.
- failure_reason
-
A message that explains why a hosted_number_order went to status "action-required"
- friendly_name
-
A human readable description of this resource, up to 128 characters.
- incoming_phone_number_sid
-
A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.
- next_step
-
The next step you need to take to complete the hosted number order and request it successfully.
- phone_number
-
An E164 formatted phone number hosted by this HostedNumberOrder.
- sid
-
A 34 character string that uniquely identifies this Authorization Document
- signing_document_sid
-
A 34 character string that uniquely identifies the LOA document associated with this HostedNumberOrder.
- status
-
One of
received,verified,pending-loa,carrier-processing,completed,failedoraction-required.
CONSTRUCTORS
new
Objects here come from the methods above, so there is no need to call new directly.
LICENSE
Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.