Appearance
Webhooks
Webhooks are an important part of the EyeDP platform. They tell your systems when something happens on a case, so you don't have to keep asking. There are two kinds:
- Check webhooks tell you when a check has completed, ended in an error, or couldn't run because data it needs is missing. They also tell you when a document's extraction has finished, or its files were deleted: neither is a check, but their events use the same payload. Checks and extraction are performed asynchronously in the background, so webhooks are the only way of getting notified of what happened to them without polling.
- Case change webhooks tell you when a case is created, its details change, or it's deleted, so you can keep your own copy of the case up to date. See Case change webhooks.
Events
These are all the events webhooks can be setup for.
| Event name | Description |
|---|---|
| tamper-detection/completed | Tamper detection check has completed |
| content-validation/completed | Content Validation check has completed. Not sent for a document whose extraction failed, because the check doesn't run on it: content-validation/could-not-run is sent instead. Also sent when Monitor Document Expiry raises a new expiry risk. |
| anomaly-detection/completed | Anomaly Detection check has completed. Not sent for a document whose extraction failed, because the check doesn't run on it: anomaly-detection/could-not-run is sent instead. |
| aml/completed | Sent when a background ongoing monitoring aml check has found matches. Does not get sent for AML checks completed via the API or Portal. Includes the check id which can be used to get the list of matches from the AML checks endpoint. |
| kyc/completed | KYC check has completed |
| financial-vulnerability/completed | Financial vulnerability check has completed |
| bank-account-verification/completed | Bank account verification check has completed |
| automated-doc-verification/completed | Automated document verification check has completed |
| document-comparison/completed | Document Comparison check has completed |
| tamper-lite/completed | Tamper Lite check has completed |
| tamper-detection/skipped | Tamper detection was skipped on a document because Tamper Lite raised a risk on it, when Tamper detection runs automatically and you've chosen to skip Tamper Detection in that case, or because Tamper Lite found the file deleted under your file retention period. When the file was deleted, tamper-lite/could-not-run is also sent for the same file. Sent once per document file. |
| tamper-detection/unsupported | Tamper detection wasn't performed on a document file because it's a WebP, which our tamper detection provider doesn't accept. Sent once per WebP file when Tamper detection starts on it automatically on upload, or Tamper Lite starts it. A workflow you start leaves WebP files out instead, so no event is sent for them. |
| tamper-detection/error | Tamper Detection ended in an error on a document file. Sent once per file, after any automatic retries. |
| tamper-lite/error | Tamper Lite ended in an error on a document file. Sent once per file, after any automatic retries. |
| tamper-lite/could-not-run | Tamper Lite couldn't run on a document file because it was deleted under your file retention period. Rare: only sent when the check was held up for more than 7 days and its file was deleted meanwhile, because a file is kept while a check that reads it is running. If you've chosen to skip Tamper Detection when Tamper Lite raises a risk, tamper-detection/skipped is also sent for the same file, as the Tamper Detection that Tamper Lite would have started is skipped. Sent once per file. |
| tamper-detection/could-not-run | Tamper Detection couldn't run on a document file because it was deleted under your file retention period. Rare, as for tamper-lite/could-not-run: when Tamper Lite finds the file deleted, Tamper Detection is skipped instead. Sent once per file. |
| content-validation/error | Content Validation ended in an error on a document. Sent once, after any automatic retries. |
| content-validation/could-not-run | Content Validation couldn't run on a document because its extraction failed, so there's no extracted data to check. Only sent if Content Validation runs automatically. Sent once, when the document's extraction fails. |
| anomaly-detection/error | Anomaly Detection ended in an error on a document. Sent once, after any automatic retries. |
| anomaly-detection/could-not-run | Anomaly Detection couldn't run on a document because its extraction failed. Only sent if Anomaly Detection runs automatically. Sent once, when the document's extraction fails. |
| document-comparison/error | Document Comparison ended in an error. Sent once, after any automatic retries. |
| automated-doc-verification/error | Automated Document Verification ended in an error, including when the customer completed the session but its result couldn't be processed. Sent once per session: after any automatic retries when the session can't be started, or straight away when its result can't be processed. |
| automated-doc-verification/could-not-run | Automated Document Verification couldn't run: the customer didn't finish the session before it expired, or, rarely, the case had no email address to send the session to (a request to start a session checks for one first). For an expired session, it's sent soon after the session's sessionExpiresAt. |
| kyc/error | KYC ended in an error. Sent once, after any automatic retries. |
| financial-vulnerability/error | Financial Vulnerability ended in an error. Sent once, after any automatic retries. |
| bank-account-verification/error | Bank Account Verification ended in an error. Sent once, after any automatic retries. |
| bank-account-verification/could-not-run | Bank Account Verification couldn't run on a bank account. Something the check needs is missing: on the account, such as a misread sort code, or on the case, such as a person record. Sent when you create a bank account and BAV is enabled, but not when an existing account is returned. If BAV runs automatically, it's also sent when an account is read from a bank statement or updated. It's sent again each time an update still leaves the account short. |
| document-extraction/completed | A document's content has been extracted, so its extractionStatus is now Completed and its extract can be read from the get document endpoint. For a defined document, read its data from Get document extraction instead. Sent once per document, after anything the extract fills in, such as the bank accounts read from a bank statement. Webhooks can arrive in a different order, so don't rely on receiving it before the events of checks that read the extracted data. |
| document-extraction/error | A document's extraction ended in an error, after any automatic retries, including when the file couldn't be read. Sent once per document. Its extractionStatus is then Failed. Checks that read the extracted data won't run on it: upload the document again to retry. |
| document-files/deleted | A document's uploaded files were deleted under your file retention period. Sent once per document. The document, its extracted data and its check results are kept, and its files show fileDeletedDate on get document. |
| case-details/changed | A case was created, its details changed, or it was deleted. Unlike the events above, this isn't about a check. See Case change webhooks. |
AML has no error or could-not-run events. KYC, Financial Vulnerability, document extraction and Document Comparison have no could-not-run. A request to run KYC or Financial Vulnerability checks the case's details first and returns 422 if anything is missing. If the details still fail when the check runs, you receive error. When Document Comparison doesn't run because the case has fewer extracted documents than it needs, or no rules apply to its type, nothing is sent: a case with one document isn't a problem to fix.
In rare cases neither document-extraction event is sent for a document, and its extractionStatus stays Pending. If you haven't heard about one after a few minutes, see Extraction status.
Each event is a separate subscription: subscribing to kyc/completed doesn't subscribe you to kyc/error.
WARNING
Once a case is deleted, no more check webhooks are sent for it, whether you deleted it or your case retention period did. That includes a webhook for a check that finished but hadn't been sent yet when the case was deleted. If you subscribe to case change webhooks, one still tells you the case was deleted.
An error event is sent once per run, once the check has stopped retrying, so you won't receive one for a problem that fixes itself. The exception is Automated Document Verification, which sends it straight away when a finished session's result can't be processed.
A could-not-run event means the check couldn't run. What you can do:
- Content Validation, Anomaly Detection: upload the document again, because its extraction failed.
- Automated Document Verification: start a new session, because the last one expired.
- Bank Account Verification: correct the bank account or the case, then run the check again.
- Tamper Lite, Tamper Detection: nothing can be done, because the file was deleted under your file retention period.
The event doesn't say what's missing. The reason is shown in the case's history in the Portal.
Register with the names in the table. In the payload, eventType is the part before the slash and action is the part after it. For example, you register tamper-detection/completed and receive "eventType": "tamper-detection" and "action": "completed", or register case-details/changed and receive "eventType": "case-details" and "action": "changed".
Example check webhook event
This is what a check webhook event looks like.
json
{
"caseId": 374,
"eventType": "tamper-detection",
"action": "completed",
"checkId": 123,
"documentIds": [482],
"documentAssetIds": [1093],
"timestamp": "2025-08-26T10:04:59.513Z"
}| Field | Description |
|---|---|
caseId | The case the event is for. |
eventType | The check, e.g. tamper-detection, or document-extraction. |
action | What happened to the check, to the document's extraction or to its files: completed, error, could-not-run, skipped, unsupported or deleted. |
checkId | The check's result, for the checks endpoints. Only a check's completed event has one. It's null for every other action, for document-files/deleted, and for document-extraction/completed because extraction isn't a check: read the extracted data from the get document endpoint instead. Check action before fetching the result, especially if several events are sent to the same URL. |
documentIds | The documents the check covered, for the get document endpoint. null when the event doesn't name any documents. See Document and asset ids. |
documentAssetIds | The files of those documents the check covered, matching documentAssetId in case progress. null when the event doesn't name any files. See Document and asset ids. |
bankAccountId | Only in bank-account-verification events, and not in the payload for any other: the bank account the check ran on, or would have, for the bank accounts endpoints. It's a number here; the bav workflow takes it as a string. |
timestamp | When the event was sent. |
A skipped or unsupported event has no checkId, but it still names the document and the file Tamper detection wasn't performed on.
json
{
"caseId": 374,
"eventType": "tamper-detection",
"action": "skipped",
"checkId": null,
"documentIds": [482],
"documentAssetIds": [1093],
"timestamp": "2025-08-26T10:04:59.513Z"
}An error or could-not-run event has no checkId either, but names what the check ran on, or would have: see Document and asset ids for each event. A Bank Account Verification event also names the bank account.
json
{
"caseId": 374,
"eventType": "bank-account-verification",
"action": "could-not-run",
"checkId": null,
"documentIds": [482],
"documentAssetIds": [1093, 1094],
"bankAccountId": 55,
"timestamp": "2025-08-26T10:04:59.513Z"
}Document and asset ids
A document can be made up of more than one file, called an asset. Both fields are always in the payload. null means the event doesn't name any documents or files, which isn't the same as an empty list: Document Comparison sends an empty documentIds when it ran but had nothing to compare or read, or ended in an error before it knew which documents to compare. What each event sends:
| Event | documentIds | documentAssetIds |
|---|---|---|
tamper-lite/completed, tamper-lite/error, tamper-lite/could-not-run, tamper-detection/completed, tamper-detection/error, tamper-detection/skipped, tamper-detection/unsupported, tamper-detection/could-not-run | The document the file belongs to. | The one file the check ran on, or wasn't performed on. |
content-validation/completed, content-validation/error, content-validation/could-not-run, anomaly-detection/completed, anomaly-detection/error, anomaly-detection/could-not-run | The document checked, or that couldn't be. | Every file the document is made of, in page order. |
document-extraction/completed, document-extraction/error | The document extracted, or whose extraction ended in an error. | Every file the document is made of, in page order. |
document-files/deleted | The document whose files were deleted. | The files deleted. |
document-comparison/error | The documents the check was comparing, worked out before it compared them, lowest id first. An empty list if it ended in an error before it knew them. | null |
document-comparison/completed | Every document compared with another, or given an entry by a rule that reads each document on its own, such as the Income rule (one uploaded as proof of address only included), lowest id first. An empty list if there was nothing to compare or read, for example when the case has only one document of the compared types and it isn't a bank statement or payslip on a person case. | null. The check compares the documents' extracted data, not their files. |
automated-doc-verification/error, automated-doc-verification/could-not-run | null | null |
automated-doc-verification/completed | The ID document added to the case, when SaveDoc is on. null when it's off, or when no images of the document were captured. | Every file of that document, one per page or side, in page order. null when documentIds is. |
bank-account-verification/completed, bank-account-verification/error, bank-account-verification/could-not-run | The bank account's source document, such as a bank statement, when the account came from one. null otherwise. | Every file of that document, in page order. null when documentIds is. |
aml/completed, kyc/completed, kyc/error, financial-vulnerability/completed, financial-vulnerability/error | null | null |
Authentication
Webhooks are sent with a custom header key value of your choosing. Use these to authenticate events coming into your endpoint.
E.g. x-my-auth: 758375
Create webhooks
Configures a new webhook.
| Endpoint | /api/webhooks |
|---|---|
| Method | POST |
| Content type | application/json |
Request
json
{
"url": "https://webhook.site/123",
"eventType": "financial-vulnerability/completed",
"authHeaderKey": "testheader",
"authHeaderValue": "123"
}IMPORTANT
Only one url can be configured per event type. Setting an event type will override the previous one.
Get webhooks
Returns all of webhooks configured for your company.
| Endpoint | /api/webhooks |
|---|---|
| Method | GET |
| Content type | application/json |
json
[
{
"createTs": "2025-08-26T12:44:56.113",
"url": "https://webhook.site/1234",
"eventType": "financial-vulnerability/completed",
"authHeaderKey": "testheader",
"authHeaderValue": "123"
},
{
"createTs": "2025-08-26T12:44:15.343",
"url": "https://webhook.site/123",
"eventType": "content-validation/completed",
"authHeaderKey": "testheader",
"authHeaderValue": "123"
}
]Case change webhooks
Subscribe to case-details/changed to hear about every change to your cases: when one is created, when its details are added, updated or removed, and when it's deleted. Use them to keep your own records in line with ours.
A case change webhook tells you what changed, never the values. To get the latest details, fetch the case with Get case. This keeps personal data out of webhooks, and means you always work from the current case even if webhooks arrive out of order.
Example case change webhook event
This is what a case change webhook event looks like.
json
{
"notificationId": "6f1c2a3b-4d5e-4f60-8a9b-0c1d2e3f4a5b",
"eventType": "case-details",
"action": "changed",
"caseId": 374,
"changeType": "detailsChanged",
"source": "portal",
"changes": [
{ "field": "addressLine4", "change": "updated" },
{ "field": "addressPostcode", "change": "updated" },
{ "field": "emailAddresses", "change": "added" }
],
"timestamp": "2026-10-15T10:04:59.513Z"
}Fields
| Field | Description |
|---|---|
| notificationId | Identifies this notification. The same on every delivery attempt, and also sent as the webhook-id header. |
| eventType | Always case-details. |
| action | Always changed. What happened to the case is in changeType. |
| caseId | The case that changed. |
| changeType | What happened to the case. See Change types. |
| source | What made the change: portal (someone using the EyeDP portal), publicApi (a request to the API, such as Update a case), documentExtraction (details read from documents uploaded to the case) or caseRetention. caseRetention means your case retention period deleted the case. |
| changes | Each field of the case that changed. A field that changed only in letter case isn't listed (see When they're sent). Empty when the case was deleted. See Changes. |
| timestamp | When the change was made, in UTC. |
A change can make a check's result out of date. The webhook doesn't say which: Case Progress shows the checks to run again.
We may add new values to changeType, source and change. Ignore any you don't recognise.
Change types
| changeType | Meaning |
|---|---|
| caseCreated | The case was created. changes lists the fields it was created with, each as added. |
| detailsChanged | Fields of an existing case were added, updated or removed. |
| caseDeleted | The case was deleted. changes is empty. Get case then returns 404 for it, including when an earlier webhook for the case arrives after this one. source is caseRetention when your case retention period deleted it. |
Changes
Each entry in changes names one field, exactly as it appears in the Get case response, so you can read its new value from there:
| Field | Description |
|---|---|
| field | Which field changed. See the list below. |
| change | added (it had no value and now has one), updated (its value changed) or removed (it had a value and now has none). |
These are the fields a change can be reported for:
| Group | Fields |
|---|---|
| Case | urn |
| Person | title, givenNames, surname, fullname, dobYear, dobMonth, dobDay, gender, genderId, countryOfCitizenship |
| Address | addressLine1, addressLine2, addressLine3, addressLine4, addressLine5, addressLine6, addressLine7, addressPostcode, fullAddress, addressCountry, addressCountryCode2 |
| Contact | emailAddresses, phoneNumbers |
| Entity | entityName, entityType, entityRegistrationNumber |
Some values appear in more than one field of the response, so one change can be reported as two: a new gender changes both gender and genderId, and a new address country changes both addressCountry and addressCountryCode2. emailAddresses and phoneNumbers are each reported as a whole list: changing one email address reports emailAddresses as updated.
When they're sent
- Only when something changes. Saving a case without changing any of its details doesn't send one, and neither does a change only in letter case (see below). Any change to the
urnis sent, even one only in letter case. - Only while you're subscribed. Changes made before you subscribe to
case-details/changedaren't sent later, so fetch any existing cases you need with Get case first. - Not for documents. Uploading or removing documents doesn't send one.
- Only for fields the Get case response returns. Changes to anything else about a case, such as a person's employer, don't send one.
- Cases created from documents. When a case is created by uploading documents, it starts with only a temporary generated
urn. You'll receive acaseCreatedwebhook straight away, withsourceset topublicApiorportaldepending on where the documents were uploaded, listing justurnasadded. Once the documents have been read, the case's details are filled in and it's given a newurn, and you'll receive adetailsChangedwebhook withsourceset todocumentExtraction, listingurnasupdatedalong with whatever was read. Don't rely on the firsturn: match oncaseIdinstead. For an entity case, if no name could be read from the documents, theurnisn't replaced and nodetailsChangedwebhook is sent then. A later edit sends one as usual.
WARNING
A change only in letter case doesn't send a webhook. A copy of the case you keep from webhooks can differ in letter case from Get case, so fetch the case if you need its exact text.
Delivery
Your endpoint should respond with any 2xx status within 15 seconds. If it doesn't:
- These are tried again:
5xxresponses,408,429, timeouts and connections that fail. Retries happen after 1 minute, 5 minutes, 30 minutes, 2 hours and 6 hours, so 6 attempts in all over about 8½ hours. - These aren't: any other
4xxresponse, and redirects (3xx), which aren't followed. Make sure the URL you register is the one that receives the webhook.
Each attempt goes to the URL registered at that moment, so if you create a new webhook for case-details/changed, which replaces the old one, retries go to the new URL.
Because of retries, the same notification can occasionally arrive more than once. Use the webhook-id header, or notificationId, to ignore one you've already processed.
Webhooks can also arrive in a different order from the changes they describe. Rather than applying them in order, fetch the latest case each time.
IMPORTANT
The URL must be a public http or https address, and the auth header's name and value must be plain ASCII text. The auth header can't be one HTTP uses to route or frame the request: Host, Content-Length, Content-Type, Transfer-Encoding, Connection, Keep-Alive, Upgrade, TE, Trailer, Expect, or any header starting with Proxy-. Authorization and custom headers such as x-my-auth are fine. These rules aren't checked when you create the webhook. If one is broken, case change webhooks can't be sent to it and aren't retried.

