Create Flow (v2)
documentedCreate a Flow definition in Studio v2.
POST https://studio.twilio.com/v2/FlowsStudiono implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://studio.twilio.com/v2/Flows" \
-X POST \
-u "{{TWILIO_API_KEY}}:{{TWILIO_SECRET}}" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Accept: application/json" \
-d 'friendlyName={{$friendlyName}}' \
-d 'status={{$status}}' \
-d 'definition={{$definition}}' \
-d 'commitMessage={{$commitMessage}}'