Webhooks
Create Webhook
Register a webhook to receive real-time event notifications.
POST
Register a webhook to receive real-time notifications when events occur in Refold — connection and workflow lifecycle events are pushed to your URL immediately, so you don’t have to poll.
Authentication
Webhooks are an org-level resource, so this endpoint uses API-key auth.Your Refold API key. Find it in Settings → Credentials.
Body Parameters
HTTPS URL that will receive event POSTs. Must match
^https?://.Event types to subscribe to (at least one):
Connection Created— a linked account connects an integrationConnection Deleted— a linked account disconnects an integrationConnection Expired— an integration’s authentication expiresWorkflow Completed— a workflow execution succeedsWorkflow Errored— a workflow execution fails
Payload format:
default, slack, or custom.HTTP method used to deliver the event:
POST, PUT, or PATCH.Custom headers to send with each delivery.
Custom payload template. Defaults to
{{event}} (the full event object).Restrict to a single app. When set, only workflow-type events are allowed.
Restrict workflow events to specific workflow IDs.
Response
- 200 OK
- 400 Bad Request
Returns the created webhook.
Webhook ID.
Owning org.
test or live.Whether the webhook is active.
Subscribed events.
Delivery URL.
Payload format.
Delivery HTTP method.
Payload template.
Restricted workflow IDs, if any.
ISO 8601 timestamp.