Add notification delivery method
stack_add_delivery_methodAdd a notification delivery method (email, SMS or webhook). Email, SMS and webhook are the channel types: a hosted account's plan can limit SMS and webhook (the API answers 403 when it does), and SMS needs a text provider configured on the deployment. An email address matching the account email is verified automatically. Every other destination, webhook included, is verified with a code; for a webhook STACK posts the code to the URL signed with the destination's HMAC secret. Nothing is delivered to an unverified destination. Calls from MCP and API-key sessions require human approval. When human approval is required and the chat client supports MCP elicitation, the person is asked to confirm the exact change in the client; the change is applied only after they approve, and a rejection changes nothing. Otherwise it returns GOVERNANCE_APPROVAL_REQUIRED with approval_id and approval_url, the page for that one approval, and the same payload sent with governance_approval_id after approval applies the change. An approval is single-use, bound to the exact payload, and expires after 24 hours. Returns the delivery method; for a webhook it returns a masked hint of the HMAC signing secret, never the secret itself.
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": {
"channel_type": "<channel_type>",
"destination": "<destination>"
},
"name": "stack_add_delivery_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| destination | Yes | Email address, phone number (+E.164), or webhook URL | |
| channel_type | Yes | Delivery method type | |
| governance_approval_id | No | Approval id (gvr_*) from a GOVERNANCE_APPROVAL_REQUIRED response, after a human approved it in the dashboard |