API V3Document
Update a document
Update a previously uploaded document. Use this endpoint to correct the display name of a document or to change whether it is visible to the debtor in MyCase.
All fields are optional; only the fields present in the request are changed.
- The
file_namemust end with.pdf. - The
descriptionfield represents the subject of the document and is the display name in MyCase. - The
visible_for_customerfield controls whether the file is visible in MyCase. This setting must also be enabled if the attachment is referenced in an email.
Response
On success the endpoint responds with 200 and the updated document, in the same format as the POST /v3/documents response.
PATCH
/v3/documents/{id}curl -X PATCH "https://api.pom.eu/v3/documents/{id}" \
-H "Authorization: Bearer $POM_API_DOCUMENTATION_API_KEY" \
-H "Content-Type: application/merge-patch+json" \
-d '{
"file_name": "1234567890.pdf",
"description": "Factuur",
"visible_for_customer": true
}'Authorization
AuthorizationstringheaderrequiredOAuth 2.0 client credentials Grant
Parameters
idstringpathrequiredDocument identifier
Body
application/merge-patch+json
The updated Document resource
file_namestring | nulldescriptionstring | nullvisible_for_customerboolean | null
Response
application/json
Document resource updated
document_idintegerdebtor_numberstringdescriptionstringfile_namestringcidinteger | nullvisible_for_customerbooleandate_createdstring<date-time>
{
"document_id": 0,
"debtor_number": "string",
"description": "string",
"file_name": "string",
"cid": 0,
"visible_for_customer": true,
"date_created": "2026-01-15T09:30:00Z"
}