Skip to main content
GET
/
api
/
v2
/
public
/
webhook
/
:id
curl -X GET "https://app.refold.ai/api/v2/public/webhook/{id}" \
  -H "x-api-key: YOUR_API_KEY"
{
  "_id": "6a313eda6d5528bdcf71ebac",
  "org_id": "6500a1b2c3d4e5f6a7b8c9d0",
  "environment": "test",
  "is_enabled": true,
  "webhook_events": ["Workflow Errored", "Connection Expired"],
  "workflow_ids": [],
  "webhook_url": "https://your-app.com/webhooks",
  "webhook_body": "{{event}}",
  "method": "POST",
  "webhook_type": "default",
  "createdAt": "2026-06-16T12:17:30.231Z",
  "updatedAt": "2026-06-16T12:17:30.231Z",
  "__v": 0
}
Retrieve the full configuration of a single webhook by its ID.

Authentication

x-api-key
string
required
Your Refold API key. Find it in Settings → Credentials.

Path Parameters

id
string
required
The webhook ID.Example: 6a313eda6d5528bdcf71ebac

Response

_id
string
Webhook ID.
org_id
string
Owning org.
environment
string
test or live.
is_enabled
boolean
Whether the webhook is active.
webhook_events
array
Subscribed events.
webhook_url
string
Delivery URL.
webhook_type
string
Payload format.
method
string
Delivery HTTP method.
webhook_body
string
Payload template.
workflow_ids
array
Restricted workflow IDs, if any.
{
  "_id": "6a313eda6d5528bdcf71ebac",
  "org_id": "6500a1b2c3d4e5f6a7b8c9d0",
  "environment": "test",
  "is_enabled": true,
  "webhook_events": ["Workflow Errored", "Connection Expired"],
  "workflow_ids": [],
  "webhook_url": "https://your-app.com/webhooks",
  "webhook_body": "{{event}}",
  "method": "POST",
  "webhook_type": "default",
  "createdAt": "2026-06-16T12:17:30.231Z",
  "updatedAt": "2026-06-16T12:17:30.231Z",
  "__v": 0
}
curl -X GET "https://app.refold.ai/api/v2/public/webhook/{id}" \
  -H "x-api-key: YOUR_API_KEY"