Retrieve a specific Flow revision

GET /v2/Flows/{Sid}/Revisions/{Revision}

Studio flows revisions

Retrieve a specific Flow revision.

Path parameters

  • Sid string Required

    The SID of the Flow resource to fetch.

  • Revision string Required

    Specific Revision number or can be LatestPublished and LatestRevision.

Responses

  • OK

    Hide response attributes Show response attributes object
    • account_sid string | null

      The SID of the Account that created the resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • commit_message string | null

      Description of change made in the revision

    • date_created string(date-time) | null

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

    • date_updated string(date-time) | null

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

    • JSON representation of flow definition

    • errors array | null

      List of error in the flow definition

    • friendly_name string | null

      The string that you assigned to describe the Flow

    • revision integer | null

      The latest revision number of the Flow's definition

    • sid string | null

      The unique string that identifies the resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^FW[0-9a-fA-F]{32}$.

    • status string | null

      The status of the Flow

      Values are draft or published.

    • url string(uri) | null

      The absolute URL of the resource

    • valid boolean | null

      Boolean if the flow definition is valid

GET /v2/Flows/{Sid}/Revisions/{Revision}
curl \
 -X GET https://studio.twilio.com/v2/Flows/{Sid}/Revisions/{Revision} \
 --user "username:password"
Response examples (200)
{
  "account_sid": "string",
  "commit_message": "string",
  "date_created": "2023-05-04T09:42:00+00:00",
  "date_updated": "2023-05-04T09:42:00+00:00",
  "errors": [],
  "friendly_name": "string",
  "revision": 42,
  "sid": "string",
  "status": "draft",
  "url": "https://example.com",
  "valid": true
}
Response examples (200)
{
  "account_sid": "string",
  "commit_message": "string",
  "date_created": "2024-05-04T09:42:00+00:00",
  "date_updated": "2024-05-04T09:42:00+00:00",
  "errors": [],
  "friendly_name": "string",
  "revision": 42,
  "sid": "string",
  "status": "draft",
  "url": "https://example.com",
  "valid": true
}