Before you start
- A connected X or LinkedIn account in your workspace.
- A lead list with at least one lead.
- An API key. See Authentication.
Send your first DM
1
Pick the account to send from
List your connected accounts:Keep the
id of an account whose status is connected:2
Pick a lead
List your lead lists, then the leads in one of them:Keep the
id of a lead on the same network as your account.3
Find or start the conversation
conversation.conversationId. If you have never messaged this person, ReachHunt creates a draft that becomes a real conversation when you send the first message.Check canSend before you send. When it is false, blockedReason says why, such as peer_unreachable.4
Send the message
:, which becomes %3A. The response has the new messageId.5
Read the reply
fromMe is false on the messages the lead sent.Next steps
Core concepts
How accounts, conversations, leads and campaigns fit together.
Receiving webhooks
Get replies and other events on your server.
Errors
What each status code and message means.
Rate limits
How much each account can send.