Skip to main content
POST
Run

Behavior

  • Asynchronous. This call queues the run and returns immediately with the new run’s id — it does not wait for the run to finish.
  • Input must match the Flow’s active version input schema. This is validated before the run is queued.
  • Poll Get Run with the returned id to check status and retrieve the result.
  • flowId is the Flow’s id (UUID) or its identifier (the human-readable handle shown on the Flow page, e.g. kyc-review). Both forms behave identically: POST /flows/kyc-review/runs and POST /flows/8df9ea7e-6185-4d9f-bf4f-04c7f7278c2b/runs queue the same run. Identifiers are unique within your account and never change, so renaming a Flow does not affect calls that use its identifier.
  • Returns 404 if flowId does not exist, or belongs to a different customer.
  • Returns 409 with code: "NO_ACTIVE_VERSION" if the Flow has no published active version.
  • Returns 400 with code: "VALIDATION_ERROR" if input does not satisfy the active version’s input schema. The response body includes details, an array of { field, message } objects identifying each failing field:

Authorizations

X-API-KEY
string
header
required

Path Parameters

flowId
string
required

The Flow to run: its id (UUID) or its identifier (e.g. kyc-review). Both forms are equivalent.

Body

application/json
input
object
required

Run input. Must match the Flow's active version input schema.

Response

Run queued

id
string
required

The new run's id. Use it with GET /flow-runs/{runId} to poll for the result.