Attachments
Upload an attachment
Uploads a file as a task-level attachment.
Requires workflowRunId and taskId to identify the target task. Accepts multipart form data (fields workflowRunId + taskId + file) or JSON with base64-encoded content (fields workflowRunId + taskId + fileBase64). Maximum file size: 20 MB for multipart, 10 MB for base64. You can also send workflowRunId + taskId + fileUploadId to attach a file you uploaded with createFileUpload; the fileUploadId is single-use.
post/attachments
Request body
Response
Example response
{
"data": {
"createdBy": {
"id": "oU4EEGRPtELpR1x1YUJMeQ",
"email": "jane.doe@example.com",
"username": "Jane Doe"
},
"taskId": "u76GBMquNqKR77QOJkBLlA",
"workflowRunId": "u76GBMquNqKR77QOJkBLlA",
"workflowId": "u76GBMquNqKR77QOJkBLlA",
"links": [
{
"href": "https://api.process.st/api/v1.1/resource/XXX"
}
]
},
"links": [
{
"href": "https://api.process.st/api/v1.1/resource/XXX"
}
]
}