Dnd
DND Set Snooze
Turns on Do Not Disturb mode for the current user, or changes its duration.
Authorization
slackAuth dnd:writeAuthorizationBearer <token>
In: header
Scope: dnd:write
Header Parameters
Content-Type*"application/x-www-form-urlencoded"
Value in
- "application/x-www-form-urlencoded"
Request Body
application/x-www-form-urlencoded
token*string
Authentication token. Requires scope: dnd:write
num_minutes*string
Number of minutes, from now, to snooze until.
Response Body
application/json
application/json
curl -X POST "https://example.com/dnd.setSnooze" \ -H "Content-Type: application/x-www-form-urlencoded" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'token=string&num_minutes=string'{ "ok": "True", "snooze_enabled": true, "snooze_endtime": 0, "snooze_remaining": 0}
