---
title: "Create a workflow run"
method: POST
path: "/workflow-runs"
tags: ["Workflow Runs"]
---

# Create a workflow run

`POST /workflow-runs`

Creates a new workflow run for the specified workflow.

## Request body

- CreateWorkflowRunRequest
  - `workflowId` string, required — The ID of the Workflow
  - `name` string — The name of the new Workflow Run
  - `dueDate` string, date-time — The due date of the new Workflow Run (Optional)
  - `shared` boolean

## Response `201`

- CreateWorkflowRunResponse
  - `id` string, required — The ID of the Workflow Run
  - `links` object[] — Navigable HATEOAS links to related resources. Each entry has a `name` (RFC-5988 relation), an `href` URL, and a `type` (`Api` or `App`).
    - `name` string, required — Standard link relation name (RFC 5988) indicating this link's role. Common values include `self`, `edit`, `related`, `previous`, `next`.
    - `href` string, required — URL of the linked resource.
    - `rel` 'Approval Task' | 'Approvals' | 'Assignees' | 'Comment' | 'Data Set Records' | 'Data Sets' | 'Form Field Values' | 'Subject Task' | 'Task' | 'Tasks' | 'Users' | 'Webhook' | 'Workflow' | 'Workflow Run' — Optional. The kind of resource this link points to (e.g. `Workflow`, `Task`, `Comment`).
    - `type` 'Api' | 'App', required — Whether this link targets an API endpoint or a Process Street app URL. `Api` — a callable API endpoint you can fetch directly. `App` — a browser-facing URL in the Process Street UI.

## Other responses

- `400` — Invalid value for: body
- `default`

---

[API](https://skmtc.net/process/apis/process-street-public-api.md) · [All operations](https://skmtc.net/process/apis/process-street-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/process/process-street-public-api/revisions/6199a9464227/schema)
