---
title: "POST /api/companies/{id}/workflows"
method: POST
path: "/api/companies/{id}/workflows"
tags: ["api"]
---

# POST /api/companies/{id}/workflows

`POST /api/companies/{id}/workflows`

## Request body

- WorkflowList
  - `id` string, uuid
  - `company_id` string
  - `event_source` string
  - `event_destination` string
  - `action` string
  - `event` string, required
  - `can_be_supressed` boolean, required
  - `auto_enroll` boolean
  - `channels` string[]

## Response `201`

Created

- WorkflowList
  - `id` string, uuid
  - `company_id` string
  - `event_source` string
  - `event_destination` string
  - `action` string
  - `event` string, required
  - `can_be_supressed` boolean, required
  - `auto_enroll` boolean
  - `channels` string[]

---

[API](https://skmtc.net/haekka/apis/snippets-api.md) · [All operations](https://skmtc.net/haekka/apis/snippets-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/haekka/snippets-api/versions/2a72ba99e389/schema)
