provider dnd GET /dnd.info
@utdk/slack /dnd.info
dnd_info
Retrieves a user's current Do Not Disturb status.
token query
Authentication token. Requires scope: `dnd:read`
string
user query
User to fetch status for (defaults to current user)
string

Try it

Authentication
Configure credentials for Slack Web API
dndInfo
GET/dnd.info
Retrieves a user's current Do Not Disturb status.

Authentication token. Requires scope: `dnd:read`

User to fetch status for (defaults to current user)

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.dndInfo()