All webhooks
Funnels
Funnel created
funnel.createdFires when a new sales funnel is created. A freshly created funnel has no stages yet, so `stages_count` is typically `0` at this point.
HTTP request
AISAR sends a signed POST request to your webhook_url:
http
POST {webhook_url}
Content-Type: application/json
X-AISAR-Signature: sha256=...
{
"event": "funnel.created",
"event_id": "evt_01JXXXXXXXXXXXXXXXXXXXXX",
"timestamp": "2026-03-26T10:00:00.000000Z",
"company_id": 1,
"data": {
"funnel": {
"id": 3,
"name": "Sales Pipeline",
"stages_count": 0
}
}
}The X-AISAR-Signature header carries an HMAC-SHA256 signature of the request body — use it to verify the request came from AISAR.
Example payload
json
{
"event": "funnel.created",
"event_id": "evt_01JXXXXXXXXXXXXXXXXXXXXX",
"timestamp": "2026-03-26T10:00:00.000000Z",
"company_id": 1,
"data": {
"funnel": {
"id": 3,
"name": "Sales Pipeline",
"stages_count": 0
}
}
}Payload fields
| Field | Type | Description |
|---|---|---|
funnel.id | integer | Funnel ID |
funnel.name | string | Funnel name |
funnel.stages_count | integer | Number of stages in the funnel |