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.
GET/api/test-webhook/:webhook_id
GET https://api.amlwatcher.com/api/test-webhook/:webhook_id HTTP/1.1Host: api.amlwatcher.comAuthorization: Bearer Token
Request
Parameters | Required | Type | Description |
---|---|---|---|
webhook_id | Yes | String | It is the unique Id, assigned with each webhook. |
Response
Parameters | Description |
---|---|
error | Whenever there is an error in your request, this param will have details of that error; otherwise it’ll remain empty. |
event | Defines event specific webhook type. Default: monitored_status_updated |
status | The status field is set to either “SUCCESS” or “FAIL”, indicating that the API request resulted in a successful or failure/error condition respectively. |
data | An array/object containing the actual response elements. |
Sample Response
{
"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": ""
}
}