Save a webhook
save_webhookCreate (omit webhook_id) or update a webhook endpoint (admin only; Solo Lite 1 endpoint, Solo 3, Team and Business+ 10). md2sign POSTs signed JSON with the document, its markdown and, on document.completed, the signed PDF as base64 to a public https URL such as Zapier, Make or n8n. Set send_test=true to send a test event.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public https:// URL. Required when creating. | |
| events | No | Defaults to ["document.completed"]. | |
| api_key | No | An md2sign API key. When given, this call uses that key's account even if the connection is signed in as someone else, so pass it on every call when your human has more than one md2sign account (for example two businesses). Also use it if your MCP client cannot send an "Authorization: Bearer <api_key>" header. | |
| is_active | No | Set false to pause deliveries without deleting the endpoint. Default true. | |
| send_test | No | Queue a webhook.test delivery after saving. | |
| webhook_id | No | Omit to create a new endpoint. | |
| description | No | Label for this endpoint, e.g. "Send signed contracts to HubSpot". | |
| include_pdf | No | Attach the signed PDF (base64) to document.completed. Default true. |