NAME

Twilio::Rest::Messaging::V1::DomainConfigMessagingService - The DomainConfigMessagingService resource

SYNOPSIS

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

my $domain_config_messaging_service = $client->messaging->v1->domain_config_messaging_service($messaging_service_sid)->fetch;

DESCRIPTION

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

DomainConfigMessagingServiceContext

Returned by $client->messaging->v1->domain_config_messaging_service($messaging_service_sid). It makes no request until one of these methods is called.

fetch

my $domain_config_messaging_service = $client->messaging->v1->domain_config_messaging_service($messaging_service_sid)->fetch;

Returns a DomainConfigMessagingServiceInstance.

DomainConfigMessagingServiceInstance

See also Twilio::InstanceResource.

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

Its fields are:

callback_url

URL to receive click events to your webhook whenever the recipients click on the shortened links.

config_sid

The unique string that we created to identify the Domain config (prefix ZK).

continue_on_failure

Boolean field to set customer delivery preference when there is a failure in linkShortening service

date_created

Date this Domain Config was created. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

date_updated

Date that this Domain Config was last updated. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

domain_sid

The unique string that we created to identify the Domain resource.

fallback_url

Any requests we receive to this domain that do not match an existing shortened message will be redirected to the fallback url. These will likely be either expired messages, random misdirected traffic, or intentional scraping.

messaging_service_sid

The unique string that identifies the messaging service

url

No description in the specification.

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.