Skip to content

Set Task Attachments

Set or update file attachments on a task instance. Accessible to users with ADMIN or ADD_ATTACHMENTS permissions, or users assigned to the task.

Parameters

name * are required parametersdata typedescription
instanceId*stringThe unique identifier of the task instance
body.attachments*object[]Array of attachment objects with name and url

Return Value

The updated task instance with attachments.

Examples

bash
curl -X PUT "https://app.wombat.software/api/{targetPath}/task/:instanceId/attachments" \
  -H "Content-Type: application/json" \
  -H "Authentication: Bearer ..." \
  -d '{"attachments": [{"name": "evidence.jpg", "url": "gs://bucket/evidence.jpg"}]}'

ENDPOINTS

put/api/{targetPath}/task/:instanceId/attachments