The SID of the Account that created the ExecutionStepContext resource.
^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
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.
The SID of the context's Execution resource.
^FN[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the Flow.
^FW[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the Step that the context is associated with.
^FT[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The absolute URL of the resource.
GET https://studio.twilio.com/v2/Flows/{FlowSid}/Executions/{ExecutionSid}/Steps/{StepSid}/Context
The SID of the Flow with the Step to fetch.
^FW[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the Execution resource with the Step to fetch.
^FN[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the Step to fetch.
^FT[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function fetchExecutionStepContext() {11const stepContext = await client.studio.v212.flows("FWXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")13.executions("FNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")14.steps("FTXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")15.stepContext()16.fetch();1718console.log(stepContext.accountSid);19}2021fetchExecutionStepContext();
1{2"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",3"context": {4"foo": "bar"5},6"flow_sid": "FWXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",7"execution_sid": "FNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",8"step_sid": "FTXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",9"url": "https://studio.twilio.com/v2/Flows/FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Executions/FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Steps/FTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Context"10}