Docs
API ReferenceReferenceFlows

Get a flow's draft

GET
/flows/{flowId}/draft

The editable view of the flow's DRAFT, published or not. Requires the flows:read scope.

AuthorizationBearer <token>

An organization API key, created from a Portal's Webhooks page (Provisioning API card). The secret is shown once at creation and stored only as a hash. Keys are organization-wide and carry scopes (end_users:read, end_users:write). Rate limit: 120 requests per minute per key (sliding 60-second window).

In: header

Path Parameters

flowId*string
Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/flows/497f6eca-6276-4993-bfeb-53cbbbba6f08/draft"
{  "flow": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "slug": "string",    "description": "string",    "kind": "form",    "questions": [      {        "id": "string",        "label": "string"      }    ],    "inputs": [      {        "key": "string",        "label": "string",        "description": "string",        "type": "string",        "required": true,        "options": [          "string"        ]      }    ],    "nodes": [      {        "id": "string",        "type": "trigger_start",        "data": {},        "blocks": [          {}        ]      }    ],    "published": true,    "productionVersionId": "a45124a6-f1ae-495a-9d4c-946315091da1",    "versionCount": 0,    "lastChange": {      "at": "2019-08-24T14:15:22Z",      "by": "string",      "source": "ui",      "action": "string",      "summary": "string"    },    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}