Skip to content

Case completed
Webhook

Request

Sent once every file in an upload batch has processed successfully and the case is completed, after the batch's file.processed events. Not sent when the case ends partially completed (any file in ERROR). A later upload to the same case starts a new batch with its own case.completed.

Headers
X-Wisedocs-Event-Idstring, (uuid)required

The event's id. Identical on every delivery attempt and resend of the same event; use it to deduplicate.

Example:3f6c1d2e-8a4b-5c7d-9e0f-1a2b3c4d5e6f
X-Wisedocs-Event-Typestringrequired

The event's type.

Enum:"file.processed""case.completed""export.completed"
Example:case.completed
X-Wisedocs-Delivery-Attemptinteger, >= 1required

Delivery attempt number, starting at 1.

Example:1
X-Wisedocs-Signaturestring

Present when a signing secret is configured. Format t=<unix seconds>,v1=<hex>, where v1 is the HMAC-SHA256 of <t>.<raw request body> keyed with the signing secret. t is set per attempt.

Example:t=1763896800,v1=5f2b0c1e8d7a6b4c3e2f1a0b9c8d7e6f5a4b3c2d1e0f9a8b7c6d5e4f3a2b1c0d
Authorizationstring

Present when an HTTP Basic credential is configured: Basic <base64(username:password)>. It replaces any Authorization value in your custom headers.

Example:Basic c3ZjOnBhc3N3b3Jk
User-Agentstringrequired

Identifies Wisedocs webhook deliveries.

Example:Wisedocs-Webhooks/1.0
Bodyapplication/jsonrequired
idstring, (uuid)required

Event ID. Deterministic: every retry and resend of the same occurrence carries the same id. Use it as your deduplication key.

Example:"3f6c1d2e-8a4b-5c7d-9e0f-1a2b3c4d5e6f"
typestringrequired

Event type.

Value:"case.completed"
Example:"case.completed"
createdAtstring, (date-time)required

When the event was created, in UTC with second precision and a Z suffix.

Example:"2026-11-23T10:15:30Z"
tenantstringrequired

Your Wisedocs workspace.

Example:"acme"
dataobject(CaseCompletedData)required

Event-specific payload.

POST
case.completed
Payload
{ "id": "5b8e3f40-ac6d-5e9f-b021-3c4d5e6f7081", "type": "case.completed", "createdAt": "2026-11-23T10:16:02Z", "tenant": "acme", "data": { "caseUuid": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d", "lastUploadDate": "2026-11-23T10:02:11Z", "batchId": "9ee18c53-2d4a-5b6c-8e7f-0a1b2c3d4e5f" } }

Responses

Any 2xx status marks the event as delivered. The response body is ignored. Respond within 10 seconds.