SendbirdSendbird Chat Platform server-side API v3
PUT/v3/users/{user_id}/push_preference
Update push preferences
Updates a user's notification preferences for the given user_id, such as do-not-disturb periods and push sound, controlling how push messages are delivered when the device is idle or the app runs in the background. Push notifications are only available for group channels.
Manage users, group channels, open channels, messages, metadata, moderation, bots, and announcements through the official Sendbird Chat Platform API v3. The complete boundary is the 83 REST endpoints reconstructed from a pinned official generated SDK revision; client realtime protocols and Chat SDKs are not part of this collection. Application data is the caller's private content, so Pontx does not proxy, cache, or aggregate it and callers use the local SDK/CLI directly.
Request
- operationId
updatePushPreferences- Server
https://api-{app_id}.sendbird.com- Authentication
- apiTokenAuth
Request parameters
user_id
pathstringrequired
User identifier.
user_id_123
Request body
Properties: block_push_from_botsdnd_schedulesdo_not_disturbenable_push_for_repliesend_hourend_minpush_blocked_bot_idspush_soundpush_trigger_optionsnooze_enabledsnooze_end_tssnooze_start_tsstart_hourstart_mintimezone
Responses
200
UpdatePushPreferencesResponseapplication/json
Request succeeded.
Properties: block_push_from_botsdnd_schedulesdo_not_disturbenable_push_for_repliesend_hourend_minpush_blocked_bot_idspush_soundpush_trigger_optionsnooze_enabledsnooze_end_tssnooze_start_tsstart_hourstart_mintimezone
400
SendbirdApiErrorapplication/json
Request parameters are invalid.
Properties: codemessage
401
SendbirdApiErrorapplication/json
Unauthenticated or the API token is invalid.
Properties: codemessage
403
SendbirdApiErrorapplication/json
Access to the resource is forbidden.
Properties: codemessage
404
SendbirdApiErrorapplication/json
The requested resource was not found.
Properties: codemessage
429
SendbirdApiErrorapplication/json
Rate limited; retry later.
Properties: codemessage
500
SendbirdApiErrorapplication/json
Upstream internal error.
Properties: codemessage
{
"block_push_from_bots": true,
"dnd_schedules": {
"day_of_week": "monday",
"time_windows": []
},
"do_not_disturb": true,
"enable_push_for_replies": true,
"end_hour": 1,
"end_min": 1,
"push_blocked_bot_ids": [
"push_blocked_bot_ids_value"
],
"push_sound": "push_sound_value"
}