The SID of the Account that created the ExecutionContext 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 Flow.
^FW[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the context's Execution resource.
^FN[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The absolute URL of the resource.
GET https://studio.twilio.com/v1/Flows/{FlowSid}/Executions/{ExecutionSid}/Context
The SID of the Flow with the Execution context to fetch.
^FW[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the Execution context to fetch.
^FN[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 fetchExecutionContext() {11const executionContext = await client.studio.v112.flows("FWXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")13.executions("FNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")14.executionContext()15.fetch();1617console.log(executionContext.accountSid);18}1920fetchExecutionContext();
1{2"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",3"context": {4"foo": "bar"5},6"flow_sid": "FWXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",7"execution_sid": "FNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",8"url": "https://studio.twilio.com/v1/Flows/FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Executions/FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Context"9}