Sukitha Udugamasooriya
Sukitha Udugamasooriya

Reputation: 2308

Open slack app from a hyperlink (or URL scheme)

Is there a defined url-scheme which can be used to open the Slack app from a third-party app?

Upvotes: 1

Views: 8970

Answers (2)

Aldo
Aldo

Reputation: 923

Open Slack

 slack://open

Open a channel

 slack://channel?team={TEAM_ID}&id={CHANNEL_ID}

Open a direct message

 slack://user?team={TEAM_ID}&id={USER_ID}

Open a file

  slack://file?team={TEAM_ID}&id={FILE_ID}

source: https://api.slack.com/docs/deep-linking

example: slack://channel?team=U769JLSAV&id=C765NAL8G

Upvotes: 1

Rukshan
Rukshan

Reputation: 8066

As I heard url schemes for Slack is not supported yet, but planned.

Although unofficial, you may try this,

slack://channel?id=<channel/group/user-id>&team=<team-id>

Upvotes: 2

Related Questions