Create Webhook
POST
/backend/webhooksBody Parameters
string
required
URL that will receive notifications
array
required
List of events to subscribe to
boolean
default:"true"
Whether webhook is active
Request Example
Response
Create a Pipeline Deal
Besides creating or updating the lead, an inbound webhook can drop it straight onto the CRM board, so leads from a form or an ad land in the pipeline automatically.string
Pipeline where a deal should be created for the received lead
string
Stage the deal should land in
target_pipeline_id as the zero UUID
(00000000-0000-0000-0000-000000000000) — this clears both fields.
Behavior
The deal is created after the lead
The deal is created after the lead
The lead is created or updated first. Only then is the deal created and linked to it.
Failures never break lead ingestion
Failures never break lead ingestion
If deal creation fails — deleted stage, removed pipeline, invalid configuration — the error
is logged and the request still returns success. Taking in the lead is the webhook’s
core job; the deal is a bonus.
The target stage cannot be the lost stage
The target stage cannot be the lost stage
A webhook never silently creates already-lost deals. A
lost target stage is refused.History records a system actor
History records a system actor
Since there is no authenticated user on a webhook call, the
deal_created event shows up in
the deal history with actor_type: "system".Signature Verification
Every webhook includes anX-Leavo-Signature header. Verify it to ensure authenticity: