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
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import slack from '@utdk/slack';
await slack.dndInfo()