{"openapi":"3.0.0","info":{"title":"Webhooks","version":"2","description":"About Webhooks.\n\nFourthline sends inbound notifications to your server.\n\n**Versioning:** Identity Verification Webhooks v2 follow the Identity Verification API, which uses API-level versioning. AML Screening Webhooks and AML Monitoring Webhooks follow the AML API, which uses endpoint-level versioning. The ReadMe documentation version is independent of those API product versions. This reference is published on the ReadMe 2.0 documentation version.\n\n**Identity Verification Webhooks v2** report Identity Verification API v2 workflow events. `details.name` is `IdentityVerification`, `Payments` (Bank Account Verification), or `Signatures` (QES).\n\n**AML Screening Webhooks** and **AML Monitoring Webhooks** belong to the AML API. Use them whether the workflow was created with the Identity Verification API v1 or the Identity Verification API v2. The requests, fields, and identifiers are the same.\n\n**Integration guide:** [Webhooks](https://docs.fourthline.com/v2.0/docs/workflows-webhooks) — setup, handler expectations, idempotency, and troubleshooting.\n\n**JSON property names** use **camelCase** (for example `workflowId`, `workflow`, `details`, `statusCode`, `transferData`).\n\n**Product keys** use PascalCase **string values** in `details.name`. These match `products[].name` in [Get workflow status](https://docs.fourthline.com/reference/get-workflow-status).\n\nIdentity Verification webhook payloads do **not** include `workflowStatus`. After you return **2xx**, call **get-workflow-status** (`GET /v2/workflows/{workflowId}/status`).\n"},"servers":[{"url":"https://mysite.com"}],"components":{"securitySchemes":{"sec0":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://example.com/token","scopes":{}}}}},"parameters":{"Authorization":{"name":"Authorization","in":"header","description":"Your `Basic` or `Bearer` access token. <br />The examples we’ve provided show `Bearer`. <br /><br /><img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\"/>**More information**: Webhooks – [Specify authentication method](https://docs.fourthline.com/v2.0/docs/workflows-webhooks#2-specify-the-authentication-method)","schema":{"type":"string"},"required":true}},"schemas":{"ValidationMessage":{"type":"object","description":"A status or validation message included in `details.messages`.","properties":{"description":{"type":"string","description":"Human-readable description of the validation result or issue."},"statusCode":{"type":"integer","description":"Numeric status code for the message. <br /><br />Example: `200`"},"areaOfAttention":{"type":"string","description":"Which data area requires attention. Omitted when it has no value."}}},"SlaDetails":{"type":"object","description":"SLA timing for Identity Verification notifications. Included on Identity Verification `details` when processing has finished, including `inconsistent_data`. Omitted while the workflow is still in progress, for example `pending`. Properties with a null value are omitted.","properties":{"kycReceived":{"type":"string","format":"date-time","description":"Timestamp when the workflow started (KYC data received)."},"slaStart":{"type":"string","format":"date-time","description":"Timestamp when received data was validated successfully and automatic validations started."},"slaEnd":{"type":"string","format":"date-time","description":"Timestamp when the workflow ended."},"slaPause":{"type":"string","format":"date-time","description":"Legacy timestamp for a paused SLA period. Omitted when processing was not paused."},"slaSeconds":{"type":"integer","description":"Number of seconds that correspond to the SLA bucket for the case."},"withinSla":{"type":"boolean","description":"Whether the case was processed within SLA limits."},"slaBucket":{"type":"string","description":"Name of the SLA bucket that applies to the case. <br /><br />Example: `bucket1` <br />`ccr-bucket1` is used for Biometric Authentication workflows.","enum":["bucket1","bucket2","bucket3","ccr-bucket1"]}}},"IdentityVerificationDetails":{"type":"object","description":"Identity Verification notification (`details.name` is `IdentityVerification`). Sent for Identity Verification products (Documents, Biometrics, Location, AML).","required":["name","status","timestamp"],"properties":{"name":{"type":"string","description":"Product domain name. Always `IdentityVerification` for this notification type.","enum":["IdentityVerification"]},"status":{"type":"string","description":"The current [Identity Verification product status](https://docs.fourthline.com/v2.0/docs/product-statuses#identity-verification-statuses). <br /><br />`timed_out` means the workflow was not started within three days after it was created or was started but not completed within seven days after it was started.","enum":["new","pending","timed_out","invalid_data","inconsistent_data","success","rejected","fraud","completed","error"]},"hash":{"type":"string","description":"The MD5 hash of the [ZIP report](https://docs.fourthline.com/v2.0/docs/workflow-reports#zip-archive-contents), as a lowercase hexadecimal string. Present after the report is generated. Absent otherwise. <br /><br />Format: MD5, lowercase hex <br /><br />Example: `ee5b60aed741bc1f5349a654a5757290`"},"timestamp":{"type":"string","format":"date-time","description":"Timestamp when this notification was created or last updated."},"messages":{"type":"array","description":"Status and validation messages for the product.","items":{"$ref":"#/components/schemas/ValidationMessage"}},"sla":{"$ref":"#/components/schemas/SlaDetails"}}},"BAVDetails":{"type":"object","description":"Bank Account Verification (BAV) notification. API product key `Payments`. Sent for BAV payment products.","required":["name","status","timestamp"],"properties":{"name":{"type":"string","description":"Product domain name. Always `Payments` for BAV notifications (Bank Account Verification).","enum":["Payments"]},"status":{"type":"string","description":"The current [BAV product status](https://docs.fourthline.com/v2.0/docs/product-statuses).","enum":["new","pending","pending_verification","kyc_required","timed_out","completed","failed"]},"timestamp":{"type":"string","format":"date-time","description":"Timestamp when this notification was created or last updated."},"messages":{"type":"array","nullable":true,"description":"Status messages for the payment product. Omitted or empty when there are no messages.","items":{"$ref":"#/components/schemas/ValidationMessage"}},"transferData":{"type":"object","nullable":true,"description":"Payment transfer details. Present when the payment completed successfully.","properties":{"iban":{"type":"string","nullable":true,"description":"IBAN for manual transfers."},"name":{"type":"string","nullable":true,"description":"Recipient name."},"transferReference":{"type":"string","nullable":true,"description":"Reference number for the transfer."},"currency":{"type":"string","nullable":true,"description":"Currency code. <br /><br />Example: `EUR`"},"amountRequested":{"type":"string","nullable":true,"description":"Amount formatted as a string with two decimal places. <br /><br />Example: `0.10`"}}}}},"SignatureErrorAttempt":{"type":"object","description":"One error attempt during Qualified Electronic Signature. Contains `attemptId` and `timestamp`.","required":["attemptId","timestamp"],"properties":{"attemptId":{"type":"string","format":"uuid","description":"Unique identifier of the error attempt. <br /><br />Format: uuid"},"timestamp":{"type":"string","format":"date-time","description":"When the error attempt occurred. <br /><br />Format: ISO 8601 UTC date and time"}}},"QESDetails":{"type":"object","description":"Qualified Electronic Signature (QES) notification. API product key `Signatures`.","required":["name","status","timestamp"],"properties":{"name":{"type":"string","description":"Product domain name. Always `Signatures` for QES notifications.","enum":["Signatures"]},"status":{"type":"string","description":"The current [QES product status](https://docs.fourthline.com/v2.0/docs/product-statuses#qualified-electronic-signature-statuses).","enum":["new","pending","user_consent_required","selfie_required","kyc_required","confirmation_required","signed","pending_verification","invalid_signature","error","timed_out","completed","failed"]},"timestamp":{"type":"string","format":"date-time","description":"Timestamp when this notification was created or last updated."},"messages":{"type":"array","description":"Status messages for the signature product.","items":{"$ref":"#/components/schemas/ValidationMessage"}},"errorAttempts":{"type":"array","description":"Each error attempt for this signature. Each entry has `attemptId` and `timestamp`. Read the status code from [Get workflow status](ref:get-workflow-status) in `products[].messages[]`, and match `attemptId`. `details.messages[]` includes `statusCode` and does not include `attemptId`.","items":{"$ref":"#/components/schemas/SignatureErrorAttempt"}}}},"WorkflowNotificationDetails":{"description":"Product-specific notification payload. The shape depends on `details.name`.","oneOf":[{"$ref":"#/components/schemas/IdentityVerificationDetails"},{"$ref":"#/components/schemas/BAVDetails"},{"$ref":"#/components/schemas/QESDetails"}],"discriminator":{"propertyName":"name","mapping":{"IdentityVerification":"#/components/schemas/IdentityVerificationDetails","Payments":"#/components/schemas/BAVDetails","Signatures":"#/components/schemas/QESDetails"}}},"AMLMessages":{"type":"object","properties":{"verificationId":{"type":"string","description":"Our unique identifier for the investigation. <br /><br />Format: uuid string <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`"},"categories":{"type":"array","description":"The [type(s) of hit](https://docs.fourthline.com/v2.0/docs/aml-integration#hit-types). <br /><br />Format: Array of strings","items":{"type":"string"}},"subcategories":{"type":"array","description":"Any subcategories you have defined for this hit type <br /><br />Format: Array of strings","items":{"type":"string"}},"timestamp":{"type":"string","description":"The timestamp for when the investigation was completed <br /><br />Format: ISO 8601 UTC date and time <br /><br />Example: `2020-07-10 15:00:00.000` <br />Validation: Valid datetime <br />Errors: Invalid datetime"},"statusCode":{"type":"integer","description":"The [status code](https://docs.fourthline.com/v2.0/docs/aml-statuses#status-codes) providing more information about the status."},"description":{"type":"string","nullable":true,"description":"The status code description. Can be `null` when not provided."}}},"flowVariant":{"type":"string","description":"Returned on the event, next to `workflowId`, when the workflow offers both eID and verification with a physical ID document. When the workflow does not offer both, the property is absent. Confirm the value with Get workflow status. <br /><br />Enum: <br />• `eIDVerification`: the client completed eID <br />• `DocumentVerification`: the client completed verification with a physical ID document","enum":["eIDVerification","DocumentVerification"]},"WorkflowsV2WebhookEvent":{"type":"object","description":"One Identity Verification API v2 webhook notification. Each POST body is this object. Properties with a null value are omitted.","required":["workflowId","workflow","details"],"properties":{"workflowId":{"type":"string","format":"uuid","description":"The unique identifier of the workflow. <br /><br />Format: uuid <br /><br />Example: `f97f23d2-d0ca-4d15-9de4-d2e19c89b9aa`"},"workflow":{"type":"string","description":"The Hub workflow configuration name for the products in this flow. <br /><br />Example: `BiometricsOnly`, `PaymentsOnly`, `IdvWorkflow`"},"flowVariant":{"$ref":"#/components/schemas/flowVariant"},"details":{"$ref":"#/components/schemas/WorkflowNotificationDetails"}}}},"responses":{"WebhookCallbackOk":{"description":"Your server acknowledges receipt. Return HTTP **2xx** (typically `200`) with an empty body (`{}`) or no body.","content":{"application/json":{"schema":{"type":"object","description":"Empty body. Delivery is accepted on the status code alone.","maxProperties":0},"examples":{"ok":{"summary":"OK","value":{}}}}}},"WebhookCallbackUnauthorized":{"description":"Fourthline could not authenticate with your webhook endpoint. See [troubleshooting](https://docs.fourthline.com/docs/webhooks#401-unauthorized).","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"WebhookCallbackForbidden":{"description":"Fourthline could not authenticate with your webhook endpoint. See [troubleshooting](https://docs.fourthline.com/docs/webhooks#403-forbidden).","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"WebhookCallbackNotFound":{"description":"Fourthline can reach your server, but the webhook endpoint could not be found. See [troubleshooting](https://docs.fourthline.com/docs/webhooks#404-not-found).","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"WebhookCallbackInternalServerError":{"description":"Your server received the request but could not process it successfully. See [troubleshooting](https://docs.fourthline.com/docs/webhooks#500-internal-server-error).","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}}},"security":[{"sec0":[]}],"paths":{"/{workflowId}":{"post":{"summary":"Identity Verification Webhooks v2","description":"\nWebhook notifications for the Fourthline Identity Verification API v2. Fourthline sends workflow events to your configured callback endpoint.\n\n<img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\" alt=\"Note\" /> **Note:** Identity Verification API v2 notifications follow a polymorphic model. The schema of the `details` object depends on the product associated with the event.\n\nThe request body is a single JSON object. Properties with a null value are omitted.\n\n`flowVariant` is returned when the workflow offers both eID and verification with a physical ID document. When the workflow does not offer both, the property is absent. It is on the event, next to `workflowId`. `eIDVerification` means the client completed eID. `DocumentVerification` means the client completed verification with a physical ID document. Confirm the value with [Get workflow status](ref:get-workflow-status).\n","operationId":"workflows-webhooks","parameters":[{"name":"workflowId","in":"path","description":"Unique identifier for the workflow. <br /><br />Format: uuid <br /><br />Example: `f97f23d2-d0ca-4d15-9de4-d2e19c89b9aa`","schema":{"type":"string","format":"uuid"},"required":true},{"$ref":"#/components/parameters/Authorization"}],"requestBody":{"required":true,"description":"One Identity Verification API v2 webhook notification (camelCase). Each POST contains a single object.","content":{"application/json":{"examples":{"identity_verification":{"summary":"Identity Verification","value":{"workflowId":"f97f23d2-d0ca-4d15-9de4-d2e19c89b9aa","workflow":"BiometricsOnly","details":{"name":"IdentityVerification","status":"completed","hash":"e08e3f473e14a806db7424ab09fedfcf","timestamp":"2024-10-10T00:00:00Z","messages":[{"description":"Verification completed - Low risk","statusCode":200}],"sla":{"kycReceived":"2025-03-27T11:35:51Z","slaStart":"2025-03-27T11:35:51Z","slaEnd":"2025-03-27T11:36:41Z","slaSeconds":300,"withinSla":true,"slaBucket":"bucket1"}}}},"identity_verification_eid":{"summary":"Identity Verification, eIDVerification","value":{"workflowId":"3f1c9a52-8d4e-4b7a-9c1e-2a6f0d5b7e11","workflow":"IdvOrEIDMinWorkflow","flowVariant":"eIDVerification","details":{"name":"IdentityVerification","status":"completed","hash":"3b0b7a9c7b98ad5697ae2295d70ce545","timestamp":"2026-10-20T14:32:10Z","messages":[{"description":"Identity verification completed","statusCode":200}],"sla":{"kycReceived":"2026-10-20T14:01:02Z","slaStart":"2026-10-20T14:01:02Z","slaEnd":"2026-10-20T14:31:02Z","slaSeconds":1800,"withinSla":true}}}},"bav_pending":{"summary":"Payments pending","value":{"workflowId":"4492e249-b576-4043-9067-be52259a8aee","workflow":"PaymentsOnly","details":{"name":"Payments","status":"pending","timestamp":"2026-02-12T10:24:30.5414335Z"}}},"bav_pending_verification":{"summary":"Payments pending verification","value":{"workflowId":"4492e249-b576-4043-9067-be52259a8aee","workflow":"PaymentsOnly","details":{"name":"Payments","status":"pending_verification","timestamp":"2026-02-12T10:24:32.1254737Z"}}},"bav_completed":{"summary":"Payments completed","value":{"workflowId":"4492e249-b576-4043-9067-be52259a8aee","workflow":"PaymentsOnly","details":{"name":"Payments","status":"completed","timestamp":"2026-02-12T10:24:33.0204941Z","transferData":{"iban":"DE44500105175407324981","name":"Mr John James Smith","transferReference":"20260212-481O","currency":"EUR","amountRequested":"0.10"}}}},"qes_new":{"summary":"Signatures new","value":{"workflowId":"6dd65701-40cc-4d08-8bfa-c5c4dbbe5b27","workflow":"SignaturesOnlyNamirial","details":{"name":"Signatures","status":"new","timestamp":"2026-02-12T10:23:43.6950002Z","messages":[],"errorAttempts":[]}}},"qes_pending":{"summary":"Signatures pending","value":{"workflowId":"6dd65701-40cc-4d08-8bfa-c5c4dbbe5b27","workflow":"SignaturesOnlyNamirial","details":{"name":"Signatures","status":"pending","timestamp":"2026-02-12T10:23:44.2465744Z","messages":[],"errorAttempts":[]}}},"qes_user_consent_required":{"summary":"Signatures user consent required","value":{"workflowId":"6dd65701-40cc-4d08-8bfa-c5c4dbbe5b27","workflow":"SignaturesOnlyNamirial","details":{"name":"Signatures","status":"user_consent_required","timestamp":"2026-02-12T10:23:45.7028504Z","messages":[],"errorAttempts":[]}}},"qes_confirmation_required":{"summary":"Signatures confirmation required","value":{"workflowId":"6dd65701-40cc-4d08-8bfa-c5c4dbbe5b27","workflow":"SignaturesOnlyNamirial","details":{"name":"Signatures","status":"confirmation_required","timestamp":"2026-02-12T10:23:50.8950215Z","messages":[],"errorAttempts":[]}}},"qes_signed":{"summary":"Signatures signed","value":{"workflowId":"6dd65701-40cc-4d08-8bfa-c5c4dbbe5b27","workflow":"SignaturesOnlyNamirial","details":{"name":"Signatures","status":"signed","timestamp":"2026-02-12T10:23:55.9247485Z","messages":[{"description":"Signature completed successfully","statusCode":200}],"errorAttempts":[]}}}},"schema":{"$ref":"#/components/schemas/WorkflowsV2WebhookEvent"}}}},"responses":{"200":{"$ref":"#/components/responses/WebhookCallbackOk"}}}},"/aml":{"post":{"summary":"AML Screening Webhooks","description":"<img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\" alt=\"Note\" /> **Note:** These notifications belong to the AML API. Use them whether the workflow was created with the Identity Verification API v1 or the Identity Verification API v2. The requests, fields, and identifiers are the same. <br /><br />Webhook notifications for <a href=\"https://docs.fourthline.com/v2.0/docs/aml-overview\">AML Screening</a>. Configure the `POST /aml` endpoint on your server to receive screening and monitoring notifications. <br /><br /><img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\" alt=\"Note\" /> **Note:** For setup instructions, see <a href=\"https://docs.fourthline.com/docs/webhooks\">Webhooks</a>.","operationId":"aml-screening-webhooks","parameters":[{"$ref":"#/components/parameters/Authorization"}],"requestBody":{"content":{"application/json":{"examples":{"no_hits":{"summary":"no_hits","value":{"hash":null,"processType":"DailyWatchlistAutomation","sla":null,"status":"completed","clientId":"790f325a-48c9-4b82-bb53-c0ea128236f0","providerClientId":"providerClientId","verificationId":null,"messages":[],"uncompletedMessages":[]}},"potential_hit":{"summary":"potential_hit","value":{"hash":null,"processType":"DailyWatchlistAutomation","sla":{"kycReceived":null,"slaEnd":"2021-11-24T11:14:10.1344187Z","slaPause":null,"slaStart":"2021-11-24T11:24:10.12335197Z","slaSeconds":604800,"withinSla":true,"slaBucket":"bucket1"},"status":"completed","clientId":"790f325a-48c9-4b82-bb53-c0ea128236f0","providerClientId":"providerClientId","verificationId":"790f325a-48c9-4b82-bb53-c0ea128236f0","messages":[{"verificationId":"790f325a-48c9-4b82-bb53-c0ea128236f0","categories":["category1","category2"],"subcategories":["subcategory1","subcategory2"],"timestamp":"2022-01-01T00:00:00+00:00","description":"This is a message description","statusCode":141}],"uncompletedMessages":[]}},"false_positive":{"summary":"false_positive","value":{"hash":null,"processType":"DailyWatchlistAutomation","sla":null,"status":"completed","clientId":"790f325a-48c9-4b82-bb53-c0ea128236f0","providerClientId":"providerClientId","verificationId":null,"messages":[{"verificationId":"790f325a-48c9-4b82-bb53-c0ea128236f0","categories":["category1","category2"],"subcategories":["subcategory1","subcategory2"],"timestamp":"2022-01-01T00:00:00+00:00","description":"This is a message description","statusCode":100}],"uncompletedMessages":[]}},"manual_review_required":{"summary":"manual_review_required","value":{"clientId":"019e6452-5614-4e2b-befa-353145608b21","providerClientId":"Test3eaec544-0b62-45ef-ada4-aa56d1abe45d","verificationId":null,"messages":[],"uncompletedMessages":[{"verificationId":"019e6452-8076-7121-a0ba-4c31202b63b5","categories":["PEP"],"subcategories":[],"timestamp":"0001-01-01T00:00:00+00:00","description":null,"statusCode":1000},{"verificationId":"019e6452-8076-7121-a0ba-4c31202b63b5","categories":["SANCTIONS"],"subcategories":[],"timestamp":"0001-01-01T00:00:00+00:00","description":null,"statusCode":1000}],"hash":null,"processType":"DailyWatchlistAutomation","sla":null,"status":"manualreviewrequired"}},"confirmed_hit":{"summary":"confirmed_hit","value":{"clientId":"019e6452-5614-4e2b-befa-353145608b21","providerClientId":"Test3eaec544-0b62-45ef-ada4-aa56d1abe45d","verificationId":"019e6452-8076-7121-a0ba-4c31202b63b5","messages":[{"verificationId":"019e6452-8076-7121-a0ba-4c31202b63b5","categories":["PEP"],"subcategories":[],"timestamp":"2026-05-26T12:47:24.2088948+00:00","description":null,"statusCode":110},{"verificationId":"019e6452-8076-7121-a0ba-4c31202b63b5","categories":["SANCTIONS"],"subcategories":[],"timestamp":"2026-05-26T12:47:24.2088953+00:00","description":null,"statusCode":4110}],"uncompletedMessages":[],"hash":"","processType":"DailyWatchlistAutomation","sla":null,"status":"completed"}},"multiple_hits":{"summary":"multiple_hits","value":{"hash":null,"processType":"DailyWatchlistAutomation","sla":{"kycReceived":null,"slaEnd":"2021-11-24T11:14:10.1344187Z","slaPause":null,"slaStart":"2021-11-24T11:24:10.12335197Z","slaSeconds":604800,"withinSla":true},"status":"completed","clientId":"790f325a-48c9-4b82-bb53-c0ea128236f0","providerClientId":"providerClientId","verificationId":"790f325a-48c9-4b82-bb53-c0ea128236f0","messages":[{"verificationId":"790f325a-48c9-4b82-bb53-c0ea128236f0","categories":["category1","category2"],"subcategories":["subcategory1","subcategory2"],"timestamp":"2022-01-01T00:00:00+00:00","description":"This is a message description","statusCode":4110},{"verificationId":"790f325a-48c9-4b82-bb53-c0ea128236f0","categories":["category1","category2"],"subcategories":["subcategory1","subcategory2"],"timestamp":"2022-01-01T00:00:00+00:00","description":"This is a message description","statusCode":100}],"uncompletedMessages":[]}}},"schema":{"type":"object","required":["clientId","messages","uncompletedMessages","processType","providerClientId","status"],"properties":{"hash":{"type":"string","description":"Not applicable"},"processType":{"type":"string","description":"The type of workflow. <br />Expected value: Always `DailyWatchlistAutomation` = AML Screening or Monitoring <br />Validation: Expected value <br />Errors: Must be set to `DailyWatchlistAutomation`.","default":"DailyWatchlistAutomation"},"sla":{"type":"object","description":"Information about the SLA for our investigation(s).","properties":{"kycReceived":{"type":"string","description":"Not applicable"},"slaStart":{"type":"string","description":"The timestamp for when the investigation started. <br /><br />Format: ISO 8601 UTC date and time <br /><br />Example: `2020-07-10 15:00:00.000` <br />Validation: Valid datetime <br />Errors: Invalid datetime"},"slaEnd":{"type":"string","description":"The timestamp for when the investigation ended. <br /><br />Format: ISO 8601 UTC date and time <br /><br />Example: `2020-07-10 15:00:00.000` <br />Validation: Valid datetime <br />Errors: Invalid datetime"},"slaPause":{"type":"string","description":"Not applicable"},"slaSeconds":{"type":"integer","description":"The duration of the investigation in seconds."},"withinSla":{"type":"boolean","description":"• `true`: The investigation was completed within the SLA. <br />• `false`: The investigation **wasn’t** completed within the SLA."},"slaBucket":{"type":"string","description":"The SLA category for the case, as defined in your configuration.","enum":["bucket1","bucket2","bucket3"]}}},"status":{"type":"string","description":"The [screening/monitoring status](https://docs.fourthline.com/v2.0/docs/aml-statuses). <br />Validation: Valid enum value <br />Errors: Invalid enum value.","enum":["completed","doNotExist","manualreviewrequired","other","pendingManualReview","recentlyScreened","scheduled","screeningInProgress","wrongMonitoringType"]},"clientId":{"type":"string","description":"Our unique identifier for the AML client. <br /><br />Format: uuid string <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0` <br />Validations: uuid format, `clientId` exists <br />Errors: Format is incorrect or doesn’t exist"},"providerClientId":{"type":"string","description":"Your unique identifier for the AML client."},"verificationId":{"type":"string","description":"Our unique identifier for the investigation. <br /><br />Format: uuid string <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`"},"messages":{"type":"array","description":"Information about any completed investigations.","required":["statusCode","verificationId"],"items":{"type":"object","$ref":"#/components/schemas/AMLMessages"}},"uncompletedMessages":{"type":"array","description":"Information about any incomplete investigations.","required":["statusCode","verificationId"],"items":{"type":"object","$ref":"#/components/schemas/AMLMessages"}}}}}}},"responses":{"200":{"$ref":"#/components/responses/WebhookCallbackOk"},"401":{"$ref":"#/components/responses/WebhookCallbackUnauthorized"},"403":{"$ref":"#/components/responses/WebhookCallbackForbidden"},"404":{"$ref":"#/components/responses/WebhookCallbackNotFound"},"500":{"$ref":"#/components/responses/WebhookCallbackInternalServerError"}},"deprecated":false}},"/aml/monitoring":{"post":{"summary":"AML Monitoring Webhooks","description":"<img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\" alt=\"Note\" /> **Note:** These notifications belong to the AML API. Use them whether the workflow was created with the Identity Verification API v1 or the Identity Verification API v2. The requests, fields, and identifiers are the same. <br /><br />Webhook notifications for <a href=\"https://docs.fourthline.com/v2.0/docs/aml-overview\">AML Monitoring</a>. Configure the `POST /aml` endpoint on your server to receive monitoring notifications. This is the same endpoint used for <a href=\"ref:aml-screening-webhooks\">AML Screening Webhooks</a>. <br /><br />This page contains monitoring-specific examples only. AML Monitoring generates fewer notifications because all monitored clients are screened once per day after the AML database is updated. <br /><br /><img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\" alt=\"Note\" /> **Note:** For setup instructions, see <a href=\"https://docs.fourthline.com/docs/webhooks\">Webhooks</a>.","operationId":"aml-monitoring-webhooks","parameters":[{"$ref":"#/components/parameters/Authorization"}],"requestBody":{"content":{"application/json":{"examples":{"potential_hit":{"summary":"potential_hit","value":{"hash":null,"processType":"DailyWatchlistAutomation","sla":{"kycReceived":null,"slaEnd":"2021-11-24T11:14:10.1344187Z","slaPause":null,"slaStart":"2021-11-24T11:24:10.12335197Z","slaSeconds":604800,"withinSla":true,"slaBucket":"bucket1"},"status":"completed","clientId":"790f325a-48c9-4b82-bb53-c0ea128236f0","providerClientId":"providerClientId","verificationId":"790f325a-48c9-4b82-bb53-c0ea128236f0","messages":[{"verificationId":"790f325a-48c9-4b82-bb53-c0ea128236f0","categories":["category1","category2"],"subcategories":["subcategory1","subcategory2"],"timestamp":"2022-01-01T00:00:00+00:00","description":"This is a message description","statusCode":141}],"uncompletedMessages":[]}},"confirmed_hit":{"summary":"confirmed_hit","value":{"clientId":"019e6452-5614-4e2b-befa-353145608b21","providerClientId":"Test3eaec544-0b62-45ef-ada4-aa56d1abe45d","verificationId":"019e6452-8076-7121-a0ba-4c31202b63b5","messages":[{"verificationId":"019e6452-8076-7121-a0ba-4c31202b63b5","categories":["PEP"],"subcategories":[],"timestamp":"2026-05-26T12:47:24.2088948+00:00","description":null,"statusCode":110},{"verificationId":"019e6452-8076-7121-a0ba-4c31202b63b5","categories":["SANCTIONS"],"subcategories":[],"timestamp":"2026-05-26T12:47:24.2088953+00:00","description":null,"statusCode":4110}],"uncompletedMessages":[],"hash":"","processType":"DailyWatchlistAutomation","sla":null,"status":"completed"}}},"schema":{"type":"object","required":["clientId","messages","uncompletedMessages","processType","providerClientId","status"],"properties":{"hash":{"type":"string","description":"Not applicable"},"processType":{"type":"string","description":"The type of workflow. <br />Expected value: Always `DailyWatchlistAutomation` = AML Screening or Monitoring <br />Validation: Expected value <br />Errors: Must be set to `DailyWatchlistAutomation`.","default":"DailyWatchlistAutomation"},"sla":{"type":"object","description":"Information about the SLA for our investigation(s).","properties":{"kycReceived":{"type":"string","description":"Not applicable"},"slaStart":{"type":"string","description":"The timestamp for when the investigation started. <br /><br />Format: ISO 8601 UTC date and time <br /><br />Example: `2020-07-10 15:00:00.000` <br />Validation: Valid datetime <br />Errors: Invalid datetime"},"slaEnd":{"type":"string","description":"The timestamp for when the investigation ended. <br /><br />Format: ISO 8601 UTC date and time <br /><br />Example: `2020-07-10 15:00:00.000` <br />Validation: Valid datetime <br />Errors: Invalid datetime"},"slaPause":{"type":"string","description":"Not applicable"},"slaSeconds":{"type":"integer","description":"The duration of the investigation in seconds."},"withinSla":{"type":"boolean","description":"• `true`: The investigation was completed within the SLA. <br />• `false`: The investigation **wasn’t** completed within the SLA."},"slaBucket":{"type":"string","description":"The SLA category for the case, as defined in your configuration.","enum":["bucket1","bucket2","bucket3"]}}},"status":{"type":"string","description":"The [screening/monitoring status](https://docs.fourthline.com/v2.0/docs/aml-statuses). <br />Validation: Valid enum value <br />Errors: Invalid enum value.","enum":["completed","doNotExist","manualreviewrequired","other","pendingManualReview","recentlyScreened","scheduled","screeningInProgress","wrongMonitoringType"]},"clientId":{"type":"string","description":"Our unique identifier for the AML client. <br /><br />Format: uuid string <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0` <br />Validations: uuid format, `clientId` exists <br />Errors: Format is incorrect or doesn’t exist"},"providerClientId":{"type":"string","description":"Your unique identifier for the AML client."},"verificationId":{"type":"string","description":"Our unique identifier for the investigation. <br /><br />Format: uuid string <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`"},"messages":{"type":"array","description":"Information about any completed investigations.","required":["statusCode","verificationId"],"items":{"type":"object","$ref":"#/components/schemas/AMLMessages"}},"uncompletedMessages":{"type":"array","description":"Information about any incomplete investigations.","required":["statusCode","verificationId"],"items":{"type":"object","$ref":"#/components/schemas/AMLMessages"}}}}}}},"responses":{"200":{"$ref":"#/components/responses/WebhookCallbackOk"},"401":{"$ref":"#/components/responses/WebhookCallbackUnauthorized"},"403":{"$ref":"#/components/responses/WebhookCallbackForbidden"},"404":{"$ref":"#/components/responses/WebhookCallbackNotFound"},"500":{"$ref":"#/components/responses/WebhookCallbackInternalServerError"}},"deprecated":false}}},"x-readme":{"headers":[],"explorer-enabled":false,"proxy-enabled":true,"samples-enabled":true},"x-readme-fauxas":true}