Notification routes
User notifications and delivery channels.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
channels?stringDefault Response
curl -X GET 'https://your-app-node-url/auth/user/notification-channel' \ -H 'ttr-token: <session-token>'ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
application/json- body
channel*string"email""push"conf?action*string"set""remove"Default Response
curl -X POST 'https://your-app-node-url/auth/user/notification-channel' \ -H 'ttr-token: <session-token>' \ -H 'Content-Type: application/json' \ -d '{ "channel": "email", "action": "set", "conf": {}}'ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
start_ts?integerend_ts?integerDefault Response
curl -X GET 'https://your-app-node-url/auth/user/notification' \ -H 'ttr-token: <session-token>'ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
notificationId*stringDefault Response
curl -X POST 'https://your-app-node-url/auth/user/notification/string/dismiss' \ -H 'ttr-token: <session-token>'ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
Default Response
curl -X POST 'https://your-app-node-url/auth/user/notification/dismiss-all' \ -H 'ttr-token: <session-token>'ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
Default Response
curl -X GET 'https://your-app-node-url/auth/user/vapid-key' \ -H 'ttr-token: <session-token>'ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
Default Response
curl -X POST 'https://your-app-node-url/auth/user/push-notification-test' \ -H 'ttr-token: <session-token>'Requires team capability activities.read. Acts on the team in the X-Team-Id header. If omitted, the caller's only team membership is used.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
start_ts?integerend_ts?integerlimit?integer1 <= value <= 10010cursor?stringtype?stringteam_id?stringsort?string"desc""asc""desc"x-team-id?stringTeam to act on. Required only when the caller belongs to more than one team.
Default Response
curl -X GET 'https://your-app-node-url/auth/user/activities' \ -H 'ttr-token: <session-token>'