Validate flow JSON definition

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://twilio.demo.bump-doc.com/doc/studio/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Studio MCP server": {
  "url": "https://twilio.demo.bump-doc.com/doc/studio/mcp"
}
Close
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
}