---
title: "Create Flow"
method: POST
path: "/v1/flows"
tags: ["Flows"]
---

# Create Flow

`POST /v1/flows`

Creates a Flow.

## Request body

- CreateFlowRequest
  - `name` string, required — The name of the Flow.
  - `description` string, required — A description of the Flow.

## Response `201`

A Flow ID

- CreateFlowResponse
  - `flowId` string, required — The Sohar ID for the Flow.

## Other responses

- `400` — Invalid request
- `403` — Unauthorized
- `500` — Internal error

---

[API](https://skmtc.dev/soharhealth/apis/sohar-api.md) · [All operations](https://skmtc.dev/soharhealth/apis/sohar-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/soharhealth/sohar-api/revisions/2cb5fa45c18c/schema)
