Validate flow JSON definition

POST /v2/Flows/Validate

Flow definition validator

Validate flow JSON definition

Body

  • Description of change made in the revision.

  • Definition Required

    JSON representation of flow definition.

  • FriendlyName string Required

    The string that you assigned to describe the Flow.

  • Status string Required

    The status of the Flow. Can be: draft or published.

    Values are draft or published.

Responses

  • OK

    Hide response attribute Show response attribute object
    • valid boolean | null

      Boolean if the flow definition is valid

POST /v2/Flows/Validate
curl \
 -X POST https://studio.twilio.com/v2/Flows/Validate \
 --user "username:password" \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -d 'CommitMessage=string&FriendlyName=string&Status=draft'
Request example
{
  "CommitMessage": "string",
  "FriendlyName": "string",
  "Status": "draft"
}
Request examples
{
  "CommitMessage": "string",
  "FriendlyName": "string",
  "Status": "draft"
}
Response examples (200)
{
  "valid": true
}
Response examples (200)
{
  "valid": true
}