Slack API: Invite user to a Workspace
Jump to navigation
Jump to search
- https://api.slack.com/admins/workspaces#inviting
admin.users.invite
: https://api.slack.com/methods/admin.users.invite
curl -F token=xoxp-... -F team_id=T1234 -F channel_ids=C1234 -F [email protected] https://slack.com/api/admin.users.invite
curl -d "token=xoxb-not-a-real-token-this-will-not-work" https://slack.com/api/auth.test
curl -F token=xoxp-6791351677761-2602402338589-2577382022853-ecfdbd6fafe8dbec4835f972251b4568 -F team_id=xxHDABKXTT -F channel_ids=XXXX -F [email protected] https://slack.com/api/admin.users.invite {"ok":false,"error":"missing_scope","needed":"admin.users:write","provided":"admin,identify"}
See also[edit]
- Slack API, Slack app, Slack token, Slack scopes
- Slack, Pagerly,
/poll, /gcal, /remind, /confluence
, AWS Chatbot, Slackbot, Slack API, Slack Workspace, Hubot, Slack notifications, Slackbot-LinkExpanding,uses: slackapi/slack-github-action
, Search in Slack, Navigate Slack with your keyboard, Enterprise Grid, Slack App Managers
Advertising: