publ betaReference (MCP guide)
Open publ console

publ Reference

channel_notifications_apply

Turns one notification event on or off or changes its email and push switches, as the console does: turning the event on or off also turns email and both pushes off, and they can change only while the event is on. Called without confirmToken it previews and returns a confirmToken; repeating the same input with it executes once.

Inputs

Field Required here Contract
eventKey Yes MEMBER_GENERAL_CHANNEL_ACCOUNT_REGISTER, MEMBER_GENERAL_CHANNEL_ORDER_CREATE, SYSTEM_GENERAL_CHANNEL_REFUND_REQUEST_ACCEPT
settings Yes object
settings.isActivated No boolean
settings.isSendEmail No boolean
settings.isSendPwaPush No boolean
settings.isSendAppPush No boolean
confirmToken No string; pattern ^ct[a-f\d]{32}$; The confirmToken from this tool's preview result. Omit it to preview; repeat the same input with it to execute.