---
title: "Share Workflow"
method: POST
path: "/api/sharing/workflows"
tags: ["Sharing"]
---

# Share Workflow

`POST /api/sharing/workflows`

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/sharing/workflows`
- Auth: HTTP bearer

Share a workflow with a team or user

## Request body

- ShareWorkflowRequest
  - `workflow_id` string, required
  - `share_with_team_id` string, nullable
  - `share_with_user_id` string, nullable
  - `permission_level` string

## Response `200`

Successful Response

- WorkflowShareResponse
  - `id` string, required
  - `workflow_id` string, required
  - `workflow_name` string, required
  - `shared_by_email` string, required
  - `shared_with_team_name` string, nullable
  - `shared_with_user_email` string, nullable
  - `permission_level` string, required
  - `shared_at` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/qomplement/apis/qomplement-api.md) - [All operations](https://skmtc.dev/qomplement/apis/qomplement-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qomplement/apis/qomplement-api/revisions/6fe617c112ef?raw)
