NAME

Twilio::Rest::Verify::V2::VerificationAttemptsSummary - The VerificationAttemptsSummary resource

SYNOPSIS

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

my $verification_attempts_summary = $client->verify->v2->verification_attempts_summary->fetch;

DESCRIPTION

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

VerificationAttemptsSummaryContext

Returned by $client->verify->v2->verification_attempts_summary. It makes no request until one of these methods is called.

fetch

my $verification_attempts_summary = $client->verify->v2->verification_attempts_summary->fetch(\%options);

Get a summary of how many attempts were made and how many were converted. Returns a VerificationAttemptsSummaryInstance.

The options are:

channel

Filter Verification Attempts considered on the summary aggregation by communication channel. One of sms, call, email, whatsapp or rbm.

country

Filter used to consider only Verification Attempts sent to the specified destination country on the summary aggregation.

date_created_after

Datetime filter used to consider only Verification Attempts created after this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z. A string, or an object with an epoch method. See "iso8601_date_time" in Twilio::Serialize.

date_created_before

Datetime filter used to consider only Verification Attempts created before this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z. A string, or an object with an epoch method. See "iso8601_date_time" in Twilio::Serialize.

destination_prefix

Filter the Verification Attempts considered on the summary aggregation by Destination prefix. It is the prefix of a phone number in E.164 format.

verify_service_sid

Filter used to consider only Verification Attempts of the given verify service on the summary aggregation.

VerificationAttemptsSummaryInstance

See also Twilio::InstanceResource.

It has fetch, which work as they do on the context.

Its fields are:

conversion_rate_percentage

Percentage of the confirmed messages over the total, defined by (total_converted/total_attempts)*100.

total_attempts

Total of attempts made according to the provided filters

total_converted

Total of attempts made that were confirmed by the end user, according to the provided filters.

total_unconverted

Total of attempts made that were not confirmed by the end user, according to the provided filters.

url

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.