Register a webhook endpoint
POST
/webhooksRequires scope: manage:webhooks
Parameters
| Parameter | In | Type | Description |
|---|---|---|---|
Idempotency-Keyrequired | header | string | Stable logical request ID required for every machine mutation; exact retries replay and changed inputs conflict. |
Request body
| Field | Type | Allowed values | Description |
|---|---|---|---|
urlrequired | string | any string | https only |
event_types | "deal.created" | "deal.updated" | "deal.stage_changed" | "contact.created" | "store.entered" | "store.exited" | "store.signal" | "watch.health_changed"[] | any "deal.created" | "deal.updated" | "deal.stage_changed" | "contact.created" | "store.entered" | "store.exited" | "store.signal" | "watch.health_changed"[] | Omit for all current events |
Responses
| Status | Description |
|---|---|
201 | Created (secret shown once) |
400 | Invalid url / event types |
401 | Missing or invalid API key |
403 | Key lacks the required scope |
429 | Rate limit exceeded (see Retry-After) |
Is this page helpful?