Rotate Webhook Secret
shipmail_rotate_webhook_secretRotate a webhook signing secret. After the previous secret expires, integrations using it will stop verifying. The new secret is returned once.
Instructions
Rotate a webhook signing secret. Existing integrations using the old secret stop verifying after the previous_secret_expires_at window; treat as destructive. The new secret is returned once and will appear in the conversation log.
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": {
"id": "<id>"
},
"name": "shipmail_rotate_webhook_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ShipMail resource ID. | |
| idempotency_key | No | Optional idempotency key. If omitted, the MCP server generates one for POST tools. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| secret | Yes | ||
| previous_secret_expires_at | Yes |