Validate flow JSON definition
Flow definition validator
Validate flow JSON definition
Body
-
CommitMessage string
Description of change made in the revision.
-
Definition Required
JSON representation of flow definition.
-
The string that you assigned to describe the Flow.
-
The status of the Flow. Can be:
draft
orpublished
.Values are
draft
orpublished
.
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
}