Sample - Slack Web API
POST/dnd.endSnooze

End Do Not Disturb snooze

Ends the authenticated user's active snooze mode immediately. Use this operation to resume the normal Do Not Disturb schedule before the snooze period reaches its end time.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 parameter
tokenstringrequired
Authentication token with the `dnd:write` scope.

2 status codes
200Returns `ok: true`, the current Do Not Disturb state, and the next scheduled start and end timestamps.
dnd_enabledbooleanrequired
next_dnd_end_tsintegerrequired
next_dnd_start_tsintegerrequired
okbooleanrequired
Allowed:true
snooze_enabledbooleanrequired
defaultReturned when snooze is not active or cannot be ended, or when authentication, permissions, account status, or request encoding is invalid.
callstackstringoptional
Note: PHP callstack is only visible in dev/qa
errorstringrequired
Allowed:snooze_not_activesnooze_end_failednot_authedinvalid_authaccount_inactivetoken_revokedno_permissionorg_login_requireduser_is_botinvalid_arg_nameinvalid_array_arginvalid_charset
okbooleanrequired
Allowed:false

Error handling

token must provide authentication with the dnd:write scope. The authenticated user must have an active snooze mode that can be ended.