Manage subscription form webhook
manage_subscription_form_webhookCreates, rotates, activates, deactivates, or deletes a form's inbound subscription webhook. Read get_subscription_form first and copy revision and webhook.updatedAt exactly. create requires no existing webhook; rotate replaces an existing token and invalidates its old URL. Creation and rotation activate the webhook and return its secret URL once; ordinary reads cannot recover it. Keep the URL confidential. activate/deactivate preserve the token; delete invalidates it. An active webhook also requires an active form to accept subscriptions. Conflicts require a fresh read; never automatically retry rotation.
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": {
"formId": "<formId>",
"expectedRevision": "<expectedRevision>",
"expectedWebhookUpdatedAt": "<expectedWebhookUpdatedAt>",
"action": "<action>"
},
"name": "manage_subscription_form_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| formId | Yes | ||
| expectedRevision | Yes | ||
| expectedWebhookUpdatedAt | Yes | Exact webhook.updatedAt from get_subscription_form; null if absent |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formId | Yes | ||
| webhook | Yes | ||
| revision | Yes | ||
| requestId | Yes |