provider dnd POST /dnd.setSnooze
@utdk/slack /dnd.setSnooze
dnd_setSnooze
Turns on Do Not Disturb mode for the current user, or changes its duration.

Try it

Authentication
Configure credentials for Slack Web API
dndSetsnooze
POST/dnd.setSnooze
Turns on Do Not Disturb mode for the current user, or changes its duration.

Input

required

Number of minutes, from now, to snooze until.

required

Authentication token. Requires scope: `dnd:write`

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import slack from '@utdk/slack';

await slack.dndSetsnooze()