Skip to content

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-channel

Parameters

NameTypeRequiredDescription
contactIdstringyes—
typeemailpushwebhookyes—
endpointstringyesEmail address, push token, or webhook URL.
topicsstring[]noOptional topic filters; blank = all topics.

Example

json
{
  "contactId": "<contactId>",
  "type": "email",
  "endpoint": "<endpoint>"
}