Skip to main content

dnd.info method

Welcome to the new home of Slack developer docs!

We're still building and not all features are available quite yet. Enjoy this peek into the future!

Not ready for the future? Return to the past at api.slack.com.

Usage info

Provides information about a user's current Do Not Disturb settings.

Response

    {
"ok": true,
"dnd_enabled": true,
"next_dnd_start_ts": 1450416600,
"next_dnd_end_ts": 1450452600,
"snooze_enabled": true,
"snooze_endtime": 1450416600,
"snooze_remaining": 1196,
"snooze_is_indefinite": false // There is no way to set this to true.
}

Snooze properties

All of the snooze_* properties will only be visible if the user being queried is also the current user.

The snooze_endtime and snooze_remaining properties will only be returned if snooze_enabled is true.