Skip to main content

Send Test Webhook

Testing allows you to validate the connectivity between AML Watcher and your webhook endpoint. To test a webhook, you'll need to send a test request to the specified endpoint. This test request simulates an actual event, and you should receive a response that confirms the webhook's ability to receive and process the request.

Endpoint: https://api.amlwatcher.com/api/test-webhook/:webhook_id

Method: GET

Sample Request
GET /api/test-webhook/:webhook_id HTTP/1.1
Host: api.amlwatcher.com
Authorization: Bearer Token

Request

ParametersRequiredTypeDescription
webhook_idYesStringIt is the unique Id, assigned with each webhook.

Response

ParametersDescription
errorWhenever there is an error in your request, this param will have details of that error; otherwise it’ll remain empty.
eventDefines event specific webhook type.
Default: monitored_status_updated
statusThe status field is set to either “SUCCESS” or “FAIL”, indicating that the API request resulted in a successful or failure/error condition respectively.
dataAn array/object containing the actual response elements.
Sample Respone
{
"error": "False",
"event": "monitored_status_updated",
"status": "SUCCESS",
"data": {
"_id": "",
"client_reference": "",
"comments": "Array",
"created_at": "",
"is_monitored": "",
"is_updated": "",
"match_status": "",
"name": "",
"organization_id": "",
"search_filters": "Object",
"search_reference": "",
"total_results": "",
"updated_at": "",
"user_id": ""
}
}