NAME

Twilio::Rest::Conversations::V1::Service::Configuration - The Configuration resource

SYNOPSIS

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

my $configuration = $client->conversations->v1->services($chat_service_sid)->configuration->fetch;
$client->conversations->v1->services($chat_service_sid)->configuration->update(\%options);

DESCRIPTION

A Service Configuration resource manages service-level settings applicable to the Conversation API.

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

ConfigurationContext

Returned by $client->conversations->v1->services($chat_service_sid)->configuration. It makes no request until one of these methods is called.

fetch

my $configuration = $client->conversations->v1->services($chat_service_sid)->configuration->fetch;

Fetch the configuration of a conversation service. Returns a ConfigurationInstance.

update

my $configuration = $client->conversations->v1->services($chat_service_sid)->configuration->update(\%options);

Update configuration settings of a conversation service. Returns a ConfigurationInstance.

The options are:

default_chat_service_role_sid

The service-level role assigned to users when they are added to the service. See Conversation Role for more info about roles.

default_conversation_creator_role_sid

The conversation-level role assigned to a conversation creator when they join a new conversation. See Conversation Role for more info about roles.

default_conversation_role_sid

The conversation-level role assigned to users when they are added to a conversation. See Conversation Role for more info about roles.

reachability_enabled

Whether the Reachability Indicator is enabled for this Conversations Service. The default is false.

notifications

my $context = $object->notifications;

See Twilio::Rest::Conversations::V1::Service::Configuration::Notification.

webhooks

my $context = $object->webhooks;

See Twilio::Rest::Conversations::V1::Service::Configuration::Webhook.

ConfigurationInstance

See also Twilio::InstanceResource.

It has fetch, update, notifications and webhooks, which work as they do on the context.

Its fields are:

chat_service_sid

The unique string that we created to identify the Service configuration resource.

default_chat_service_role_sid

The service-level role assigned to users when they are added to the service. See Conversation Role for more info about roles.

default_conversation_creator_role_sid

The conversation-level role assigned to a conversation creator when they join a new conversation. See Conversation Role for more info about roles.

default_conversation_role_sid

The conversation-level role assigned to users when they are added to a conversation. See Conversation Role for more info about roles.

Contains an absolute API resource URL to access the push notifications configuration of this service.

reachability_enabled

Whether the Reachability Indicator is enabled for this Conversations Service. The default is false.

url

An absolute API resource URL for this service configuration.

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.