NAME
Twilio::Rest::Lookups::V2::Query - The Query resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $query = $client->lookups->v2->query->create(\%body);
DESCRIPTION
This file holds QueryList and QueryInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
QueryList
Returned by $client->lookups->v2->query. See also Twilio::ListResource.
create
my $query = $client->lookups->v2->query->create(\%body);
Discussions made regarding how to help the customer to correlation request and response objects: - Respecting the natural order (requests vs. response) - Using phone numbers as unique key - Adding a correlation_id key. Returns a QueryInstance.
%body is sent as JSON. It can be left out. When given, it takes the names Twilio's API documentation uses.
Its fields are:
phone_numbers-
No description in the specification.
QueryInstance
See also Twilio::InstanceResource.
Its fields are:
- phone_numbers
-
No description in the specification.
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.