Skip to main content
GET
Validate a flow

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

flowId
string
required

The flow's internal id, e.g. clx9z8y7x6w5v4u3t2s1. Get it from List flows (the id field of each flow). It is NOT the publicId slug that appears in a flow's public URL: a slug answers 404 here. A flow your token cannot reach answers 404, indistinguishable from one that does not exist.

Response

The verdict on the current draft. Publish only when isValid is true.

The verdict of validating a flow's current draft.

isValid
boolean
required

True when no item of errors has severity error. Warnings do not make it false.

errors
object[]
required

Everything the validation found, errors and warnings. Empty when the draft is clean.