List Webhooks
Use this API to fetch webhook subscriptions configured for the institute.
Endpoint
Section titled “Endpoint”GET /api/v1/integrations/erp/webhooksRequest
Section titled “Request”curl -X GET 'https://[base_url]/api/v1/integrations/erp/webhooks' \ -H 'Content-Type: application/json' \ -H 'Authorization: Basic <token>'Response
Section titled “Response”HTTP 200
{ "status": "success", "data": [ { "id": "11176af9-9ce7-47d9-a076-56d9f93987e0", "event_code": "pay.payment.debited", "failure_notification_email": "you@example.com", "url": "https://your.site/20c59273-5051-4fe4-9bf1-70dd6352b623" } ]}Response Data
Section titled “Response Data”| Attribute | Type | Description |
|---|---|---|
data[].id | string | Webhook subscription ID. |
data[].event_code | string | Webhook event code. |
data[].failure_notification_email | string | Comma-separated failure notification emails. |
data[].url | string | Configured webhook destination URL. |