Skip to main content

Get Webhooks

This endpoint allows you to retrieve a list of all the webhooks created within your AML Watcher account. This is a valuable feature that provides you with an overview of all active webhooks and their details.

Endpoint: https://api.amlwatcher.com/api/webhook

Method: GET

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

Response

ParametersDescription
errorWhenever there is an error in your request, this param will have details of that error; otherwise it’ll remain empty.
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 Response
{
"data": [
{
"_id": {
"$oid": "653f715f2cd970a571dcd"
},
"created_at": {
"$date": 16986602294
},
"endpoint": "https://webhook.site/26184bd6-6d7c-429a-9131-fe009ee74e",
"name": "Test Webhook",
"organization_id": {
"$oid": "6512d7134bb9cd92fe394"
},
"type": "monitored_status_updated",
"updated_at": {
"$date": 169866094
},
"user_id": {
"$oid": "6512d715dadd1b87911a6"
}
}
],
"error": false,
"status": "SUCCESS"
}