NAME

Twilio::Rest::Preview::HostedNumbers::AuthorizationDocument::DependentHostedNumberOrder - The DependentHostedNumberOrder resource

SYNOPSIS

my $client = Twilio::Rest::Client->new($account_sid, $auth_token);

for my $dependent_hosted_number_order ($client->preview->hosted_numbers->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->preview->hosted_numbers->authorization_documents($signing_document_sid)->dependent_hosted_number_orders. See also Twilio::ListResource.

read

my @records = $client->preview->hosted_numbers->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 64 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 twilio-processing, received, pending-verification, verified, pending-loa, carrier-processing, testing, completed, failed or action-required.

unique_name

Provides a unique and addressable name to be assigned to this HostedNumberOrder, assigned by the developer, to be optionally used in addition to SID.

stream

my $stream = $client->preview->hosted_numbers->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->preview->hosted_numbers->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->preview->hosted_numbers->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.

call_delay

A value between 0-30 specifying the number of seconds to delay initiating the ownership verification call.

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

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

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

extension

A numerical extension to be used when making the ownership verification call.

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 64 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.

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 twilio-processing, received, pending-verification, verified, pending-loa, carrier-processing, testing, completed, failed or action-required.

unique_name

Provides a unique and addressable name to be assigned to this HostedNumberOrder, assigned by the developer, to be optionally used in addition to SID.

verification_attempts

The number of attempts made to verify ownership of the phone number that is being hosted.

verification_call_sids

A list of 34 character strings that are unique identifiers for the calls placed as part of ownership verification.

verification_code

The digits passed during the ownership verification call.

verification_document_sid

A 34 character string that uniquely identifies the Identity Document resource that represents the document for verifying ownership of the number to be hosted.

verification_type

One of phone-call or phone-bill.

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.