v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Get Webhook

Retrieve details of all the webhooks.

get/webHooks

Response

200

{"stackTrail":"paths:/webHooks:get:responses:200:content:application/json:schema:properties:errors","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/webHooks:get:responses:200:content:application/json:schema:properties:warnings","oasType":"schema","type":"unknown"}

Example response

{
  "data": [
    {
      "attribution": {
        "createdOn": "2020-04-15T14:01:50.448+0000",
        "lastUpdatedOn": "2020-08-19T15:57:16.042+0000",
        "lastUpdatedBy": {
          "id": 75025546,
          "code": "1536234541_",
          "name": "Manishkumar prasad",
          "type": "ADMIN_USER"
        },
        "createdBy": {
          "id": 75029724,
          "code": "changi.str.till_3",
          "name": "changi.str.till_3",
          "type": "TILL"
        }
      },
      "webHookId": "5e9713cec64f3d00085d7eea",
      "name": "webhook01",
      "eventNames": [
        "transactionAdded"
      ],
      "webHookUrl": "https://enwkypi8i3l8.x.pipedream.net",
      "webHookType": "HTTP",
      "methodType": "POST",
      "webHookHeaders": {
        "Authorization": "Basic xrty==",
        "Content-Type": "application/json"
      },
      "maxAllowedConnections": 20,
      "slaInSeconds": 30,
      "consumerGroupId": "83df8d8e-772c-46d7-8f21-a79f7b868db6"
    }
  ]
}