messenger_notifications_apply
Configure one notification event in the Messenger app (pApp D00003). Requires the event key with enabled, appPush, pwaPush and/or a template key. Connection and activity events need Z00010. Write: disabling also turns push off; other events are kept. A lost receipt stays pending and is never resent; task_resume only observes, and prepared work needs the identical apply. Called without confirmToken it previews and returns a confirmToken; repeating the same input with it executes once.
Inputs
| Field | Required here | Contract |
|---|---|---|
settings |
Yes | object |
settings.event |
Yes | MEMBER_P_APP_D00003_CHATROOM_MSG_OCCURED, SELLER_P_APP_D00003_CHATROOM_MSG_OCCURED, SELLER_P_APP_D00003_CHATROOM_MSG_READ, SELLER_P_APP_D00003_P_APP_CONNECT, CREATOR_P_APP_D00003_P_APP_CONNECT, SELLER_P_APP_D00003_CHATROOM_MSG_MSG_OCCURED, CREATOR_P_APP_D00003_CHATROOM_MSG_MSG_OCCURED; The triggering business event. MEMBER messages target seller/member; seller message/read target one member; connection/activity events target all members and require Z00010. |
settings.enabled |
No | boolean; Enable future notifications for this event. Disabling also clears app, PWA and email switches as in the original screen. |
settings.appPush |
No | boolean |
settings.pwaPush |
No | boolean |
settings.template |
No | string; One exact template key returned by get for the selected activity event; arbitrary message text is not supported. |
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. |