NAME

Twilio::Rest::Messaging::V1::Service::UsAppToPersonUsecase - The UsAppToPersonUsecase resource

SYNOPSIS

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

my $us_app_to_person_usecase = $client->messaging->v1->services($messaging_service_sid)->us_app_to_person_usecases->fetch;

DESCRIPTION

Messaging Service Use Case resource. Fetch possible use cases for service. The Use Cases API returns an empty list if there is an issue with the customer's A2P brand registration. This Brand cannot register any campaign use cases. Customers are requested to contact support with their A2P brand information.

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

UsAppToPersonUsecaseList

Returned by $client->messaging->v1->services($messaging_service_sid)->us_app_to_person_usecases. See also Twilio::ListResource.

fetch

my $us_app_to_person_usecase = $client->messaging->v1->services($messaging_service_sid)->us_app_to_person_usecases->fetch(\%options);

Returns a UsAppToPersonUsecaseInstance.

The options are:

brand_registration_sid

The unique string to identify the A2P brand.

UsAppToPersonUsecaseInstance

See also Twilio::InstanceResource.

Its fields are:

us_app_to_person_usecases

Human readable name, code, description and post_approval_required (indicates whether or not post approval is required for this Use Case) of A2P Campaign Use Cases.

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.