Skip to content

Set Form Attachments

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

Parameters

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

Return Value

The updated form instance with attachments.

Examples

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

ENDPOINTS

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