NAME
Twilio::Rest::FlexApi::V1::InsightsConversations - The InsightsConversations resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
for my $insights_conversations ($client->flex_api->v1->insights_conversations->read({}, 20)) {
...
}
DESCRIPTION
This file holds InsightsConversationsList, InsightsConversationsPage and InsightsConversationsInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
InsightsConversationsList
Returned by $client->flex_api->v1->insights_conversations. See also Twilio::ListResource.
read
my @records = $client->flex_api->v1->insights_conversations->read(\%options, $limit, $page_size);
To get conversation with segment id. Returns the records as a list, fetching as many pages as it needs.
The options are:
-
The Authorization HTTP request header
segment_id-
Unique Id of the segment for which conversation details needs to be fetched
stream
my $stream = $client->flex_api->v1->insights_conversations->stream(\%options, $limit, $page_size);
Takes the same arguments as "read", and returns a Twilio::Stream.
page
my $page = $client->flex_api->v1->insights_conversations->page(\%options, $page_size, $page_token, $page_number);
Fetches one page, and returns a Twilio::Page.
get_page
my $page = $client->flex_api->v1->insights_conversations->get_page($url);
Fetches the page at a URL given by Twilio.
InsightsConversationsPage
A Twilio::Page of InsightsConversationsInstance objects.
records_key
build_instance
Used by Twilio::Page.
InsightsConversationsInstance
See also Twilio::InstanceResource.
Its fields are:
- account_id
-
The id of the account.
- conversation_id
-
The unique id of the conversation
- segment_count
-
The count of segments for a conversation
- segments
-
The Segments of a conversation
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.