Tool
add_subscriber_channel
Add a subscriber notification channel
SurfacesChat agentMCPCLI
Register a delivery channel for a subscriber. type=email|push|webhook. For webhook, endpoint must be an http(s) URL; a signing secret is returned. Optional topics restrict which notification topics this channel receives (e.g. ['order.*']).
CLI: tinbox add-subscriber-channelParameters
| Name | Type | Required | Description |
|---|---|---|---|
contactId | string | yes | — |
type | emailpushwebhook | yes | — |
endpoint | string | yes | Email address, push token, or webhook URL. |
topics | string[] | no | Optional topic filters; blank = all topics. |
Example
json
{
"contactId": "<contactId>",
"type": "email",
"endpoint": "<endpoint>"
}