Get Webhook
Use this API to fetch details for a webhook subscription identified by :webhook_id.
Endpoint
Section titled “Endpoint”GET /api/v1/integrations/erp/webhooks/:webhook_idRequest
Section titled “Request”curl -X GET 'https://[base_url]/api/v1/integrations/erp/webhooks/:webhook_id' \ -H 'Content-Type: application/json' \ -H 'Authorization: Basic <token>'Path Parameters
Section titled “Path Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
webhook_id | string | Yes | Webhook subscription ID. |
Response
Section titled “Response”HTTP 200
{ "status": "success", "data": { "id": "11176af9-9ce7-47d9-a076-56d9f93987e0", "event_code": "order.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. |