---
title: "Upload Module Submission Attachment"
method: POST
path: "/modules/{moduleId}/submissions/attachments"
tags: ["Submissions"]
---

# Upload Module Submission Attachment

`POST /modules/{moduleId}/submissions/attachments`

## Request

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

Uploads a file attachment for use in module submissions. Returns a Cloud Storage Delivery URL that can be referenced in submission data.
### Authorization Required:
  - Authenticated

## Path parameters

- `moduleId` string, required

## Request body `multipart/form-data`

- object
  - `file` string, binary, required: The file to upload as an attachment

## Response `200`

Attachment uploaded successfully

- object
  - `url` string, url: Cloud Storage Delivery URL for the uploaded file

## Other responses

- `default`: Error

## Changes

- **2026-08-28** `aeeb446fa304`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/unqork/apis/unqork-customer-api/changes/modules/:moduleId/submissions/attachments/post.md)

---

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