Skip to content

CLI command

tinbox add-subscriber-channel

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.*']).

Generated from tool: add_subscriber_channel

Usage

sh
tinbox add-subscriber-channel --contactId <contactId> --type <type> --endpoint <endpoint> --topics <topics>

Flags

NameTypeRequiredDefaultDescription
--contactIdstringyes—contactId
--typestringyes—type
--endpointstringyes—Email address, push token, or webhook URL.
--topicsstringyes—Optional topic filters; blank = all topics.