Difference between revisions of "Slack API"

From wikieduonline
Jump to navigation Jump to search
 
Line 1: Line 1:
 
* https://api.slack.com/
 
* https://api.slack.com/
  
== Invite user to a [[Workspace]] ==
+
== [[Slack API: Invite user to a Workspace]] ==
* https://api.slack.com/admins/workspaces#inviting
 
* <code>admin.users.invite</code>: 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
 
:<code>[[channel_ids]]</code>
 
:<code>[[team_id]]</code>
 
 
 
 
 
 
 
 
 
* <code>[[curl -d]] "token=[[xoxb]]-not-a-real-token-this-will-not-work" https://slack.com/api/auth.test</code>
 
  
  

Latest revision as of 15:57, 8 October 2021

Advertising: