StudioV2Execution

Triggers a new Execution for the Flow

Changed on

Triggers a new Execution for the Flow

post/v2/Flows/{FlowSid}/Executions

Request

  • Base URL
    https://studio.twilio.com
  • URL
    https://studio.twilio.com/v2/Flows/{FlowSid}/Executions
  • Auth
    HTTP basic

Path parameters

FlowSidstring required

The SID of the Excecution's Flow.

Request body application/x-www-form-urlencoded

Tostring phone-number required

The Contact phone number to start a Studio Flow Execution, available as variable {{contact.channel.address}}.

Fromstring phone-number required

The Twilio phone number to send messages or initiate calls from during the Flow's Execution. Available as variable {{flow.channel.address}}. For SMS, this can also be a Messaging Service SID.

Parametersunknown

Response

Created

sidstring nullable

The unique string that we created to identify the Execution resource.

account_sidstring nullable

The SID of the Account that created the Execution resource.

flow_sidstring nullable

The SID of the Flow.

contact_channel_addressstring nullable

The phone number, SIP address or Client identifier that triggered the Execution. Phone numbers are in E.164 format (e.g. +16175551212). SIP addresses are formatted as name@company.com. Client identifiers are formatted client:name.

contact_sidstring nullable

The SID of the Contact.

flow_versioninteger nullable

The Flow version number at the time of Execution creation.

contextunknown
status'active' | 'ended'

The status of the Execution. Can be: active or ended.

date_createdstring date-time nullable

The date and time in GMT when the resource was created specified in ISO 8601 format.

date_updatedstring date-time nullable

The date and time in GMT when the resource was last updated specified in ISO 8601 format.

initiated_bystring nullable

The SID or identifier that triggered this Execution. For example, a Call SID if triggered by an incoming call, a Message SID if triggered by an incoming message, a Request SID if triggered by a REST API request, and so on.

urlstring uri nullable

The absolute URL of the resource.

linksobject nullable

The URLs of nested resources.

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status