v1

latestOpenAPI 3.1.02026-07-2496304466.3 KB
Events + Webhooks

Create Webhook

post/webhooks

Headers

LMG-Data-Privacy-Access-Principalstring required
LMG-Data-Privacy-Access-Justificationstring required

Request body

urlstring uri required

The URL of your webhook endpoint to be invoked when an event occurs.

eventsEventType[] required

Example request

{
  "url": "https://httpbin.org/status/503"
}

Response

Successful Response

idstring required

A string representing a webhook's unique identifier.

urlstring uri required

The URL registered to receive webhook notifications.

eventsEventType[] required
signature_secretstring required

Shared secret used to calculate the signature in the HTTP header Lemon-Markets-Signature for requests posted to the webhook URL.

Example response

{
  "id": "wbh_0953534cf20f414098533680abd6b1c6"
}