Skip to content

Outreach

The Outreach module’s operations are under /api/v1/outreach/, with the outreach permission: reading needs outreach:read, changing outreach:write. A contact’s LinkedIn profile takes crm as well, since CRM’s contact drawer shows it. What the module is and how it paces LinkedIn is on The Outreach module; the LinkedIn accounts themselves are on Unipile.

Prospects are CRM contacts on CRM lists. Outreach lists are the ones an import filled or that were made for Outreach; any list can be read as prospects.

To Operations
List every CRM list, Outreach’s first, with how many each holds GET /api/v1/outreach/lists
Make a static list for Outreach POST /api/v1/outreach/lists
Put a list among the Outreach lists, or take it off them POST /api/v1/outreach/lists/{id}/mark
Read a list’s prospects, a page at a time GET /api/v1/outreach/lists/{listId}/prospects
Take prospects off a static list (they stay contacts) POST /api/v1/outreach/lists/{listId}/prospects/remove
Outreach at a glance: prospects, LinkedIn accounts, the latest imports GET /api/v1/outreach/overview

A prospect has the contact’s id and name, their LinkedIn profileUrl, headline, companyName, location and pictureUrl, relations (each connected account’s status: none, invited, connected, withdrawn, ignored) and the best of them as relation, where they came from as source (post, search, csv, crm, or list for someone on the list some other way) with their reaction and comment on the post, lastTouch (the last LinkedIn action made with them) and campaigns. GET /api/v1/outreach/lists/{listId}/prospects takes listId, search, relation, page and pageSize (up to 100).

To Operations
Read a contact’s LinkedIn profile, relations, Outreach lists and latest LinkedIn actions GET /api/v1/outreach/contacts/{contactId}
Set a contact’s LinkedIn profile URL (linkedin.com/in/…), or clear it with null PUT /api/v1/outreach/contacts/{contactId}/linkedin
Queue a profile visit to fill prospects in, from one of your LinkedIn accounts POST /api/v1/outreach/prospects/enrich

POST /api/v1/outreach/prospects/enrich takes accountId and contactIds or a static list’s listId (up to 1,000), and notify to let them see the visit. It skips those without a LinkedIn profile and those read in the last week, and answers how many were queued. Visits go through the account’s pacing queue: its working hours, its daily visit cap, a few minutes apart.

Each import adds people to a static list (listId) or a new one (listName), runs in the background, and answers its record. Follow it with GET /api/v1/outreach/imports/{id}: status is running, done, failed or cancelled; counts has added (new contacts), matched (already contacts) and skipped, reasons how many were left out for each reason, and problems the first 200 of them. A running import that waits for its account’s working hours or LinkedIn’s daily numbers says so in waitingUntil and waitReason.

To Operations
Look a post up from its link, before importing its engagers GET /api/v1/outreach/imports/post/preview
Import who reacted to and commented on a post POST /api/v1/outreach/imports/post
Find LinkedIn’s id for a place, for a search’s filter GET /api/v1/outreach/search/locations
Import a LinkedIn or Sales Navigator people search POST /api/v1/outreach/imports/search
Import a CSV POST /api/v1/outreach/imports/csv
Import the CRM contacts of a list or filter who have a LinkedIn profile POST /api/v1/outreach/imports/crm
List the latest imports, read one, stop one GET /api/v1/outreach/imports, GET /api/v1/outreach/imports/{id}, POST /api/v1/outreach/imports/{id}/cancel

A post’s link can be the one LinkedIn’s Copy link to post gives (…-activity-<id>-…), a /feed/update/urn:li:activity:<id> address, or a ugcPost or share URN. POST /api/v1/outreach/imports/post takes reactions and comments (both on by default); passing GET /api/v1/outreach/imports/post/preview’s socialId, authorId and authorName saves a read.

POST /api/v1/outreach/imports/search takes filters (keywords, title, company, locations from GET /api/v1/outreach/search/locations, network degrees 1 to 3, and Sales Navigator’s seniority) or a pasted url, which overrides them, api (classic or sales_navigator), and max, the most people to bring in (up to 1,000, or 2,500 on Sales Navigator).

POST /api/v1/outreach/imports/csv takes the file as csv, its filename, preset (expandi or csv, worked out from the header when left out) and mapping, a target for each column by its place: profile_url, first_name, last_name, name, email, phone, headline, company, location, picture, or empty to leave it out. Every row needs a LinkedIn profile URL.

POST /api/v1/outreach/imports/crm reaches every contact of its list or filter, so a member whose role shows them only some contacts can’t run it.

Conversations someone replied in on LinkedIn, one per account and contact, each with the label of their latest reply: interested, not_now, wrong_person, out_of_office, opt_out or other. The AI labels each reply (labelSource: "ai", labelState pending until it has), an opt-out phrase at once (phrase), or a member by hand (member). labelState is failed or skipped (today’s AI limit) for one left without a label, with labelNote saying why. A reply’s id is its conversation’s, which GET /api/v1/conversations/{id} reads.

To Operations
List replies, the latest first, by label (pending and none too), accountId, campaignId (none for none) and search GET /api/v1/outreach/replies
Count them by label, in the last 7 and 30 days and unread, with the accounts and campaigns to filter by GET /api/v1/outreach/replies/summary
Label a reply by hand (opt_out puts its contact on the do-not-contact list) PUT /api/v1/outreach/replies/{id}/label

No import adds anyone on it and no campaign enrols them; adding someone cancels their queued LinkedIn actions. An entry’s reason is added (by a member) or opted_out (from a reply, with detail and its conversationId).

To Operations
List it, by search and reason GET /api/v1/outreach/do-not-contact
Add contactIds, profileUrls (linkedin.com/in/…) and emails, up to 500 of each POST /api/v1/outreach/do-not-contact
Take someone off DELETE /api/v1/outreach/do-not-contact/{id}
Read and change the opt-out phrases and whose LinkedIn messages come into Conversations GET /api/v1/outreach/compliance, PATCH /api/v1/outreach/compliance

messagesFrom: "everyone" takes every LinkedIn message into Conversations, making a contact of each new person, and needs settings:write as well.

outreach.reply.received goes to the workspace’s webhooks once a reply’s label settles (or the AI couldn’t give one, with label: null), with the conversation, contact, account, campaign, the reply and its label. In automations a reply is Message received with the LinkedIn channel; a label emits outreach.reply_labelled (conversationId, contactId, campaignId, label, accountId, messageId, source), and putting someone on the list outreach.do_not_contact (entryId, contactId, reason).