NAME

Twilio::Rest::Trusthub::V1::A2PCampaignRegistrationEmbeddedSession - The A2PCampaignRegistrationEmbeddedSession resource

SYNOPSIS

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

my $a2_pcampaign_registration_embedded_session = $client->trusthub->v1->a2p_campaign_registration_embedded_sessions($id)->create();

DESCRIPTION

Resume an A2P Campaign Registration embedded compliance session for an in-progress or rejected registration. Returns the existing active Persona session if one is still valid, or creates a new session if the previous one has expired.

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

A2PCampaignRegistrationEmbeddedSessionList

Returned by $client->trusthub->v1->a2p_campaign_registration_embedded_sessions($id). See also Twilio::ListResource.

create

my $a2_pcampaign_registration_embedded_session = $client->trusthub->v1->a2p_campaign_registration_embedded_sessions($id)->create();

Resume an A2P Campaign Registration embedded compliance session. Returns the existing active session if one is still valid, or creates a new session if the previous one has expired. Returns a A2PCampaignRegistrationEmbeddedSessionInstance.

A2PCampaignRegistrationEmbeddedSessionInstance

See also Twilio::InstanceResource.

Its fields are:

id

The unique A2P Brand or Campaign Registration identifier, formatted as tri1.us1.account.AC.../registration.BU....

session_id

The Persona inquiry ID used to start the embedded compliance session.

session_token

The Persona session token for embedding the compliance UI. Expires in 24 hours.

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.