API Recipes
Send a Direct Message
This recipe was an interactive walkthrough in the previous portal. Each step below names the API call it makes; open it in the API Reference to try it.
Getting Started
Step 1: Users Lookup by Email
Find a user with an email address
API call: users_lookupByEmail
Step 2: Open Conversation
Opens a conversation
API call: conversations_open
Step 3: Direct Message
Sends a message to a channel/user
API call: chat_postMessage

