latestOpenAPI 3.1.02026-08-171503582.2 MB

6199a9464227

Form Field Values

Upload a form field value

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.

post/workflow-runs/{workflowRunId}/form-fields/{formFieldId}/upload

Path parameters

workflowRunIdstring required

The ID of the Workflow Run

formFieldIdstring required

Form Field ID

Request body

filestring[]

Uploaded file reference. Use the upload endpoint to attach content.

fileUploadIdstring