---
title: "Upload a form field value"
method: POST
path: "/workflow-runs/{workflowRunId}/form-fields/{formFieldId}/upload"
tags: ["Form Field Values"]
---

# Upload a form field value

`POST /workflow-runs/{workflowRunId}/form-fields/{formFieldId}/upload`

Uploads one or more files to a File or MultiFile form field in a workflow run.

Note:<br>
This endpoint supports both single-file and multi-file form fields.<br>
File fields can accept exactly one file and it will replace the current file.<br>
MultiFile fields can accept multiple files per request, up to 10 files total, subject to the field's configuration.
These files will be appended to the field.<br>
The maximum file size supported by this endpoint is 20 MB per file for multipart uploads and 10 MB per file for Base64 uploads.

Alternatively, send JSON `{ "fileUploadId": "..." }` to attach a file you uploaded with the `createFileUpload` endpoint. The `fileUploadId` is single-use.

## Path parameters

- `workflowRunId` string, required
- `formFieldId` string, required

## Request body

- UploadFormFieldValueRequest
  - `file` string[] — Uploaded file reference. Use the upload endpoint to attach content.
  - `fileBase64` object[]
    - `content` string, required — Rich text content. May contain merge tags.
    - `filename` string, required
  - `fileUploadId` string

## Response `204`

## Other responses

- `400` — Invalid value
- `default`

---

[API](https://skmtc.net/process/apis/process-street-public-api.md) · [All operations](https://skmtc.net/process/apis/process-street-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/process/process-street-public-api/revisions/6199a9464227/schema)
