Get Webhook By ID

GET {{baseUrl}}/extensions/event-webhooks/:eventWebhookID

Returns a webhooks details of the given eventWebhookID in the request param.
Requires access_token as a Bearer {{token}} in the Authorization header with read scope.

HEADERS

KeyDatatypeRequiredDescription
Authorizationnull

RESPONSES

status: OK

{"data":{"id":"6214d8a9f685fedb94811b56","created_at":"2022-02-22T12:35:53.329Z","updated_at":"2022-02-22T12:58:00.654Z","organization_id":"60cb200bc9de4a0008d2fc41","author_id":"60f12dd3814bef0008c4036e","name":"test13345","slug":"test122","description":"","triggers":[{"event_class":"incident","event_type":"triggered"},{"event_class":"incident","event_type":"acknowledged"},{"event_class":"incident","event_type":"resolved"},{"event_class":"incident","event_type":"reassigned"}],"urls":[{"url":"https://abc.punit","method":"post"}],"header":{"abc":"xyz"},"filters":{"op":"and","conditions":[{"op":"eq","lhs":"service_id","rhs":"60cb200fceb9ac000726a24f"}]},"max_retry":3,"mail_ids":null,"send_custom_payload":false,"custom_payload":""}}