NAME

Twilio::Rest::Voice::V1::DialingPermissions::Country::HighriskSpecialPrefix - The HighriskSpecialPrefix resource

SYNOPSIS

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

for my $highrisk_special_prefix ($client->voice->v1->dialing_permissions->countries($iso_code)->highrisk_special_prefixes->read({}, 20)) {
  ...
}

DESCRIPTION

This file holds HighriskSpecialPrefixList, HighriskSpecialPrefixPage and HighriskSpecialPrefixInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

HighriskSpecialPrefixList

Returned by $client->voice->v1->dialing_permissions->countries($iso_code)->highrisk_special_prefixes. See also Twilio::ListResource.

read

my @records = $client->voice->v1->dialing_permissions->countries($iso_code)->highrisk_special_prefixes->read(\%options, $limit, $page_size);

Fetch the high-risk special services prefixes from the country resource corresponding to the ISO country code. Returns the records as a list, fetching as many pages as it needs.

stream

my $stream = $client->voice->v1->dialing_permissions->countries($iso_code)->highrisk_special_prefixes->stream(\%options, $limit, $page_size);

Takes the same arguments as "read", and returns a Twilio::Stream.

page

my $page = $client->voice->v1->dialing_permissions->countries($iso_code)->highrisk_special_prefixes->page(\%options, $page_size, $page_token, $page_number);

Fetches one page, and returns a Twilio::Page.

get_page

my $page = $client->voice->v1->dialing_permissions->countries($iso_code)->highrisk_special_prefixes->get_page($url);

Fetches the page at a URL given by Twilio.

HighriskSpecialPrefixPage

A Twilio::Page of HighriskSpecialPrefixInstance objects.

records_key

build_instance

Used by Twilio::Page.

HighriskSpecialPrefixInstance

See also Twilio::InstanceResource.

Its fields are:

prefix

A prefix is a contiguous number range for a block of E.164 numbers that includes the E.164 assigned country code. For example, a North American Numbering Plan prefix like +1510720 written like +1(510) 720 matches all numbers inclusive from +1(510) 720-0000 to +1(510) 720-9999.

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.