Create a webhook
create_webhookHave RevDesk send an event to an https web address whenever it happens. The reply includes a signing secret shown only this once; give it to the user to store safely and do not repeat it elsewhere.
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": {
"webhook_url": "<webhook_url>",
"event_type": "<event_type>"
},
"name": "create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_type | Yes | Which event to send | |
| webhook_url | Yes | https address that receives the events | |
| workspace_id | No | Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace. |