product:chat

Push notification preferences

Changed on

Upserts the push preferences for a user and or channel member. Set to all, mentions or none

post/push_preferences

Request

  • Base URL
    https://chat.stream-io-api.com
  • URL
    https://chat.stream-io-api.com/push_preferences
  • Auth
    • API key in header Authorization and API key in query parameter api_key and API key in header Stream-Auth-Type
    • or API key in query parameter api_key and API key in header Stream-Auth-Type

Request body

Response

Successful response

durationstring required

Duration of the request in milliseconds

user_channel_preferencesobject required

The channel specific push notification preferences, only returned for channels you've edited.

user_preferencesobject required

The user preferences, always returned regardless if you edited it

Changes

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the request property //

    • warning

      removed the optional property // from the response with the status