provider dnd GET
/dnd.teamInfo @utdk/slack
/dnd.teamInfo dnd_teamInfo
Retrieves the Do Not Disturb status for up to 50 users on a team.
- token query
- Authentication token. Requires scope: `dnd:read`
- string
- users query
- Comma-separated list of users to fetch Do Not Disturb status for
- 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.dndTeaminfo()