createWebhook
Creates a new webhook in a Clockify workspace to send selected event notifications to a specified URL, with configurable trigger sources and optional verification.
Instructions
Create a new webhook in a workspace
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": {
"workspaceId": "<workspaceId>",
"name": "<name>",
"url": "<url>",
"triggerSource": "<triggerSource>"
},
"name": "createWebhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Webhook URL to receive events | |
| name | Yes | Webhook name | |
| enabled | No | Whether the webhook is enabled (optional) | |
| authToken | No | Auth token for webhook verification (optional) | |
| workspaceId | Yes | The workspace ID | |
| triggerSource | Yes | Array of trigger source events (e.g., PROJECT, TASK, TIME_ENTRY, TAG) |