Skip to main content
DELETE
/
api
/
v2
/
public
/
webhook
/
:id
curl -X DELETE "https://app.refold.ai/api/v2/public/webhook/{id}" \
  -H "x-api-key: YOUR_API_KEY"
[
  {
    "_id": "69c4c8ece6c48f40c1d3ff42",
    "org_id": "6500a1b2c3d4e5f6a7b8c9d0",
    "environment": "test",
    "is_enabled": false,
    "webhook_events": ["Connection Created", "Workflow Completed"],
    "webhook_url": "https://your-app.com/webhooks",
    "webhook_type": "default",
    "method": "POST"
  }
]
Delete a webhook subscription. The response is the updated list of the remaining webhooks for your organization.

Authentication

Webhooks are an org-level resource, so this endpoint uses API-key auth.
x-api-key
string
required
Your Refold API key. Find it in Settings → Credentials.

Path Parameters

id
string
required
The webhook ID to delete.

Response

Returns the array of remaining webhooks after deletion.
[
  {
    "_id": "69c4c8ece6c48f40c1d3ff42",
    "org_id": "6500a1b2c3d4e5f6a7b8c9d0",
    "environment": "test",
    "is_enabled": false,
    "webhook_events": ["Connection Created", "Workflow Completed"],
    "webhook_url": "https://your-app.com/webhooks",
    "webhook_type": "default",
    "method": "POST"
  }
]
curl -X DELETE "https://app.refold.ai/api/v2/public/webhook/{id}" \
  -H "x-api-key: YOUR_API_KEY"