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
Code snippet
Updates live as you fill in the form above.
TypeScript
import slack from '@utdk/slack';
await slack.dndTeaminfo()