Skip to content

Result Push

Optional. When a SafeCam case is closed, Vaarhaft sends all live photos and the PDF inspection report to an endpoint you provide. The push is configured per account by Vaarhaft (endpoint URL, optional bearer token, report language de / en / pl).

Result push to your endpoint
Webhook

Request

Sent to POST {your url}/{caseNumber} (case number URL-encoded) whenever a SafeCam case is closed - automatically, by a claims handler, or because the policyholder withdrew the claim or asked for an inspection.

  • Every push carries the complete current state of the case - after a re-trigger also the photos of earlier sessions. Replace what you stored for the case number instead of appending.
  • Exactly one attempt, timeout 20 seconds, no retry. Any 2xx counts as delivered.
  • The outcome is visible in GET /safecam/status under resultPush.
  • Photos are included up to 100 MB in total.

What arrives at your endpoint - a real multipart request, the parts contain the raw file bytes (no JSON, no Base64):

POST /safecam-results/300%2F2025%2F012578 HTTP/1.1
Host: your-system.example.com
Authorization: Bearer <token>
Content-Type: multipart/form-data; boundary=----VaarhaftSafeCam4f1c...

------VaarhaftSafeCam4f1c...
Content-Disposition: form-data; name="fotos"; filename="6b1e0c2a-3f5d-4b8e-9a7c-1d2e3f4a5b6c.jpg"
Content-Type: image/jpeg

<JPEG bytes>
------VaarhaftSafeCam4f1c...
Content-Disposition: form-data; name="fotos"; filename="9c8d7e6f-5a4b-4c3d-8e2f-1a0b9c8d7e6f.jpg"
Content-Type: image/jpeg

<JPEG bytes>
------VaarhaftSafeCam4f1c...
Content-Disposition: form-data; name="bericht"; filename="012578_pruefbericht.pdf"
Content-Type: application/pdf

<PDF bytes>
------VaarhaftSafeCam4f1c...--
PartCountContent-TypeFile name
fotos1..nimage/jpeg, image/png, image/webp, image/heic, image/heif<uuid>.<ext>
bericht1application/pdf<case number>_pruefbericht.pdf - only A-Z a-z 0-9 . _ - are kept; for case numbers with / only the part after the last / is used
Headers
Authorizationstring

Bearer <token> if a token is configured for your account.

Bodymultipart/form-datarequired
fotosArray of strings, (binary)

All live captures of the case - one file part per photo, raw image bytes, all sessions.

berichtstring, (binary)

PDF inspection report as raw file bytes, file name {caseNumber}_pruefbericht.pdf.

Payload
{
  "fotos": [
    "<binary: 6b1e0c2a-3f5d-4b8e-9a7c-1d2e3f4a5b6c.jpg (image/jpeg)>",
    "<binary: 9c8d7e6f-5a4b-4c3d-8e2f-1a0b9c8d7e6f.jpg (image/jpeg)>"
  ],
  "bericht": "<binary: 012578_pruefbericht.pdf (application/pdf)>"
}

Responses

Your endpoint accepted the push.