WorkflowDispatchDefinitions
Operations of the Workflow Engine API. Paths are relative to your deployment's API host.
GET /api/workflow-engine-api/workflow-dispatch-definitions
List workflow dispatch definitions
Lists definitions the caller's org owns. Filter by projectId and/or workflowSlug. Without projectId, both org-wide and project-scoped definitions are returned.
Authentication: bearer token (Authorization: Bearer <token>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
projectId | query | string | no | Narrow to definitions scoped to this project. Org-wide definitions (no project) are NOT included when this is set. |
workflowSlug | query | string | no | Narrow to definitions for this workflow slug. |
| Status | Description | Body |
|---|---|---|
| 200 | application/json WorkflowDispatchDefinitionResponseDtoDataArrayEnvelope |
POST /api/workflow-engine-api/workflow-dispatch-definitions
Create a workflow dispatch definition
Saves a named overlay (revision / inputs / briefcase / walletRefs) for one workflow slug under the caller's org. Pass projectId to scope the definition to a single project; omit it for an org-wide definition.
Authentication: bearer token (Authorization: Bearer <token>)
Request body: application/json CreateWorkflowDispatchDefinitionDto
| Status | Description | Body |
|---|---|---|
| 201 | application/json WorkflowDispatchDefinitionResponseDtoDataEnvelope |
GET /api/workflow-engine-api/workflow-dispatch-definitions/{id}
Get a workflow dispatch definition by id
Returns the definition when it belongs to the caller's org. A cross-org or unknown id returns the same 404.
Authentication: bearer token (Authorization: Bearer <token>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 200 | application/json WorkflowDispatchDefinitionResponseDtoDataEnvelope |
PATCH /api/workflow-engine-api/workflow-dispatch-definitions/{id}
Update a workflow dispatch definition
Mutates name and/or overlay. workflowSlug and scope are immutable — re-target by delete + create. An empty body is rejected.
Authentication: bearer token (Authorization: Bearer <token>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
Request body: application/json UpdateWorkflowDispatchDefinitionDto
| Status | Description | Body |
|---|---|---|
| 200 | application/json WorkflowDispatchDefinitionResponseDtoDataEnvelope |
DELETE /api/workflow-engine-api/workflow-dispatch-definitions/{id}
Delete a workflow dispatch definition
Removes the definition. A cross-org or unknown id returns 404. References to a deleted definition fail fast at dispatch time.
Authentication: bearer token (Authorization: Bearer <token>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 200 | application/json DeleteWorkflowDispatchDefinitionResponseDtoDataEnvelope |