Webhooks

Create a webhook endpoint

Subscribes a URL to receive outbound webhook events.

post/webhook-endpoints

Request

  • Base URL
    https://workflow.loopfour.ai/api/v1
  • URL
    https://workflow.loopfour.ai/api/v1/webhook-endpoints
  • Auth
    API key in header x-api-key

Request body

namestring required

Human-readable name.

urlstring uri required

HTTPS URL to deliver events to.

eventsstring[] nullable

Event types to receive (omit or null = all).

workflowIdsstring[] nullable

Restrict to specific workflows (omit or null = all).

headersobject

Additional headers to include on each delivery.

descriptionstring

Free-form description.

Response

Endpoint created

successunknown

Changes

No recorded changes to this operation across all 1 revision of this API.