How it fits together
Workspace
Your API key decides the workspace, so no path or parameter names one. To work with another workspace, create a key in that workspace. Your teammates are its members, and the ones you can assign conversations to are its assignees.Accounts
An account is an X or LinkedIn account connected to your workspace. You connect accounts in the ReachHunt app with the ReachHunt extension, not through the API. An account’sstatus is connected, or needs_reauth when it must be connected again in ReachHunt before it can send. Each account has its own sending limits.
Conversations and messages
A conversation is between one connected account and one person. Its ID isconversationId, and most conversation and message calls also take the accountId. URL-encode the conversation ID in paths, because X IDs contain :.
Find or start conversation returns the conversation with a person. When there is none yet, it creates a draft that becomes a real conversation when you send the first message.
Each message has fromMe, which is true when your account sent it. sentBy says who on your side sent it: a teammate, a campaign or an AI agent.
Requests are message requests and connection invitations waiting for an answer on one account.
Leads and lead lists
A lead list collects people from one network, so it has aplatform. Imports into a list run as jobs that you can follow, pause or stop.
A lead is a person in your lead lists. Request bodies call its ID prospectId.
A person’s tags, status, note and deal value belong to the person, not to one conversation or list. Set them from the conversation or from the lead, and both show the change.
Campaigns
A campaign sends a sequence of messages from one or more accounts to the people in its lead lists. It starts as adraft, runs as running, can be paused and resumed, and ends as completed or stopped. Each person a campaign reaches is one of its targets.
AI agents
An AI agent replies in conversations for the accounts it is assigned to. Through the API you can list, pause, resume and delete agents. You create and train them in the ReachHunt app.Tags and statuses
Tags are labels, and a person can have many. Statuses are pipeline stages, and a person is in one at most, shown bystatusId. Create both in the app or through the API, then set them on people.
IDs
Platforms
platform is x or linkedin. Some fields only apply on one network. For example, a profile’s headline and connections are LinkedIn only, and tweets is X only. A field that doesn’t apply is null.
See Response format for the conventions every response follows.