Docs Webhooks
Webhooks
We send an HTTPS POST to your endpoint for each event, signed with your endpoint's secret.
Add an endpoint
Under Developers → Webhooks, enter an https URL and choose all events or one. Endpoints are per mode: a test endpoint only gets test events. We show the signing secret (whsec_…) once. Use Send test event to check your endpoint; it receives an endpoint.ping event.
Events
request.created | A capture request was created. |
request.opened | The recipient opened the capture link. |
request.completed | All required photos were captured and sealed. |
request.expired | The request expired before it was completed. |
request.canceled | The request was canceled. |
request.risk_flagged | Fraud checks rated the request high risk. |
capture.sealed | A photo was received, timestamped and sealed. |
capture.seal_failed | A photo was received but the timestamp could not be obtained yet. |
The data of request events is the request object; for capture events it is the capture object, the same as the API returns.
POST /your/endpoint
Content-Type: application/json
Authintix-Event: capture.sealed
Authintix-Signature: t=1796228883,v1=5f1c…
{
"id": "evt_Qn3hX2…",
"type": "capture.sealed",
"mode": "live",
"created_at": "2026-12-02T09:41:15+00:00",
"data": { "id": "cap_…", "object": "capture", "status": "sealed", … }
}Verify the signature
Use the raw body exactly as received, before any JSON parsing. Reject events older than five minutes.
$payload = file_get_contents('php://input');
try {
$event = Authintix\Webhook::verify($payload, $_SERVER['HTTP_AUTHINTIX_SIGNATURE'] ?? '', getenv('AUTHINTIX_WEBHOOK_SECRET'));
} catch (Authintix\SignatureException $e) {
http_response_code(400);
exit;
}
if ($event['type'] === 'request.completed') {
// mark the claim as documented
}
http_response_code(200);app.post('/webhooks/authintix', express.raw({ type: 'application/json' }), (req, res) => {
let event;
try {
event = Authintix.webhooks.verify(req.body, req.get('Authintix-Signature'), process.env.AUTHINTIX_WEBHOOK_SECRET);
} catch (e) {
return res.sendStatus(400);
}
if (event.type === 'request.completed') { /* … */ }
res.sendStatus(200);
});@app.post('/webhooks/authintix')
def hook():
try:
event = authintix.webhooks.verify(request.get_data(), request.headers.get('Authintix-Signature', ''), os.environ['AUTHINTIX_WEBHOOK_SECRET'])
except authintix.SignatureError:
return '', 400
if event['type'] == 'request.completed':
pass
return '', 200signed = t + "." + raw_request_body
expected = hex(HMAC_SHA256(endpoint_secret, signed))
accept if expected == v1 (constant-time compare)
and |now - t| <= 300 secondsResponses and retries
- Answer with any 2xx within 10 seconds. Do slow work after you answer.
- Anything else, a timeout or a connection error is retried up to 10 times with growing delays, starting at 30 seconds and capped at one hour.
- The same event can arrive twice. Use
idto ignore duplicates. - Events can arrive out of order. Read the object with the API when order matters.
- The dashboard shows each delivery with the payload, your response code and the first 500 characters of your response, and lets you resend it.
- We do not follow redirects, and live endpoints must resolve to a public address.