---
title: "Create User Workflow"
method: POST
path: "/v0/users/{user_id}/workflows"
tags: ["users"]
---

# Create User Workflow

`POST /v0/users/{user_id}/workflows`

Creates a new workflow owned by the user.

## Path parameters

- `user_id` string, required

## Request body

- UserWorkflowCreationRequest
  - `params` object — Optional workflow parameters
  - `type` string, required — Type of workflow to create

## Response `200`

- UserWorkflowCreationResponse
  - `active_description` string — Active description of current workflow step
  - `id` string, required — Workflow ID
  - `number_of_tasks` integer — Number of tasks in the workflow

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error
- `503` — Service Unavailable

---

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