NAME

Twilio::Rest::Studio::V1::Flow::Engagement::EngagementContext - The EngagementContext resource

SYNOPSIS

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

my $engagement_context = $client->studio->v1->flows($flow_sid)->engagements($engagement_sid)->engagement_context->fetch;

DESCRIPTION

[DEPRECATED] JSON context for engagements

This file holds EngagementContextContext and EngagementContextInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

EngagementContextContext

Returned by $client->studio->v1->flows($flow_sid)->engagements($engagement_sid)->engagement_context. It makes no request until one of these methods is called.

fetch

my $engagement_context = $client->studio->v1->flows($flow_sid)->engagements($engagement_sid)->engagement_context->fetch;

Retrieve the most recent context for an Engagement. Returns a EngagementContextInstance.

EngagementContextInstance

See also Twilio::InstanceResource.

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

Its fields are:

account_sid

The SID of the Account.

context

As your flow executes, we save the state in what's called the Flow Context. Any data in the flow context can be accessed by your widgets as variables, either in configuration fields or in text areas as variable substitution.

engagement_sid

The SID of the Engagement.

flow_sid

The SID of the Flow.

url

The URL of the resource.

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.