Create a webhook subscription
create_subscriptionCreates a subscription and returns its id, title, state, trigger and webhook. Use it to deliver one trigger to one webhook in the current workspace. Use get_trigger for required inputs and filter fields. Inputs choose what is fetched. Conditions filter events. Get the webhook fullname from list_webhooks or add_webhook. The API can refuse creation with subscription_limit_reached. A created subscription may be blocked and include blockedReason. If the call ends without a reply, call list_subscriptions before retrying because a retry can create a duplicate. Use set_subscription_state for an existing subscription.
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": {
"trigger": "<trigger>",
"webhook": "<webhook>"
},
"name": "create_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Use on to deliver events or off to pause delivery. | on |
| title | No | Optional display title for the subscription. | |
| inputs | No | Runtime values keyed by input name from get_trigger. Include every required input. | |
| trigger | Yes | Trigger fullname from get_trigger or find_triggers. | |
| webhook | Yes | Webhook fullname from list_webhooks or add_webhook. | |
| conditions | No | Filter on fields from get_trigger. Omit or pass null for all events. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | ||
| subscription | Yes |