View push preferences

GET {{baseUrl}}/v3/users/:user_id/push_preference

View push preferences

Retrieves a user's push preferences about whether the user has set do_not_disturb to pause notifications for a certain period of time, and the time frame in which the user has applied the setting.

https://sendbird.com/docs/chat/v3/platform-api/guides/user#2-view-push-preferences

HEADERS

KeyDatatypeRequiredDescription
Api-Tokenstring(Required)
Acceptstring

RESPONSES

status: OK

{"snooze_start_ts":"\u003cstring\u003e","start_hour":"\u003cnumber\u003e","snooze_enabled":"\u003cboolean\u003e","end_min":"\u003cnumber\u003e","timezone":"\u003cstring\u003e","block_push_from_bots":"\u003cboolean\u003e","push_blocked_bot_ids":["\u003cstring\u003e","\u003cstring\u003e"],"start_min":"\u003cnumber\u003e","snooze_end_ts":"\u003cstring\u003e","do_not_disturb":"\u003cboolean\u003e","end_hour":"\u003cnumber\u003e","enable_push_for_replies":"\u003cboolean\u003e","push_sound":"\u003cstring\u003e","push_trigger_option":"\u003cstring\u003e"}