NAME
Twilio::Rest::Api::V2010::Account::Recording::AddOnResult::Payload::Data - The Data resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $data = $client->recordings($reference_sid)->add_on_results($add_on_result_sid)->payloads($payload_sid)->data->fetch;
DESCRIPTION
The Payload Data subresource hosts the actual data returned by the Add-on
This file holds DataContext and DataInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
DataContext
Returned by $client->recordings($reference_sid)->add_on_results($add_on_result_sid)->payloads($payload_sid)->data. It makes no request until one of these methods is called.
fetch
my $data = $client->recordings($reference_sid)->add_on_results($add_on_result_sid)->payloads($payload_sid)->data->fetch;
Fetch an instance of a result payload. Returns a DataInstance.
DataInstance
See also Twilio::InstanceResource.
It has fetch, which work as they do on the context.
Its fields are:
- redirect_to
-
The URL to redirect to to get the data returned by the AddOn that was previously stored.
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.