Share a Message Permalink in a Direct Message
A 4-step recipe with Slack. We can help you get access.
Recipe · 4 steps
Share a Message Permalink in a Direct Message
with Slack
Get a message permalink and DM it to a user resolved by email.
- Retrieve the permalink URL for the target message.
- Resolve the recipient email address to a Slack user ID.
- Open a direct message channel with the resolved recipient.
- Post the message permalink into the direct message so the recipient can jump straight to it.
What you'll need to have ready
- channel: The channel ID containing the message.
- messageTs: The timestamp of the message to share.
- recipientEmail: The email address of the user to send the permalink to.
For your developer
Arazzo workflow slack:permalink-share-to-dm, 4 operations: getChatGetpermalink → getUsersLookupbyemail → postConversationsOpen → postChatPostmessage. Specs on APIs.io.