Skip to navigation

write_webhook

Create, update and deactivate webhook endpoints

Live server: test server (test.mcp.solvimon.com) only.

Creates, updates and deactivates webhook endpoints.

Actions: create, update, deactivate

  • Event names must match exactly (INVOICE.PAID), without wildcards. Unknown names are refused with the list of real ones.
  • When included_actions is set, excluded_actions is ignored, and the result warns you.
  • The authentication type (API_KEY, PASSWORD or NONE) is fixed at creation. To change it, create a new webhook and deactivate the old one.
  • Secrets are never echoed back. update with active: true re-enables a webhook that was disabled after failures. Deleting a webhook and rolling its signing secret are done in Desk.
Create a webhook
{"action": "create", "name": "Invoice events", "reference": "billing-events", "url": "https://api.example.com/webhooks/solvimon", "included_actions": ["INVOICE.STATUS_TO_FINAL", "INVOICE.PAID"], "authentication_type": "API_KEY", "api_header_field": "X-Webhook-Token", "api_key": "<secret>"}

Example prompts

  • “Send finalized and paid invoice events to https://example.com/webhooks/solvimon.”
  • “Our endpoint is fixed. Turn the billing webhook back on.”
  • “Add failed payment events to our billing webhook.”
  • “Deactivate the old staging webhook.”

Example output

Prompt: “Send finalized and paid invoice events to https://example.com/webhooks/solvimon.”

Tool call:

{
"action": "create",
"name": "Docs example",
"reference": "docs_example",
"url": "https://example.com/webhooks/solvimon",
"included_actions": ["INVOICE.STATUS_TO_FINAL", "INVOICE.PAID"],
"authentication_type": "NONE"
}

Response (trimmed):

{
"id": "webh_iwDpzo0vA1bNFKCA7H1V",
"name": "Docs example",
"reference": "docs_example",
"url": "https://example.com/webhooks/solvimon",
"included_actions": ["INVOICE.STATUS_TO_FINAL", "INVOICE.PAID"],
"active": false,
"include_previous_data": true,
"authentication_type": "NONE"
}

Claude’s answer: I created the webhook “Docs example” for finalized and paid invoices, without authentication. It isn’t active yet, so nothing is sent; say when your endpoint is ready and I’ll turn it on.