NAME

Twilio::Rest::Memory::V1::Lookup - The Lookup resource

SYNOPSIS

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

my $lookup = $client->memory->v1->lookup($store_id)->create(\%body);

DESCRIPTION

This file holds LookupList and LookupInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

LookupList

Returned by $client->memory->v1->lookup($store_id). See also Twilio::ListResource.

create

my $lookup = $client->memory->v1->lookup($store_id)->create(\%body);

Find profiles that contain a specific identifier value (for example a phone number or email address). Submit an identifier object specifying the idType and value. The value is normalized using the configured identity resolution settings (such as phone number formatting) prior to matching. Multiple matches are returned if more than one profile is associated with the identifier. Returns canonical profile IDs (the earliest ID if profiles have been merged) along with the normalized value actually searched. Returns a LookupInstance.

%body is sent as JSON. It takes the names Twilio's API documentation uses.

Its fields are:

idType

Required. Identifier type as configured in the service's Identity Resolution Settings.

value

Required. Raw value captured for the identifier. The service may normalize this value according to the normalization rule defined in the identifier settings before storage or matching (for example E.164 formatting for phone numbers).

LookupInstance

See also Twilio::InstanceResource.

Its fields are:

normalized_value

Identifier value after normalization that was used for the lookup.

profiles

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.