Skip to content
شعار البي شعار البي El-BDevelopers

Webhook management

Update an endpoint

Change an endpoint's URL or events, or pause (is_active: false) and resume it. Send only what changes.

PATCH https://el-b.com/api/v1/webhooks/{id}

Authorization

  • Authorizationheaderrequired

    Bearer elb_sk_…: your API key, from API in your El-B account.

Path parameters

  • id string required

    The endpoint's id.

Body

  • url string

    A new public address.

  • events array

    The new list of events, or ["*"].

  • is_active boolean

    false pauses deliveries, true resumes them.

Responses

StatusMeaning
200Success. The body is shown alongside.
404No endpoint with this id in your account.
422A field is invalid.
401Missing, unknown or paused API key.
403The account is suspended, or no longer verified by an official document.
429More than 60 requests in a minute. See Rate limits.