Skip to content

ActivityController_report

POST
/api/notifications/activity
curl --request POST \
--url https://api.streams.chat/api/notifications/activity \
--header 'Content-Type: application/json' \
--data '{ "deviceId": "example", "active": true, "reason": "lock", "surface": "android-twa" }'
Media typeapplication/json
object
deviceId
required
string
>= 1 characters <= 128 characters
active
required
boolean
reason
string
Allowed values: lock sleep hidden blur
surface
string
Allowed values: android-twa