provider team GET
/team.info @utdk/slack
/team.info team_info
Gets information about the current team.
- token query required
- Authentication token. Requires scope: `team:read`
- string
- team query
- Team to get info on, if omitted, will return information about the current team. Will only return team that the authenticated token is allowed to see through external shared channels
- 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.teamInfo()