API reference
POSTRequires Bearer token
Create a workflow
/api/workflows/create
Start a workflow from a model. Usually sent as multipart (documents + JSON fields).
Path parameters
This endpoint has no path parameters.
Query parameters
This endpoint has no query parameters.
Request body
Send as multipart/form-data.
| Field | Type | Description |
|---|---|---|
workflow_model_id Required | integer | Model to launch. e.g. 1 |
name Required | string | Workflow name. e.g. "Contract ACME" |
client_id | integer | Existing client id. e.g. 12 |
documents[] | string | PDF documents to process. |
Responses
| Status | Meaning |
|---|---|
| 500 | See the example response. |