---
title: "Create Workflow Run"
method: POST
path: "/api/companies/{company_uuid}/workflow-runs"
tags: ["workflows"]
---

# Create Workflow Run

`POST /api/companies/{company_uuid}/workflow-runs`

## Request

- Base URL: `https://api.regdoor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.regdoor.com/api/companies/{company_uuid}/workflow-runs`
- Auth: HTTP bearer

Create a new workflow run. Accepts a base64-encoded file upload that will be stored in S3.

## Path parameters

- `company_uuid` string, uuid, required

## Query parameters

- `bucket_name` string

## Headers

- `X-User-Email` string, nullable
- `X-User-Name` string, nullable

## Request body

- WorkflowRunCreate
  - `instance_uuid` string, uuid4, required
  - `run_status` 'Running' | 'Finished' | 'Error'
  - `artifact_file` string, nullable
  - `artifact_content_type` string, nullable
  - `artifact_file_extension` string, nullable
  - `result_link` string, nullable
  - `info` object, nullable

## Response `201`

Successful Response

- WorkflowRun
  - `instance_uuid` string, uuid4, required
  - `run_start` string, date-time, required
  - `run_end` string, date-time, nullable
  - `artifacts` string, nullable
  - `run_status` 'Running' | 'Finished' | 'Error'
  - `result_link` string, nullable
  - `info` object, nullable
  - `uuid` string, uuid4, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `deleted_at` string, date-time, nullable

## Other responses

- `404`: Not found
- `422`: Validation Error

---

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