title: Can I create a link on a web-page to dm someone on slack? (in a specific work-space)
body: <p>Can I create a link on a web-page to dm someone on slack? (in a specific work-space)</p>
  
  <p>according to the <a href="https://api.slack.com/docs/deep-linking#open_a_direct_message" rel="nofollow noreferrer">documentation</a>, something like this should work</p>
  
  <pre><code>&lt;a href="slack://user?team=TEAM-ID&amp;id=USER-ID" target="_blank"&gt;
    click to dm me on slack
  &lt;/a&gt;
  </code></pre>
  
  <p>Where do I find the team id? Is it the subdomain in the workspace URL <code>TEAM-ID.slack.com</code></p>
  
  <p>When I tried this all it does is open slack to whatever was open last. I want it to open a direct message to the user whose user id is in the link.</p>
  
  <p><strong>Update:</strong> being that it is a little more complicated then I thought and I doubt I'll get a slack token from an admin, I'll be leaving it as is (just my slack username for people to find).</p>