NAME

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

SYNOPSIS

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

my $form = $client->verify->v2->forms($form_type)->fetch;

DESCRIPTION

This file holds FormList, FormContext and FormInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

FormList

Returned by $client->verify->v2->forms. See also Twilio::ListResource.

get_context

my $context = $client->verify->v2->forms->get_context($form_type);

Returns a FormContext, and makes no request.

FormContext

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

fetch

my $form = $client->verify->v2->forms($form_type)->fetch;

Fetch the forms for a specific Form Type. Returns a FormInstance.

FormInstance

See also Twilio::InstanceResource.

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

Its fields are:

form_meta

Additional information for the available forms for this type. E.g. The separator string used for binding in a Factor push.

form_type

Must be form-push.

forms

Object that contains the available forms for this type. This available forms are given in the standard JSON Schema format

url

The URL to access the forms for this type.

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.