Create a signing secret for a Pitchlane webhook
create_webhook_secretGive an existing Pitchlane webhook subscription that has no signing secret (signed: false in list_webhooks, one made before deliveries were signed) its secret (whsec_…). From then on its deliveries carry a webhook-signature header, beside webhook-id and webhook-timestamp, that the receiving endpoint verifies with the secret. The secret is returned this once and never again: give it to the user and tell them to store it now. A subscription that already has one is refused (409 webhook_already_signed): a secret is never replaced or shown again. To get a new one, create a new subscription with create_webhook and delete the old one.
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_id": "<webhook_id>"
},
"name": "create_webhook_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhook_id | Yes | The subscription's id, as list_webhooks or create_webhook returns it, e.g. `DHFG2C09n_3qrsSymZjjm`. |