NAME

Twilio::Rest::Studio::V1::Flow::Engagement::Step::StepContext - The StepContext resource

SYNOPSIS

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

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

DESCRIPTION

JSON context for individual steps

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

StepContextContext

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

fetch

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

Retrieve the context for an Engagement Step. Returns a StepContextInstance.

StepContextInstance

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 that created the StepContext resource.

context

The current state of the Flow's Execution. As a flow executes, we save its state in this context. We save data that your widgets can access as variables in configuration fields or in text areas as variable substitution.

engagement_sid

The SID of the Engagement.

flow_sid

The SID of the Flow.

step_sid

The SID of the Step the context is associated with.

url

The absolute 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.