NAME
Twilio::Rest::Webhooks::V1::EdgeZone - The EdgeZone resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
for my $edge_zone ($client->webhooks->v1->edge_zones->read({}, 20)) {
...
}
DESCRIPTION
This file holds EdgeZoneList, EdgeZonePage and EdgeZoneInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
EdgeZoneList
Returned by $client->webhooks->v1->edge_zones. See also Twilio::ListResource.
read
my @records = $client->webhooks->v1->edge_zones->read(\%options, $limit, $page_size);
Returns the edge zone catalog for webhook delivery. Supports pagination via pageSize and pageToken (see Pagination). Read-only discovery endpoint - use this to fetch available zone IDs before creating Settings. ### Usage Edge zones control geographic webhook delivery. Twilio selects the best available PoP within the zone at delivery time. 1. Call this endpoint to get available edge zones and their constituent PoPs 2. Use the zone id values in Settings.edgeZones when creating Settings If edge zones are not specified in Settings, webhooks use the home region (same as the processing region). Returns the records as a list, fetching as many pages as it needs.
stream
my $stream = $client->webhooks->v1->edge_zones->stream(\%options, $limit, $page_size);
Takes the same arguments as "read", and returns a Twilio::Stream.
page
my $page = $client->webhooks->v1->edge_zones->page(\%options, $page_size, $page_token);
Fetches one page, and returns a Twilio::TokenPaginationPage. This API pages by token, so there is no page number.
get_page
my $page = $client->webhooks->v1->edge_zones->get_page($url);
Fetches the page at a URL given by Twilio.
EdgeZonePage
A Twilio::Page of EdgeZoneInstance objects.
records_key
build_instance
Used by Twilio::Page.
EdgeZoneInstance
See also Twilio::InstanceResource.
Its fields are:
- description
-
Routing guidance for this zone.
- edge_locations
-
PoPs currently active within this zone.
- friendly_name
-
Human-readable zone name.
- id
-
Stable zone identifier. Use this value in Settings.edgeZones.
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.