POST /v2/Flows/Validate

Flow definition validator

Validate flow JSON definition

application/x-www-form-urlencoded

Body

  • CommitMessage string

    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

  • 200 application/json

    OK

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

      Boolean if the flow definition is valid

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