NAME

Twilio::Rest::Insights::V2::Inbound - The Inbound resource

SYNOPSIS

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

for my $inbound ($client->insights->v2->inbound($report_id)->read({}, 20)) {
  ...
}

DESCRIPTION

This file holds InboundList, InboundPage and InboundInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

InboundList

Returned by $client->insights->v2->inbound($report_id). See also Twilio::ListResource.

read

my @records = $client->insights->v2->inbound($report_id)->read(\%options, $limit, $page_size);

Get Inbound Phone Numbers Level Reports for the given Report Id. Returns the records as a list, fetching as many pages as it needs.

stream

my $stream = $client->insights->v2->inbound($report_id)->stream(\%options, $limit, $page_size);

Takes the same arguments as "read", and returns a Twilio::Stream.

page

my $page = $client->insights->v2->inbound($report_id)->page(\%options, $page_size, $page_token, $page_number);

Fetches one page, and returns a Twilio::Page.

get_page

my $page = $client->insights->v2->inbound($report_id)->get_page($url);

Fetches the page at a URL given by Twilio.

InboundPage

A Twilio::Page of InboundInstance objects.

records_key

build_instance

Used by Twilio::Page.

InboundInstance

See also Twilio::InstanceResource.

Its fields are:

call_answer_score

The call answer score measures customers behavior to the delivered calls. The score is a value between 0 and 100, where 100 indicates that all calls were successfully answered.

call_state_percentage

Percentage of calls made in each state.

handle

Inbound phone number handle represented in the report.

silent_calls_percentage

Percentage of inbound calls with silence tags over total outbound calls. A silent tag is indicative of a connectivity issue or muted audio.

total_calls

Total number of calls made with the given handle during the report period.

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.