v2

latestOpenAPI 3.0.02026-08-0793108394.2 KB
Webhook

Delete a webhook

delete/v1/webhooks/{webhook_id}

Headers

X-Encircle-Attributionstring

String used to internally identify which integrator made this request on behalf of their users.

Integrators should reuse the same 'X-Encircle-Attribution' value for all their users.

This attribution enables Encircle to provide better assistance to integrators if they encounter any issues.

If not specified, the request will not be associated with any integration services.

X-Encircle-Requeststring

Unique string used to identify each specific request.

Any retries due to connection failures should reuse the same 'X-Encircle-Request' value. This helps prevent duplicate requests from unintentionally being processed again.

If not specified, the request will be treated as unique and it will be processed normally.

Response

The Webhook was deleted successfully.

idinteger required

The id of the Webhook.

delivery_urlstring required

An HTTPS endpoint URL the Webhook will deliver payloads to. The URL should be unique per Organization / bearer token so your system can authenticate any necessary follow-up requests.

Your domain must also be whitelisted, contact support@encircleapp.com

If the status code returned by the endpoint is 410, then a resource required to fire the appropriate Webhook event is unavailable, at which point the Webhook will stop listening for that event.

eventsstring[] required

Example response

{
  "authentication": {
    "type": "shared_secret"
  }
}