NAME
Twilio::Rest::Numbers::V1::SenderIdRegistration - The SenderIdRegistration resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $sender_id_registration = $client->numbers->v1->sender_id_registrations->create(\%body);
DESCRIPTION
Create a Sender ID Registration and initialize an embedded session
This file holds SenderIdRegistrationList and SenderIdRegistrationInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
SenderIdRegistrationList
Returned by $client->numbers->v1->sender_id_registrations. See also Twilio::ListResource.
create
my $sender_id_registration = $client->numbers->v1->sender_id_registrations->create(\%body);
Creates a new sender ID registration and initializes an embedded Persona inquiry session. Returns registration details and embedded session credentials for rendering the Compliance Embeddable UI. Returns a SenderIdRegistrationInstance.
%body is sent as JSON. It takes the names Twilio's API documentation uses.
Its fields are:
comments-
Additional comments about the registration.
data-
Required. Registration data organized by section (alphanumericSender, business, useCase, authorizedRepresentative, officer, businessAddress).
friendlyName-
Required. Human-readable name for the registration.
regulationId-
Required. The regulation for this registration.
regulationVersion-
Required. The regulation version.
statusCallbackUrl-
The URL of this resource.
statusNotificationEmail-
Email address for registration status notifications.
themeSetId-
Theme ID for the Compliance Embeddable UI.
SenderIdRegistrationInstance
See also Twilio::InstanceResource.
Its fields are:
- comments
-
Additional comments.
- data
-
Registration data echoed from the request.
- date_created
-
Timestamp of creation. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- date_updated
-
Timestamp of last update. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- embedded_session
-
No description in the specification.
- friendly_name
-
The friendly name provided in the request.
- id
-
Registration identifier (BU-prefixed).
- regulation_id
-
The regulation ID for this registration.
- regulation_version
-
The regulation version.
- status
-
Registration status. Always DRAFT on creation.
- status_callback_url
-
Callback URL for status webhooks.
- status_notification_email
-
Email address for status notifications.
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.