Add a webhook (send Sergio events to Make, Zapier or any URL)
webhook_createAdds an outgoing webhook, as Add webhook in Settings > Connections > Webhooks does: Sergio posts each chosen event, signed (Sergio-Signature: t=,v1=), to url (https). events: public event names from read webhook_events (e.g. booking.created), or ["*"] for every event including ones added later. Shows the exact url and events for your person's yes first (confirm step). Answers the endpoint and its signing secret ONCE (later reads show only its last 4). Then call webhook_test. What the receiving app does with the data, including any texts or emails it sends, is the company's own automation outside Sergio. Pass the same idempotency_key when retrying.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>",
"events": "<events>",
"idempotency_key": "<idempotency_key>"
},
"name": "webhook_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| events | Yes | ||
| confirm_token | No | From the preview, after your person said yes. Leave it out to get the preview. | |
| idempotency_key | Yes | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |