Webhooks
Have what happens sent to your tool as it happens: a deal won, a meeting booked, an agreement signed. Every request needs an API key; the examples read it from $MAVATU_API_KEY. How lists, dates, money and errors work is in the API guide.
The webhook object
Where events are sent as they happen, for the person whose key made it: each as it happens, with the record it's about as the API shows it to them then, signed with the webhook's secret.
objectstringAlways webhook.
idstringurlstringWhere events are sent: an https address. Unlike other objects' url, it isn't a page in Mavatu: webhooks are listed in Settings › API keys.
eventsarray of stringsor nullThe types of event it's sent, like crm.deal_won.
statusstringon; off, turned off in Settings › API keys or because the address said it's gone (410); or failing, switched off because nothing sent to it worked for a day. Turn it on again in Settings › API keys.
status_reasonstringor nullWhy it's off or failing, for people; null when it's on.
secretstringor nullIts signing secret (mavatu_whsec_…), to check each event's Mavatu-Signature with. Only in the answer to its create: keep it then.
key{id, name}or nullThe API key it was made with: when the key is revoked or expires, nothing more is sent. Null for one made in Settings › API keys, which stops when its person leaves or can't use the API.
last_deliveryobjector nullHow the last event sent to it went; null before the first.
attimeWhen it was sent.
statusstringdelivered: the address answered with a 2xx; failed: it answered with anything else, or not at all.
response_statusintegeror nullThe HTTP status it answered with; null when it didn't answer.
created_attimeupdated_attime
{ "object": "webhook", "id": "whk_01jd0c2m8v4q6t1r3y5u7i9o2p", "url": "https://hooks.zapier.com/hooks/standard/4207311/b8kq2xz/", "events": [ "crm.deal_won", "sign.signed" ], "status": "on", "status_reason": null, "secret": null, "key": { "id": "key_01jcrswvk182vyz04sxwf6e996", "name": "Zapier" }, "last_delivery": { "at": "2026-11-12T10:04:33Z", "status": "delivered", "response_status": 200 }, "created_at": "2026-11-07T10:31:12Z", "updated_at": "2026-11-07T10:31:12Z"}List webhooks
GET/webhooks
The key's person's webhooks in this workspace, newest first: those made with any of their keys that still work.
Filters and paging
limitintegerHow many to return, 1 to 100. Default 25.
cursorstringnext_cursor from the previous page.
Returns
curl https://app.mavatu.com/api/v1/webhooks \ -H "Authorization: Bearer $MAVATU_API_KEY"Get a webhook
GET/webhooks/{id}
One of the key's person's webhooks, with whether it's on and how its last delivery went.
curl https://app.mavatu.com/api/v1/webhooks/whk_01jd0c2m8v4q6t1r3y5u7i9o2p \ -H "Authorization: Bearer $MAVATU_API_KEY"Create a webhook
POST/webhooks
Have events sent to an https address as they happen, as the key's person: each with the record it's about, as the API shows it to them then. The answer has the signing secret, the only time it's shown. A read-only key can make one: a webhook only sends what its person can see. It stops when the key is revoked or expires.
Any key works, including one that only reads. Send an Idempotency-Key to try it again safely.
Body
idstringYour own ID for it (whk_…), or leave it out.
urlstringrequiredAn https address on the internet to send events to, like a Zapier or Make hook's.
eventsarray of stringsrequiredThe types of event to send it, like crm.deal_won and sign.signed: see the list in the API guide.
Returns
curl -X POST https://app.mavatu.com/api/v1/webhooks \ -H "Authorization: Bearer $MAVATU_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "url": "https://hooks.zapier.com/hooks/standard/4207311/b8kq2xz/", "events": [ "crm.deal_won", "sign.signed" ]}'Delete a webhook
DELETE/webhooks/{id}
Stop sending events to a webhook, and remove it: Zapier and other tools do this when you turn their trigger off. It removes a setting, not anything in the workspace. Answers with the webhook as it was.
Any key works, including one that only reads. Send an Idempotency-Key to try it again safely.
curl -X DELETE https://app.mavatu.com/api/v1/webhooks/whk_01jd0c2m8v4q6t1r3y5u7i9o2p \ -H "Authorization: Bearer $MAVATU_API_KEY"