Skip to main content
POST
Restore a flow version

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.

historyId
string
required

The snapshot to restore, the id of an entry of List flow versions for this same flow. A snapshot of another flow answers 404.

Response

The draft was restored. Publish it to make it live.

The outcome of a restore. The restored draft is not published yet.

message
string
required

A sentence naming the snapshot the draft was restored to.

historyId
string
required

The snapshot the draft was restored to.