Get all webhooks
GET {{baseUrl}}/webhooks?type=transactional&sort=desc
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
type | string | Filter on webhook type | |
sort | string | Sort the results in the ascending/descending order of webhook creation |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"webhooks":[{"url":"https://example.domain.com/webhook/events/kzfxxxxxxxx0uyo1","id":9864,"description":"Webhook triggered on campaign openings","events":["opened"],"type":"transac","createdAt":"2016-07-18T12:30:09.000Z","modifiedAt":"2016-07-18T16:00:50.000Z"},{"url":"http://exmaple.domain.com/15kxxxxxn1","id":22770,"description":"Webhook triggered on campaign hard bounces","events":["hardBounces"],"type":"marketing","createdAt":"2017-02-20T14:30:00.000Z","modifiedAt":"2017-02-20T19:00:00.000Z"}]}