NAME
Twilio::Rest::Verify::V2::Service::NewFactor - The NewFactor resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $new_factor = $client->verify->v2->services($service_sid)->new_factors->create(\%body);
DESCRIPTION
This file holds NewFactorList and NewFactorInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
NewFactorList
Returned by $client->verify->v2->services($service_sid)->new_factors. See also Twilio::ListResource.
create
my $new_factor = $client->verify->v2->services($service_sid)->new_factors->create(\%body);
Create a new Passkeys Factor for the Entity. Returns a NewFactorInstance.
%body is sent as JSON. It takes the names Twilio's API documentation uses.
Its fields are:
config-
No description in the specification.
friendly_name-
Required. No description in the specification.
identity-
Required. No description in the specification.
NewFactorInstance
See also Twilio::InstanceResource.
Its fields are:
- account_sid
-
The unique SID identifier of the Account.
- binding
-
Contains the
factor_typespecific secret and metadata. The Binding property is ONLY returned upon Factor creation. - config
-
An object that contains configurations specific to a
factor_type. - date_created
-
The date that this Factor was created, given in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- date_updated
-
The date that this Factor was updated, given in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- entity_sid
-
The unique SID identifier of the Entity.
- factor_type
-
The Type of this Factor. Currently
pushandtotpare supported. One ofpush,totporpasskeys. - friendly_name
-
The friendly name of this Factor. This can be any string up to 64 characters, meant for humans to distinguish between Factors.
- identity
-
Customer unique identity for the Entity owner of the Factor.
- metadata
-
Custom metadata associated with the factor.
- options
-
No description in the specification.
- service_sid
-
The unique SID identifier of the Service.
- sid
-
A 34 character string that uniquely identifies this Factor.
- status
-
The Status of this Factor. One of
unverifiedorverified. One ofunverifiedorverified. - url
-
The URL of this 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.