Skip to content

Instantly share code, notes, and snippets.

@skhavari
Last active June 22, 2018 23:41
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skhavari/e1908a6b258b07e37336 to your computer and use it in GitHub Desktop.
Save skhavari/e1908a6b258b07e37336 to your computer and use it in GitHub Desktop.
slack://channel?id=<channel/group/user-id>&team=<team-id>
@yannickglt
Copy link

For information, channel id and team id are different from their name and should be retrieved thanks to the API methods.

@bkuberek
Copy link

bkuberek commented Oct 9, 2015

how do I get team id?

@yannickglt
Copy link

You get it from the Slack API. (e.g.: https://api.slack.com/methods/channels.list)

@fspinillo
Copy link

For users, which ID gets passed through? I tried both IM ID and user ID but neither seem to be working.

@buzali
Copy link

buzali commented Dec 3, 2015

IM id worked for me (e.g. https://api.slack.com/methods/im.list). slack://channel?id=<im-id>&team=<team-id>

@orta
Copy link

orta commented Feb 18, 2017

The full list is available here: https://api.slack.com/docs/deep-linking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment