Usage Guide
This guide walks you through using the Waalaxy API to automate your prospecting. Every request needs your API key (see Authentication); every operation, with all its parameters, is in the API Reference.
Typical Workflow
Code
1. Test the Connection
Code
Code
2. Pick or Create a Prospect List
List your prospect lists:
Code
Code
Or create one with POST /v1/prospect-lists and a body like { "name": "Webinar attendees" }. Note the id of the list you want to import into. The list with doNotContact: true is your do-not-contact list: its prospects are never contacted.
3. Import Prospects
Add up to 100 LinkedIn profiles per call to a list, and optionally to a running or paused campaign:
Code
Code
| Field | Description |
|---|---|
prospects[].linkedinUrl | Required: the profile URL (linkedin.com/in/…). |
prospects[].firstName, lastName, email, company, occupation | Details to complete the profile with. |
prospects[].customVariables | Up to 20 { label, value }, each value up to 1,000 characters. |
prospectListId | Required: the list to import into. |
campaignId | A running or paused campaign to add the prospects to. |
allowDuplicates | Also import a profile a teammate already prospects (default: false). A profile is never twice among your own prospects. |
moveDuplicates | Move a prospect already in another of your lists into this one, unless it is in the do-not-contact list (default: false). |
integrationName | Shown in the Waalaxy app as the import's origin, such as n8n, zapier or make (default: api). |
A prospect already among yours is not imported again (duplicated_prospect), but the import completes it: a detail you send is kept where the prospect has none of its own yet, and each custom variable you send gets its value. Each result tells what happened to its profile in importStatus and, with a campaignId, in campaignStatus.
To import from a LinkedIn search, a post or a profile in the Waalaxy cloud instead, see POST /v1/imports in the API Reference.
4. Find Prospects
Search your prospects, in one list or in all of them, by text and filters:
Code
The answer is a page of prospects with their id, which the operations on prospects take.
5. Add Prospects to a Campaign
List your campaigns with GET /v1/campaigns (running and paused ones by default), then start a campaign's sequence for up to 1,000 prospects of one list:
Code
Code
A prospect already in a campaign is left where it is. One that does not meet the sequence's conditions (for example already connected, for an invitation sequence) is refused.
6. Create a Campaign
A campaign runs a sequence and starts at once, so it takes three steps:
-
Pick a sequence with
GET /v1/sequence-templates. Each step of a sequence has anidand says what itneeds: amessage_templatefor a message or an email (optional for an invitation, whose template is its note), anemail_accountfor an email. The example below runs "Invitation + 2 Messages", whose steps3and4are its two messages. -
Write the messages of its steps with
POST /v1/message-templates, for example{ "type": "message", "name": "Follow-up", "text": "Hi {{firstName}}, …" }, or reuse yours fromGET /v1/message-templates. For an email step, pick an account inGET /v1/email-accounts. -
Create the campaign with
POST /v1/campaigns:CodeprospectListIdalone adds every prospect of the list; addprospectIdsto add only those.
The campaign's LinkedIn and email actions then run within your working hours (GET /v1/working-settings). Pause, resume or archive it with POST /v1/campaigns/{campaignId}/pause, /resume and /archive.
7. Follow the Results
GET /v1/campaigns/{campaignId}/prospectstells where each prospect stands in the campaign's sequence.GET /v1/stats?from=2026-10-01&to=2026-10-31answers your LinkedIn and email results over a period, for all campaigns or for the ones incampaignIds.GET /v1/stats/dailycounts one kind of action per day.
Deprecated Operations
The four operations without /v1 still answer, for the integrations built on them, but they are deprecated. They do not need the Advanced plan, answer errors in their own format, and won't get new features. Move to their replacements:
| Deprecated operation | Replacement |
|---|---|
GET /integrations/test | GET /v1/connection |
GET /prospectLists/getProspectLists | GET /v1/prospect-lists |
GET /campaigns/getAll | GET /v1/campaigns |
POST /prospects/addProspectFromIntegration | POST /v1/prospects/import-by-url |
From addProspectFromIntegration to import-by-url:
| Before | Now |
|---|---|
prospects[].url | prospects[].linkedinUrl |
prospects[].customProfile.firstName, … | prospects[].firstName, lastName, email, occupation |
prospects[].customProfile.company.name | prospects[].company |
canCreateDuplicates | allowDuplicates |
moveDuplicatesToOtherList | moveDuplicates |
origin.name (required) | integrationName (optional, default api) |
The other customProfile fields (gender, headline, phoneNumbers, region, birthday) are not imported by import-by-url.
