Validate Workflow Definition
Limited availability. The workflow API is currently enabled for selected sub-accounts only; any other sub-account receives 403 WORKFLOW_API_NOT_ENABLED_FOR_LOCATION.
Run the full save pipeline against a definition and report what a real save would do. Nothing is persisted. Returns 200 with valid: false when the definition is rejected — a 4xx here means the request itself was malformed.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
workflows. writeOAuthPrivate IntegrationSub-Account TokenRequest
Headers
API Version. Send v3.
v3v3Query Parameters
Sub-account (location) ID the workflow belongs to
ve9EPM428h8vShlRW1KTBody
Workflow name
Possible values: <= 500 characters
Welcome seriesWhere this definition came from
{
"system": "api"
}
Triggers that enrol contacts. May be empty — a workflow with no trigger can still be entered by another workflow or by the API — but the key must be present.
[
{
"type": "contact_created",
"name": "New contact"
}
]
How multiple triggers combine. Echoed by Get Workflow Definition; ignored on write — the system always stores or.
andororSteps. May be an empty array, but the key must be present.
[
{
"id": "send-welcome-sms",
"type": "sms",
"attributes": {
"body": "Hi there"
}
},
{
"id": "send-follow-up-sms",
"type": "sms",
"attributes": {
"body": "Still interested?"
}
}
]
Connections between steps. May be empty, but the key must be present.
[
{
"from": "send-welcome-sms",
"to": "send-follow-up-sms"
}
]
Workflow-level settings
{
"timezone": "account"
}
Single-segment folder to place the workflow in. Mutually exclusive with folderPath.
SalesFolder path, outermost first, max 10 levels. Mutually exclusive with folderName.
["Sales","Q3"]Create the folder if it does not exist. Requires folderName or folderPath.
trueThe workflow's version counter, owned by the system — not a format version. Get Workflow Definition fills it in; leave it untouched and send it back on update, and a concurrent edit in the builder can never be silently overwritten. A stale value is rejected with 422.
Treat it as opaque: echo it, never compute from it. It does not always advance by one (delete and restore each add 0.1, and a later save rounds up), so it is not always an integer.
Optional here: a create-shaped definition has no counter yet.
3Validate as an update of this workflow rather than as a create. 404 if it does not exist.
b1b0de82-3efb-4d63-83f6-13c50aef208cResponse
Validation result
Whether this exact body would save right now. false is still a 200.
falseBlocking findings
Non-blocking findings