NAME
Twilio::Rest::FlexApi::V2::WebChannels - The WebChannels resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $web_channels = $client->flex_api->v2->web_channels->create($address_sid, \%options);
DESCRIPTION
This file holds WebChannelsList and WebChannelsInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
WebChannelsList
Returned by $client->flex_api->v2->web_channels. See also Twilio::ListResource.
create
my $web_channels = $client->flex_api->v2->web_channels->create($address_sid, \%options);
Returns a WebChannelsInstance.
The required values are:
$address_sid-
The SID of the Conversations Address. See Address Configuration Resource for configuration details. When a conversation is created on the Flex backend, the callback URL will be set to the corresponding Studio Flow SID or webhook URL in your address configuration.
The options are:
chat_friendly_name-
The Conversation's friendly name. See the Conversation resource for an example.
customer_friendly_name-
The Conversation participant's friendly name. See the Conversation Participant Resource for an example.
identity-
The Identity of the guest user. See the Conversation User Resource for an example.
pre_engagement_data-
The pre-engagement data.
ui_version-
The Ui-Version HTTP request header
WebChannelsInstance
See also Twilio::InstanceResource.
Its fields are:
- conversation_sid
-
The unique string representing the Conversation resource created.
- identity
-
The unique string representing the User created and should be authorized to participate in the Conversation. For more details, see User Identity & Access Tokens.
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.