---
title: "Create Workflow Submission"
method: POST
path: "/workflow-execute/{workflowPath}"
tags: ["Workflow"]
---

# Create Workflow Submission

`POST /workflow-execute/{workflowPath}`

## Request

- Base URL: `https://env.unqork.io/api/1.0`
- URL: `https://env.unqork.io/api/1.0/workflow-execute/{workflowPath}`
- Auth: OAuth 2
  - Client credentials
  - Password
  - Token URL: `https://xyzfinancial.unqork.io/api/1.0/oauth2/access_token`
- TypeScript: <https://skmtc.dev/unqork/apis/unqork-customer-api/docs/workflow-execute/:workflowPath/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a new workflow submission. Submission ID is auto-generated and returned. Workflow submission data must be provided as a JSON object. The default start node will be used.
### Authorization Required:
  - Application View or Express Read

## Path parameters

- `workflowPath` string, required

## Request body

- WorkflowStartRequest
  - `userId` string: Submission owner
  - `data` object: Raw data to include in submission.

## Response `200`

Submissions

- WorkflowCreateSubmissionResponse[]
  - `submissionId` string: ID of submission
  - `submission` SavedSubmissionResponse
    - `id` string, required
    - `userId` string: Submission owner
    - `moduleId` string, required
    - `created` string, date-time, required
    - `modified` string, date-time, required
    - `deleted` string, date-time
    - `data` object: Raw output data
      - `rawData` object
    - `metadata` object
    - `validationErrors` object[]
      - `id` string
      - `path` string
      - `label` string
      - `parent` string
      - `message` string
  - `statusCode` integer: Error or success response code

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/unqork/apis/unqork-customer-api.md) - [All operations](https://skmtc.dev/unqork/apis/unqork-customer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unqork/apis/unqork-customer-api/revisions/13dad4096373?raw)
