Dnd
DND Info
Retrieves a user's current Do Not Disturb status.
Authorization
slackAuth dnd:readAuthorizationBearer <token>
In: header
Scope: dnd:read
Query Parameters
token?string
Authentication token. Requires scope: dnd:read
user?string
User to fetch status for (defaults to current user)
Header Parameters
Content-Type*"application/x-www-form-urlencoded"
Value in
- "application/x-www-form-urlencoded"
Response Body
application/json
application/json
curl -X GET "https://example.com/dnd.info" \ -H "Content-Type: application/x-www-form-urlencoded"{ "dnd_enabled": true, "next_dnd_end_ts": 0, "next_dnd_start_ts": 0, "ok": "True", "snooze_enabled": true, "snooze_endtime": 0, "snooze_remaining": 0}
