{
"allocation": [],
"application": {
"slug": "AbCdEfGh",
"link": "https://api.au.cr4ce.com/application/AbCdEfGh",
"title": "Sustainable Cities Initiative"
},
"created_at": "2025-01-15T09:00:00Z",
"description": {
"en_GB": ""
},
"file": {
"token": "IjKlMnOpQrStUvWx",
"link": "https://api.au.cr4ce.com/file/IjKlMnOpQrStUvWx",
"name": "certificate.pdf",
"download": "https://files.au.cr4ce.com/file/IjKlMnOpQrStUvWx/certificate.pdf?Expires=1781485359&Signature=REDACTED&Key-Pair-Id=REDACTED"
},
"file_type": "PDF",
"name": {
"en_GB": "Certificate of application"
},
"shared_with_user": false,
"slug": "QrStUvWx",
"user": {
"slug": "YzAbCdEf",
"link": "https://api.au.cr4ce.com/user/YzAbCdEf",
"name": "Jane Smith",
"first_name": "Jane",
"last_name": "Smith"
},
"event": "Document created",
"timestamp": "2026-08-14T09:30:00Z",
"trigger": "document_created",
"source": "api"
}Documents
Document deleted
WEBHOOK
document-deleted
{
"allocation": [],
"application": {
"slug": "AbCdEfGh",
"link": "https://api.au.cr4ce.com/application/AbCdEfGh",
"title": "Sustainable Cities Initiative"
},
"created_at": "2025-01-15T09:00:00Z",
"description": {
"en_GB": ""
},
"file": {
"token": "IjKlMnOpQrStUvWx",
"link": "https://api.au.cr4ce.com/file/IjKlMnOpQrStUvWx",
"name": "certificate.pdf",
"download": "https://files.au.cr4ce.com/file/IjKlMnOpQrStUvWx/certificate.pdf?Expires=1781485359&Signature=REDACTED&Key-Pair-Id=REDACTED"
},
"file_type": "PDF",
"name": {
"en_GB": "Certificate of application"
},
"shared_with_user": false,
"slug": "QrStUvWx",
"user": {
"slug": "YzAbCdEf",
"link": "https://api.au.cr4ce.com/user/YzAbCdEf",
"name": "Jane Smith",
"first_name": "Jane",
"last_name": "Smith"
},
"event": "Document created",
"timestamp": "2026-08-14T09:30:00Z",
"trigger": "document_created",
"source": "api"
}Headers
HMAC SHA256 signature of the request body. Generated using the webhook's signing key and the raw JSON payload.
Generate the same value in your endpoint and compare it with this header to validate the webhook payload.
Example:
"a1b2c3d4e5f67890abcdef1234567890abcdef1234567890abcdef1234567890"
Body
application/json
Payload delivered for document-related events.
Document generated from a document template and attached to an application, allocation, or user.
Machine-readable event key that fired the webhook. Full list of events can be found here.
Example:
"document_created"
Response
200
Return any 2xx status code to acknowledge receipt of the event.