Batch replace attachments

Replace the attachments on many Records in one request. Each Record's attachments are overwritten with the files supplied for it, reusing files whose name and checksum already match and removing the rest.

Authentication

AuthorizationBearer

Authenticate every request with Authorization: Bearer <api-key>. Manage keys in Workspace Admin > Security & access.

Request

This endpoint expects a multipart form with multiple files.
filesfilesRequired
itemsstringRequired

Response

Accepted
successfulIdsmap from strings to stringsOptional
failedlist of objectsOptional
successCountanyOptional
failureCountanyOptional

Errors

400
Bad Request Error
422
Unprocessable Entity Error