You can now subscribe to Studio Events for Executions and Steps instead of polling via the REST API. Simplify your data ingestion with Event Streams for Studio.
A Step is the runtime processing of a Widget, starting when that Widget is entered. Variables get set at the end of a Step.
If you're prompting a user for a text input, when they receive the inbound SMS prompt, they are actively in a Step until they exit the Widget (send a response or timeout). If the prompt is intended to set a variable, this happens at the end.
You can now subscribe to Studio Events for Executions and Steps instead of polling via the REST API. Simplify your data ingestion with Event Streams for Studio.
sid
type: SID<FT>The unique string that we created to identify the ExecutionStep resource.
^FT[0-9a-fA-F]{32}$
34
34
account_sid
type: SID<AC>The SID of the Account that created the ExecutionStep resource.
^AC[0-9a-fA-F]{32}$
34
34
flow_sid
type: SID<FW>The SID of the Flow.
^FW[0-9a-fA-F]{32}$
34
34
execution_sid
type: SID<FN>The SID of the Step's Execution resource.
^FN[0-9a-fA-F]{32}$
34
34
context
type: objectThe 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.
date_created
type: string<date-time>The date and time in GMT when the resource was created specified in ISO 8601 format.
date_updated
type: string<date-time>The date and time in GMT when the resource was last updated specified in ISO 8601 format.
GET https://studio.twilio.com/v2/Flows/{FlowSid}/Executions/{ExecutionSid}/Steps/{Sid}
FlowSid
type: SID<FW>The SID of the Flow with the Step to fetch.
^FW[0-9a-fA-F]{32}$
34
34
ExecutionSid
type: SID<FN>The SID of the Execution resource with the Step to fetch.
^FN[0-9a-fA-F]{32}$
34
34
Sid
type: SID<FT>The SID of the ExecutionStep resource to fetch.
^FT[0-9a-fA-F]{32}$
34
34
GET https://studio.twilio.com/v2/Flows/{FlowSid}/Executions/{ExecutionSid}/Steps
Step resources are listed in reverse chronological order (most recent is first).
FlowSid
type: SID<FW>The SID of the Flow with the Steps to read.
^FW[0-9a-fA-F]{32}$
34
34
ExecutionSid
type: SID<FN>The SID of the Execution with the Steps to read.
^FN[0-9a-fA-F]{32}$
34
34
PageSize
type: integerHow many resources to return in each list page. The default is 50, and the maximum is 1000.
1
Page
type: integerThe page index. This value is simply for client state.
0
For information on data retention in Studio, please reference the Studio User Guide. Keep in mind the following:
Step logs are best-effort delivery. This means that the network does not guarantee that this data will be delivered.