NAME
Twilio::Rest::Numbers::V1::SmsVerificationCheck - The SmsVerificationCheck resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $sms_verification_check = $client->numbers->v1->sms_verification_checks->create(\%body);
DESCRIPTION
This file holds SmsVerificationCheckList and SmsVerificationCheckInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
SmsVerificationCheckList
Returned by $client->numbers->v1->sms_verification_checks. See also Twilio::ListResource.
create
my $sms_verification_check = $client->numbers->v1->sms_verification_checks->create(\%body);
Returns a SmsVerificationCheckInstance.
%body is sent as JSON. It takes the names Twilio's API documentation uses.
Its fields are:
friendly_name-
A human-readable name for the caller ID.
to-
Required. The phone number being verified in E.164 format.
verification_code-
Required. The 6 character verification code to check.
SmsVerificationCheckInstance
See also Twilio::InstanceResource.
Its fields are:
- caller_id_sid
-
The Caller ID SID created upon successful verification.
- status
-
The status of the verification (pending, approved, canceled).
- to
-
The phone number that was verified in E.164 format.
- verification_sid
-
The unique SID of this verification resource.
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.