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

Webhook management

Register an endpoint

Add an endpoint, up to 5 per account. The signing secret is returned once, in this answer only: store it to verify deliveries.

POST https://el-b.com/api/v1/webhooks

Authorization

  • Authorizationheaderrequired

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

Body

  • url string required

    A public https:// address, up to 500 characters. Private and internal addresses are refused.

  • events array required

    Event names, or ["*"] for every event, including ones added later.

Responses

StatusMeaning
201Success. The body is shown alongside.
422A field is invalid, or the account already has 5 endpoints (limit_reached).
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.