Skip to main content
PATCH
Update 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 write to answers 404, indistinguishable from one that does not exist.

Body

application/json

The change to apply.

typebot
object
required

The fields to change, and only those, plus updatedAt. Fields you omit keep their stored value, except that groups, edges, events, variables, settings and theme replace the stored value as a whole when sent.

Response

The flow after the change.

A flow as stored after a write. Its updatedAt is the value to send as typebot.updatedAt on the next Update a flow and as expectedUpdatedAt on Publish a flow.

typebot
object
required

A flow with its full definition.