---
title: "Get Workflow Submission"
method: GET
path: "/workflows/{workflowId}/submissions/{submissionId}"
tags: ["Submissions"]
---

# Get Workflow Submission

`GET /workflows/{workflowId}/submissions/{submissionId}`

## Request

- Base URL: `https://env.unqork.io/api/1.0`
- URL: `https://env.unqork.io/api/1.0/workflows/{workflowId}/submissions/{submissionId}`
- 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/workflows/:workflowId/submissions/:submissionId/get.ts> (a function with typed inputs; its response is checked against the schema)

Gets a single workflow submission. Workflow submission data is transformed and returned is a specific format, based on the specified transform. JSON submission data is returned as an object, XML data is returned as a string, and PDF data is returned as a [Cloud Storage Delivery URL](#section/Cloud-Storage-Delivery) to the rendered PDF (and optionally base 64 data).
### Authorization Required:
  - See Submission Access ([Submission Access](#submission-access))

## Path parameters

- `workflowId` string, required
- `submissionId` string, required

## Query parameters

- `transformName` string
- `includeRaw` boolean
- `includeBase64` boolean
- `resolveCloudStorageUrls` boolean
- `dataFields` string

## Response `200`

Submission

- RetrievedSubmissionResponse
  - `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, required: Transformed output data
    - `format` 'json' | 'xml' | 'pdf'
    - `jsonData` object
    - `xmlData` string
    - `pdfUrl` string, url
    - `pdfData` string
    - `rawData` object
  - `metadata` object
  - `validationErrors` object[]
    - `id` string
    - `path` string
    - `label` string
    - `parent` string
    - `message` string

## 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)
