Lemlist
Manage outreach activities, leads, and send emails via Lemlist
Integrate Lemlist into your workflow. Retrieve campaign activities and replies, get lead information, and send emails through the Lemlist inbox.
Retrieves campaign activities and steps performed, including email opens, clicks, replies, and other events.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
type | string | No | Filter by activity type (e.g., emailOpened, emailClicked, emailReplied, paused) |
campaignId | string | No | Filter by campaign ID (e.g., "cam_abc123def456") |
leadId | string | No | Filter by lead ID (e.g., "lea_abc123def456") |
isFirst | boolean | No | No description |
limit | number | No | No description |
offset | number | No | No description |
| Parameter | Type | Description |
|---|
activities | array | List of activities |
↳ _id | string | Activity ID |
↳ type | string | Activity type |
↳ leadId | string | Associated lead ID |
↳ campaignId | string | Campaign ID |
↳ sequenceId | string | Sequence ID |
↳ stepId | string | Step ID |
↳ createdAt | string | When the activity occurred |
count | number | Number of activities returned |
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
leadIdentifier | string | Yes | Lead email address (e.g., "john@example.com") or lead ID (e.g., "lea_abc123def456") |
| Parameter | Type | Description |
|---|
_id | string | Lead ID |
email | string | Lead email address |
firstName | string | Lead first name |
lastName | string | Lead last name |
companyName | string | Company name |
jobTitle | string | Job title |
companyDomain | string | Company domain |
isPaused | boolean | Whether the lead is paused |
campaignId | string | Campaign ID the lead belongs to |
contactId | string | Contact ID |
emailStatus | string | Email deliverability status |
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
sendUserId | string | Yes | Identifier for the user sending the message (e.g., "usr_abc123def456") |
sendUserEmail | string | Yes | Email address of the sender (e.g., "sales@company.com") |
sendUserMailboxId | string | Yes | Mailbox identifier for the sender (e.g., "mbx_abc123def456") |
contactId | string | Yes | Recipient contact identifier (e.g., "con_abc123def456") |
leadId | string | Yes | Associated lead identifier (e.g., "lea_abc123def456") |
subject | string | Yes | No description |
message | string | Yes | No description |
cc | json | No | No description |
| Parameter | Type | Description |
|---|
ok | boolean | Whether the email was sent successfully |