NAME

Twilio::Rest::FlexApi::V1::Interaction::InteractionChannel::InteractionTransfer - The InteractionTransfer resource

SYNOPSIS

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

my $interaction_transfer = $client->flex_api->v1->interaction($interaction_sid)->channels($channel_sid)->transfers->create(\%body);
my $interaction_transfer = $client->flex_api->v1->interaction($interaction_sid)->channels($channel_sid)->transfers($sid)->fetch;
$client->flex_api->v1->interaction($interaction_sid)->channels($channel_sid)->transfers($sid)->update(\%body);

DESCRIPTION

This file holds InteractionTransferList, InteractionTransferContext and InteractionTransferInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

InteractionTransferList

Returned by $client->flex_api->v1->interaction($interaction_sid)->channels($channel_sid)->transfers. See also Twilio::ListResource.

create

my $interaction_transfer = $client->flex_api->v1->interaction($interaction_sid)->channels($channel_sid)->transfers->create(\%body);

Create a new Transfer. Returns a InteractionTransferInstance.

%body is sent as JSON. It can be left out. When given, it takes the names Twilio's API documentation uses.

get_context

my $context = $client->flex_api->v1->interaction($interaction_sid)->channels($channel_sid)->transfers->get_context($sid);

Returns a InteractionTransferContext, and makes no request.

InteractionTransferContext

Returned by $client->flex_api->v1->interaction($interaction_sid)->channels($channel_sid)->transfers($sid). It makes no request until one of these methods is called.

fetch

my $interaction_transfer = $client->flex_api->v1->interaction($interaction_sid)->channels($channel_sid)->transfers($sid)->fetch;

Fetch a specific Transfer by SID. Returns a InteractionTransferInstance.

update

my $interaction_transfer = $client->flex_api->v1->interaction($interaction_sid)->channels($channel_sid)->transfers($sid)->update(\%body);

Update an existing Transfer. Returns a InteractionTransferInstance.

%body is sent as JSON. It can be left out. When given, it takes the names Twilio's API documentation uses.

InteractionTransferInstance

See also Twilio::InstanceResource.

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

Its fields are:

account_sid

The SID of the Account that created the Transfer.

channel_sid

The Channel Sid for this Transfer.

date_created

The date and time when the Transfer was created. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

date_updated

The date and time when the Transfer was last updated. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

execution_sid

The Execution SID associated with the Transfer.

from

The SID of the Participant initiating the Transfer.

instance_sid

The SID of the Instance associated with the Transfer.

interaction_sid

The Interaction Sid for this channel.

note_sid

The SID of the Note associated with the Transfer.

sid

The unique string created by Twilio to identify an Interaction Transfer resource.

status

One of active, failed or completed.

summary_sid

The SID of the Summary associated with the Transfer.

to

The SID of the Participant receiving the Transfer.

type

One of warm, cold or external.

url

No description in the specification.

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.