Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Slack iOS URL Scheme

Tags:

ios

slack-api

Can I link directly to message someone on my Slack team from my iOS app? If I just open a slack: url, it will open the slack app, but not linking to someone's message thread. I tried a few obvious ones:

  • slack:ptarjan
  • slack://ptarjan

but I'm punching in the dark.

For reference, Facebook Messenger's is fb-messenger://user-thread/{user-id} and skype's is skype:{user-id}?chat'.

like image 914
Paul Tarjan Avatar asked Aug 03 '15 22:08

Paul Tarjan


People also ask

What urls does Slack use?

The Slack URL is your workspace name, followed by the slack.com domain (ex. acmeinc.slack.com). If you're part of an Enterprise Grid organization, you can sign in from an individual workspace URL or your org URL (ex. acmeorg.enterprise.slack.com).


2 Answers

A bit late to the party here, but currently this works with the desktop app:

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

Use the Slack API to get your team id with team.info and your channel ids with channel.list.

I don't know if this works their native apps or in-browser app. It's worth noting that it's not official so Slack could potentially change it at their whim and without notice.

like image 84
jgillman Avatar answered Oct 07 '22 00:10

jgillman


I heard from them, it is not supported yet but planned.

like image 39
Paul Tarjan Avatar answered Oct 07 '22 01:10

Paul Tarjan