Updates multiple documents. Returns 200 on success, or 400 if any entry fails validation.
Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
PUT
/api-v1/document/batch
curl \
--request PUT 'https://wyzio.app/api-v1/document/batch' \
--header "Content-Type: application/json" \
--data '[{"id":12345678,"entityId":12345678,"name":"string","fileId":12345678,"date":"2026-01-01T00:00:00.000Z","tags":[{"id":12345678,"name":"Tag name"}],"contact":{"id":12345678},"module":"UNASSIGNED","comments":"string","self":true}]'
Request examples
# Headers
# Payload
[
{
"id": 12345678,
"entityId": 12345678,
"name": "string",
"fileId": 12345678,
"date": "2026-01-01T00:00:00.000Z",
"tags": [
{
"id": 12345678,
"name": "Tag name"
}
],
"contact": {
"id": 12345678
},
"module": "UNASSIGNED",
"comments": "string",
"self": true
}
]
Response examples (200)
{
"items": [
{
"errorCode": {
"errorCode": "NO_ERROR",
"errorDetailValues": [
{
"errorCode": "string",
"fieldName": "string",
"data": "string",
"isSevere": true
}
]
},
"possibleWorkflows": [
{
"id": 42,
"name": "string"
}
],
"error": true,
"severeError": true
}
]
}