NAME
Twilio::Rest::Trusthub::V1::A2PBrandRegistrationEmbeddedSession - The A2PBrandRegistrationEmbeddedSession resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $a2_pbrand_registration_embedded_session = $client->trusthub->v1->a2p_brand_registration_embedded_sessions($id)->create();
DESCRIPTION
Resume an A2P Brand 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 A2PBrandRegistrationEmbeddedSessionList and A2PBrandRegistrationEmbeddedSessionInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
A2PBrandRegistrationEmbeddedSessionList
Returned by $client->trusthub->v1->a2p_brand_registration_embedded_sessions($id). See also Twilio::ListResource.
create
my $a2_pbrand_registration_embedded_session = $client->trusthub->v1->a2p_brand_registration_embedded_sessions($id)->create();
Resume an A2P Brand 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 A2PBrandRegistrationEmbeddedSessionInstance.
A2PBrandRegistrationEmbeddedSessionInstance
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.