All Collections
😎 My account
🧬 Integration
API Get activities : list of activities type
API Get activities : list of activities type
Updated this week

Introduction

The GET https://api.lemlist.com/api/activities endpoint allows you to retrieve various types of activities related to your campaigns.

This FAQ details each possible type of activity that can be queried using the type query parameter. For each activity type, we provide an example JSON response and explain the context of the activity.

Common Data Fields

All activity types share all the custom variable of your lead and the following common data fields:

Data Field

Description

_id

The unique identifier of the activity.

type

The type of the activity.

createdAt

The date and time the activity was created.

bot

If the activity was at the origin of a bot.

teamId

The unique identifier of the team.

leadId

The unique identifier of the lead.

campaignId

The unique identifier of the campaign.

metaData

{

  • teamId: The unique identifier of the team.

  • campaignId: The unique identifier of the campaign.

  • leadId: The unique identifier of the lead.

  • type: The type of the activity.

  • createdBy: The date and time the activity was created.

}

Additional System Data Fields

In addition to the previously defined data fields, the following list will be added to the different types of activities if the data is available.

Data Field

Description

createdBy

The unique identifier of the user who is at the origin of the creation of the activity.

emailId

The unique identifier from lemlist (start by eml_) of the email related to the activity.

emailTemplateId

The unique identifier of the template for the content of the step.

errorMessage

Error message. Present only if the activity is related to an error.

isFirst

Boolean indicating whether the activity type is the first one relative to the related step.

leadCompanyName

The system field for the name of the company of the lead.

leadEmail

The system field for the email of the lead.

leadFirstName

The system field for the first name of the lead.

leadLastName

The system field for the last name of the lead.

leadPhone

The system field for the phone number of the lead.

leadPicture

The system field for the picture of the lead.

messageId

The unique identifier from email provider (like <[email protected]>) of the email related to the activity.

name

The name of the campaign related to the activity.

relatedSentAt

The creation date of the "sent" type activity related to the activity (open, click, reply, etc.). This key does not exist for activities of type "sent".

sendUserEmail

The email of the user who sent the email.

sendUserId

The unique identifier of the user who sent the email.

sendUserMailboxId

The unique identifier of the mailbox of the user who sent the email.

sendUserMailboxProviderId

The unique identifier of the provider of the mailbox of the user who sent the email.

sendUserName

The name of the user who sent the email.

sequenceId

The unique identifier of the sequence related to the activity.

sequenceStep

The number of step of the sequence related to the activity.

Warning: the first step is 0

stopped

Boolean indicating whether the activity causes the sequence to stop for the lead.

totalSequenceStep

The total number of steps in the sequence related to the activity.

Details of Available Types

Below, you will find the complete list of all existing types for this request, along with a JSON example for each type of activity. If specific data is available for a given activity type, the list of additional data fields will also be included.

Emails Types

emailsSent

Code

    {
"_id": "act_XXXXXXXXXXXXXXXXX",
"bot": false,
"campaignId": "cam_XXXXXXXXXXXXXXXXX",
"createdAt": "2024-09-16T08:30:00.000Z",
"createdBy": "usr_XXXXXXXXXXXXXXXXX",
"emailId": "eml_XXXXXXXXXXXXXXXXX",
"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",
"isFirst": false,
"leadCompanyName": "Lead Company",
"leadEmail": "[email protected]",
"leadFirstName": "John",
"leadId": "lea_XXXXXXXXXXXXXXXXX",
"leadLastName": "Doe",
"leadPhone": "0123456789",
"messageId": "<XXXxXXxxxxXxXxXXXxxXXXXXxxxxx_xXXxXXx-XXxx_XXxxXXxX@mail.mail.com>",
"metaData": {
"campaignId": "cam_XXXXXXXXXXXXXXXXX",
"createdBy": "usr_XXXXXXXXXXXXXXXXX",
"leadId": "lea_XXXXXXXXXXXXXXXXX",
"teamId": "tea_XXXXXXXXXXXXXXXXX",
"type": "emailsSent"
},
"name": "Name of Campaign",
"sendUserEmail": "[email protected]",
"sendUserId": "usr_XXXXXXXXXXXXXXXXX",
"sendUserName": "William Smith",
"sequenceId": "seq_XXXXXXXXXXXXXXXXX",
"sequenceStep": 0,
"stopped": false,
"teamId": "tea_XXXXXXXXXXXXXXXXX",
"totalSequenceStep": 0,
"type": "emailsSent"
},

emailsOpened

Code

    {
"_id": "act_XXXXXXXXXXXXXXXXX",
"bot": false,
"campaignId": "cam_XXXXXXXXXXXXXXXXX",
"createdAt": "2024-06-06T07:05:47.715Z",
"createdBy": "usr_XXXXXXXXXXXXXXXXX",
"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",
"isFirst": false,
"leadCompanyName": "Lead Company",
"leadEmail": "[email protected]",
"leadId": "lea_XXXXXXXXXXXXXXXXX",
"metaData": {
"campaignId": "cam_XXXXXXXXXXXXXXXXX",
"createdBy": "usr_XXXXXXXXXXXXXXXXX",
"leadId": "lea_XXXXXXXXXXXXXXXXX",
"teamId": "tea_XXXXXXXXXXXXXXXXX",
"type": "emailsOpened"
},
"name": "Name of Campaign",
"relatedSentAt": "2024-06-06T06:41:15.012Z",
"sendUserEmail": "[email protected]",
"sendUserId": "usr_XXXXXXXXXXXXXXXXX",
"sendUserMailboxId": "usm_XXXXXXXXXXXXXXXXX",
"sendUserMailboxProviderId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"sendUserName": "William Smith",
"sequenceId": "seq_XXXXXXXXXXXXXXXXX",
"sequenceStep": 0,
"stopped": false,
"teamId": "tea_XXXXXXXXXXXXXXXXX",
"totalSequenceStep": 0,
"type": "emailsOpened"
},

emailsClicked

Data Field

Description

location

The URL that was clicked by the lead.

Code

    {
"_id": "act_XXXXXXXXXXXXXXXXX",
"bot": false,
"campaignId": "cam_XXXXXXXXXXXXXXXXX",
"createdAt": "2024-06-06T07:05:47.727Z",
"createdBy": "usr_XXXXXXXXXXXXXXXXX",
"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",
"isFirst": false,
"leadCompanyName": "Lead Company",
"leadEmail": "[email protected]",
"leadFirstName": "John",
"leadId": "lea_XXXXXXXXXXXXXXXXX",
"leadLastName": "Doe",
"leadPhone": "0123456789",
"location": "https://www.google.com",
"metaData": {
"campaignId": "cam_XXXXXXXXXXXXXXXXX",
"createdBy": "usr_XXXXXXXXXXXXXXXXX",
"leadId": "lea_XXXXXXXXXXXXXXXXX",
"teamId": "tea_XXXXXXXXXXXXXXXXX",
"type": "emailsClicked"
},
"name": "Name of Campaign",
"relatedSentAt": "2024-05-28T14:48:58.556Z",
"sendUserEmail": "[email protected]",
"sendUserId": "usr_XXXXXXXXXXXXXXXXX",
"sendUserMailboxId": "usm_XXXXXXXXXXXXXXXXX",
"sendUserMailboxProviderId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"sendUserName": "William Smith",
"sequenceId": "seq_XXXXXXXXXXXXXXXXX",
"sequenceStep": 1,
"stopped": false,
"teamId": "tea_XXXXXXXXXXXXXXXXX",
"totalSequenceStep": 1,
"type": "emailsClicked"
},

emailsReplied

Code

    {
"_id": "act_XXXXXXXXXXXXXXXXX",
"bot": false,
"campaignId": "cam_XXXXXXXXXXXXXXXXX",
"createdAt": "2024-06-06T07:04:24.000Z",
"createdBy": "usr_XXXXXXXXXXXXXXXXX",
"emailId": "eml_XXXXXXXXXXXXXXXXX",
"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",
"isFirst": false,
"leadCompanyName": "Lead Company",
"leadEmail": "[email protected]",
"leadFirstName": "John",
"leadId": "lea_XXXXXXXXXXXXXXXXX",
"leadLastName": "Doe",
"leadPicture": "https://app.lemlist.com/api/files/Files/lip_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.jpg",
"messageId": "<XXXxXXxxxxXxXxXXXxxXXXXXxxxxx_xXXxXXx-XXxx_XXxxXXxX@mail.mail.com>",
"metaData": {
"campaignId": "cam_XXXXXXXXXXXXXXXXX",
"createdBy": "usr_XXXXXXXXXXXXXXXXX",
"leadId": "lea_XXXXXXXXXXXXXXXXX",
"teamId": "tea_XXXXXXXXXXXXXXXXX",
"type": "emailsReplied"
},
"name": "Name of Campaign",
"relatedSentAt": "2024-05-20T11:45:22.334Z",
"sendUserEmail": "[email protected]",
"sendUserId": "usr_XXXXXXXXXXXXXXXXX",
"sendUserMailboxId": "usm_XXXXXXXXXXXXXXXXX",
"sendUserMailboxProviderId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"sendUserName": "William Smith",
"sequenceId": "seq_XXXXXXXXXXXXXXXXX",
"sequenceStep": 0,
"stopped": true,
"teamId": "tea_XXXXXXXXXXXXXXXXX",
"totalSequenceStep": 0,
"type": "emailsReplied"
},

emailsDone

Code

    {
"_id": "act_XXXXXXXXXXXXXXXXX",
"bot": false,
"campaignId": "cam_XXXXXXXXXXXXXXXXX",
"createdAt": "2024-06-06T07:05:27.622Z",
"createdBy": "usr_XXXXXXXXXXXXXXXXX",
"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",
"isFirst": true,
"leadCompanyName": "Lead Company",
"leadEmail": "[email protected]",
"leadFirstName": "John",
"leadId": "lea_XXXXXXXXXXXXXXXXX",
"leadLastName": "Doe",
"leadPhone": "0123456789",
"metaData": {
"campaignId": "cam_XXXXXXXXXXXXXXXXX",
"createdBy": "usr_XXXXXXXXXXXXXXXXX",
"leadId": "lea_XXXXXXXXXXXXXXXXX",
"teamId": "tea_XXXXXXXXXXXXXXXXX",
"type": "emailsDone"
},
"name": "Name of Campaign",
"sendUserEmail": "[email protected]",
"sendUserId": "usr_XXXXXXXXXXXXXXXXX",
"sendUserMailboxId": "usm_XXXXXXXXXXXXXXXXX",
"sendUserMailboxProviderId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"sendUserName": "William Smith",
"sequenceId": "seq_XXXXXXXXXXXXXXXXX",
"sequenceStep": 2,
"stopped": false,
"teamId": "tea_XXXXXXXXXXXXXXXXX",
"totalSequenceStep": 2,
"type": "emailsDone",
"userId": "usr_XXXXXXXXXXXXXXXXX",
"userName": "William Smith"
},

emailsBounced

Code

    {
"_id": "act_XXXXXXXXXXXXXXXXX",
"bot": false,
"campaignId": "cam_XXXXXXXXXXXXXXXXX",
"createdAt": "2036-02-07T06:28:53.000Z",
"createdBy": "usr_XXXXXXXXXXXXXXXXX",
"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",
"isFirst": true,
"leadCompanyName": "Lead Company",
"leadEmail": "[email protected]",
"leadFirstName": "John",
"leadId": "lea_XXXXXXXXXXXXXXXXX",
"leadLastName": "Doe",
"leadPhone": "0123456789",
"messageId": "<XXXxXXxxxxXxXxXXXxxXXXXXxxxxx_xXXxXXx-XXxx_XXxxXXxX@mail.mail.com>",
"metaData": {
"campaignId": "cam_XXXXXXXXXXXXXXXXX",
"leadId": "lea_XXXXXXXXXXXXXXXXX",
"teamId": "tea_XXXXXXXXXXXXXXXXX",
"type": "emailsBounced"
},
"migratedEmailId": "eml_XXXXXXXXXXXXXXXXX",
"sendUserEmail": "[email protected]",
"sendUserId": "usr_XXXXXXXXXXXXXXXXX",
"sendUserName": "William Smith",
"sequenceId": "seq_XXXXXXXXXXXXXXXXX",
"sequenceStep": 1,
"stopped": true,
"teamId": "tea_XXXXXXXXXXXXXXXXX",
"type": "emailsBounced"
},

emailsFailed

Code

    {
"_id": "act_XXXXXXXXXXXXXXXXX",
"bot": false,
"campaignId": "cam_XXXXXXXXXXXXXXXXX",
"createdAt": "2024-06-06T07:05:39.004Z",
"createdBy": "usr_XXXXXXXXXXXXXXXXX",
"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",
"errorMessage": "Error detail",
"isFirst": true,
"leadCompanyName": "Lead Company",
"leadEmail": "[email protected]",
"leadFirstName": "John",
"leadId": "lea_XXXXXXXXXXXXXXXXX",
"leadLastName": "Doe",
"leadPhone": "0123456789",
"leadPicture": "https://app.lemlist.com/api/files/Files/lip_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.jpg",
"metaData": {
"campaignId": "cam_XXXXXXXXXXXXXXXXX",
"createdBy": "usr_XXXXXXXXXXXXXXXXX",
"leadId": "lea_XXXXXXXXXXXXXXXXX",
"teamId": "tea_XXXXXXXXXXXXXXXXX",
"type": "emailsFailed"
},
"name": "Name of Campaign",
"relatedSentAt": "2024-05-29T19:58:44.129Z",
"sendUserEmail": "[email protected]",
"sendUserId": "usr_XXXXXXXXXXXXXXXXX",
"sendUserMailboxId": "usm_XXXXXXXXXXXXXXXXX",
"sendUserMailboxProviderId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"sendUserName": "William Smith",
"sequenceId": "seq_XXXXXXXXXXXXXXXXX",
"sequenceStep": 0,
"stopped": false,
"teamId": "tea_XXXXXXXXXXXXXXXXX",
"totalSequenceStep": 2,
"type": "emailsFailed"
},

emailsUnsubscribed

Code

    {
"_id": "act_XXXXXXXXXXXXXXXXX",
"bot": false,
"campaignId": "cam_XXXXXXXXXXXXXXXXX",
"createdAt": "2024-06-06T07:05:40.667Z",
"createdBy": "usr_XXXXXXXXXXXXXXXXX",
"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",
"errorMessage": "Error detail",
"isFirst": true,
"leadEmail": "[email protected]",
"leadFirstName": "John",
"leadId": "lea_XXXXXXXXXXXXXXXXX",
"metaData": {
"campaignId": "cam_XXXXXXXXXXXXXXXXX",
"createdBy": "usr_XXXXXXXXXXXXXXXXX",
"leadId": "lea_XXXXXXXXXXXXXXXXX",
"teamId": "tea_XXXXXXXXXXXXXXXXX",
"type": "emailsUnsubscribed"
},
"name": "Name of Campaign",
"relatedSentAt": "2024-06-06T07:03:15.304Z",
"sendUserEmail": "[email protected]",
"sendUserId": "usr_XXXXXXXXXXXXXXXXX",
"sendUserMailboxId": "usm_XXXXXXXXXXXXXXXXX",
"sendUserMailboxProviderId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"sendUserName": "William Smith",
"sequenceId": "seq_XXXXXXXXXXXXXXXXX",
"sequenceStep": 1,
"stopped": true,
"teamId": "tea_XXXXXXXXXXXXXXXXX",
"totalSequenceStep": 1,
"type": "emailsUnsubscribed"
},

emailsNotInterested

Code

    {
"_id": "act_XXXXXXXXXXXXXXXXX",
"bot": false,
"campaignId": "cam_XXXXXXXXXXXXXXXXX",
"createdAt": "2024-06-06T07:05:19.321Z",
"createdBy": "usr_XXXXXXXXXXXXXXXXX",
"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",
"isFirst": true,
"leadCompanyName": "Lead Company",
"leadEmail": "[email protected]",
"leadFirstName": "John",
"leadId": "lea_XXXXXXXXXXXXXXXXX",
"leadLastName": "Doe",
"leadPhone": "0123456789",
"leadPicture": "https://app.lemlist.com/api/files/Files/lip_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.jpg",
"metaData": {
"campaignId": "cam_XXXXXXXXXXXXXXXXX",
"createdBy": "usr_XXXXXXXXXXXXXXXXX",
"leadId": "lea_XXXXXXXXXXXXXXXXX",
"teamId": "tea_XXXXXXXXXXXXXXXXX",
"type": "emailsNotInterested"
},
"name": "Name of Campaign",
"relatedSentAt": "2024-04-15T08:37:13.774Z",
"sendUserEmail": "[email protected]",
"sendUserId": "usr_XXXXXXXXXXXXXXXXX",
"sendUserMailboxId": "usm_XXXXXXXXXXXXXXXXX",
"sendUserMailboxProviderId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"sendUserName": "William Smith",
"sequenceId": "seq_XXXXXXXXXXXXXXXXX",
"sequenceStep": 5,
"teamId": "tea_XXXXXXXXXXXXXXXXX",
"totalSequenceStep": 5,
"type": "emailsNotInterested",
"userId": "usr_XXXXXXXXXXXXXXXXX",
"userName": "William Smith"
},

emailsInterested

Code

{
"_id": "act_XXXXXXXXXXXXXXXXX",
"bot": false,
"campaignId": "cam_XXXXXXXXXXXXXXXXX",
"createdAt": "2024-06-06T07:05:47.536Z",
"createdBy": "usr_XXXXXXXXXXXXXXXXX",
"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",
"isFirst": true,
"leadCompanyName": "Lead Company",
"leadEmail": "[email protected]",
"leadId": "lea_XXXXXXXXXXXXXXXXX",
"metaData": {
"campaignId": "cam_XXXXXXXXXXXXXXXXX",
"createdBy": "usr_XXXXXXXXXXXXXXXXX",
"leadId": "lea_XXXXXXXXXXXXXXXXX",
"teamId": "tea_XXXXXXXXXXXXXXXXX",
"type": "emailsInterested"
},
"name": "Name of Campaign",
"relatedSentAt": "2024-06-05T13:41:08.688Z",
"sendUserEmail": "[email protected]",
"sendUserId": "usr_XXXXXXXXXXXXXXXXX",
"sendUserMailboxId": "usm_XXXXXXXXXXXXXXXXX",
"sendUserMailboxProviderId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"sendUserName": "William Smith",
"sequenceId": "seq_XXXXXXXXXXXXXXXXX",
"sequenceStep": 0,
"teamId": "tea_XXXXXXXXXXXXXXXXX",
"totalSequenceStep": 0,
"type": "emailsInterested",
"userId": "usr_XXXXXXXXXXXXXXXXX",
"userName": "William Smith"
},


LinkedIn Types

linkedinVisitDone

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-07T06:59:53.100Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPicture": "https://app.lemlist.com/api/files/Files/lip_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.jpg",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "linkedinVisitDone"

},

"name": "Name of Campaign",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 0,

"stopped": false,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 4,

"type": "linkedinVisitDone"

},

linkedinVisitFailed

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T07:04:33.633Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"errorMessage": "Error detail",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "linkedinVisitFailed"

},

"name": "Name of Campaign",

"relatedSentAt": "2024-06-06T07:02:28.647Z",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 1,

"stopped": false,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 1,

"type": "linkedinVisitFailed"

},

linkedinSent

Data Field

Description

message

The content of the LinkedIn message sent.

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T07:06:56.653Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",

"isFirst": true,

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPhone": "0123456789",

"message": "Message content",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "linkedinSent"

},

"name": "Name of Campaign",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserMailboxId": "usm_XXXXXXXXXXXXXXXXX",

"sendUserMailboxProviderId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 1,

"stopped": false,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 8,

"type": "linkedinSent"

},

linkedinOpened

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T07:01:35.359Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "linkedinOpened"

},

"name": "Name of Campaign",

"relatedSentAt": "2024-05-23T13:26:51.747Z",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 0,

"stopped": false,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 7,

"type": "linkedinOpened"

},

linkedinInviteAccepted

Data Field

Description

message

The content of the LinkedIn invite sent.

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T07:06:51.925Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPhone": "0123456789",

"leadPicture": "https://app.lemlist.com/api/files/Files/lip_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.jpg",

"message": "Message content",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "linkedinInviteAccepted"

},

"name": "Name of Campaign",

"relatedSentAt": "2024-05-31T11:49:03.993Z",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 2,

"stopped": false,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 2,

"type": "linkedinInviteAccepted"

},

linkedinInviteDone

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T07:06:57.555Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPicture": "https://app.lemlist.com/api/files/Files/lip_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.jpg",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "linkedinInviteDone"

},

"name": "Name of Campaign",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 1,

"stopped": false,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 2,

"type": "linkedinInviteDone"

},

linkedinInviteFailed

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T07:06:00.592Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"errorMessage": "Error detail",

"isFirst": true,

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "linkedinInviteFailed"

},

"name": "Name of Campaign",

"relatedSentAt": "2024-05-22T10:55:51.517Z",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 1,

"stopped": false,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 2,

"type": "linkedinInviteFailed"

},

linkedinSendFailed

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T07:06:52.737Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"errorMessage": "Error detail",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPhone": "0123456789",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "linkedinSendFailed"

},

"name": "Name of Campaign",

"relatedSentAt": "2024-05-28T15:36:37.253Z",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 3,

"stopped": false,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 5,

"type": "linkedinSendFailed"

},

linkedinReplied

Data Field

Description

text

The content of the lead's LinkedIn reply.

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T07:03:13.656Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",

"isFirst": false,

"leadCompanyName": "Lead Company",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPicture": "https://app.lemlist.com/api/files/Files/lip_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.jpg",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "linkedinReplied"

},

"name": "Name of Campaign",

"relatedSentAt": "2024-05-07T15:42:02.405Z",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 0,

"stopped": true,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"text": "Reply content",

"totalSequenceStep": 2,

"type": "linkedinReplied"

},

linkedinInterested

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T06:59:34.454Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPicture": "https://app.lemlist.com/api/files/Files/lip_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.jpg",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "linkedinInterested"

},

"name": "Name of Campaign",

"relatedSentAt": "2024-05-31T08:14:56.539Z",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 1,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 2,

"type": "linkedinInterested",

"userId": "usr_XXXXXXXXXXXXXXXXX",

"userName": "William Smith"

},

linkedinNotInterested

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T07:01:40.463Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPhone": "0123456789",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "linkedinNotInterested"

},

"name": "Name of Campaign",

"relatedSentAt": "2024-05-16T08:18:08.146Z",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 1,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 5,

"type": "linkedinNotInterested",

"userId": "usr_XXXXXXXXXXXXXXXXX",

"userName": "William Smith"

},

linkedinDone

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T06:57:12.336Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "linkedinDone"

},

"name": "Name of Campaign",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 0,

"stopped": false,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 4,

"type": "linkedinDone",

"userId": "usr_XXXXXXXXXXXXXXXXX",

"userName": "William Smith"

},

linkedinVoiceNoteDone

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T07:06:57.887Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPicture": "https://app.lemlist.com/api/files/Files/lip_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.jpg",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "linkedinVoiceNoteDone"

},

"name": "Name of Campaign",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 1,

"stopped": false,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 5,

"type": "linkedinVoiceNoteDone"

},

linkedinVoiceNoteFailed

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T07:06:50.068Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"errorMessage": "Error detail",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPhone": "0123456789",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "linkedinVoiceNoteFailed"

},

"name": "Name of Campaign",

"relatedSentAt": "2024-05-29T14:16:50.815Z",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 6,

"stopped": false,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 6,

"type": "linkedinVoiceNoteFailed"

}


AirCall Types

aircallDone

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T07:00:44.888Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPhone": "0123456789",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "aircallDone"

},

"name": "Name of Campaign",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 2,

"stopped": false,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 3,

"type": "aircallDone",

"userId": "usr_XXXXXXXXXXXXXXXXX",

"userName": "William Smith"

},

aircallCreated

Data Field

Description

aircallPhone

The AirCall phone number that was called.

aircallPhoneName

The name of the contact associated with the AirCall phone number on

direction

The direction of the call (inbound or outbound).

duration

The duration of the call in seconds.

endedAt

The end date of the call.

recording

The URL of the call recording.

startedAt

The start date of the AirCall call.

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"aircallPhone": "+1 123-456-7890",

"aircallPhoneName": "Tech Sales Team",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-05T23:29:00.000Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"direction": "outbound",

"duration": 0,

"endedAt": "1970-01-01T00:00:00.000Z",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPhone": "0123456789",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "aircallCreated"

},

"name": "Name of Campaign",

"recording": null,

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 5,

"startedAt": "2024-06-05T23:29:00.000Z",

"stopped": false,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 5,

"type": "aircallCreated",

"userName": "William Smith"

},

aircallEnded

Data Field

Description

aircallPhone

The AirCall phone number that was called.

aircallPhoneName

The name of the contact associated with the AirCall phone number on

direction

The direction of the call (inbound or outbound).

duration

The duration of the call in seconds.

endedAt

The end date of the call.

recording

The URL of the call recording.

startedAt

The start date of the AirCall call.

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"aircallPhone": "+1 123-456-7890",

"aircallPhoneName": "Tech Sales Team",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-05T23:29:26.000Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"direction": "outbound",

"duration": 26,

"endedAt": "2024-06-05T23:29:26.000Z",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPhone": "0123456789",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "aircallEnded"

},

"name": "Name of Campaign",

"recording": "https://url-of-recording.com",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 5,

"startedAt": "2024-06-05T23:29:00.000Z",

"stopped": false,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 5,

"type": "aircallEnded",

"userName": "William Smith"

},

aircallInterested

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T05:49:51.424Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPhone": "0123456789",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "aircallInterested"

},

"name": "Name of Campaign",

"relatedSentAt": "2024-05-14T03:36:56.566Z",

"sendUserEmail": "[email protected]",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserMailboxId": "usm_XXXXXXXXXXXXXXXXX",

"sendUserMailboxProviderId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 2,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 8,

"type": "aircallInterested",

"userId": "usr_XXXXXXXXXXXXXXXXX",

"userName": "William Smith"

},

aircallNotInterested

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T06:51:23.915Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "aircallNotInterested"

},

"name": "Name of Campaign",

"relatedSentAt": "2024-05-31T03:31:30.438Z",

"sendUserEmail": "[email protected]",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserMailboxId": "usm_XXXXXXXXXXXXXXXXX",

"sendUserMailboxProviderId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 1,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 2,

"type": "aircallNotInterested",

"userId": "usr_XXXXXXXXXXXXXXXXX",

"userName": "William Smith"

},


API Types

apiDone

Data Field

Description

url

The URL of the API call.

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T07:06:28.061Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPhone": "0123456789",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "apiDone"

},

"name": "Name of Campaign",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 5,

"stopped": false,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 5,

"type": "apiDone",

"url": "https://google.com"

},

apiInterested

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-05-29T09:03:29.254Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"errorMessage": "Error detail",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPhone": "0123456789",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "apiInterested"

},

"name": "Name of Campaign",

"relatedSentAt": "2024-05-02T09:48:45.848Z",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 0,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 5,

"type": "apiInterested",

"userId": null,

"userName": "William Smith"

},

apiNotInterested

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-05T09:44:25.866Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPhone": "0123456789",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "apiNotInterested"

},

"name": "Name of Campaign",

"relatedSentAt": "2024-05-16T07:25:01.560Z",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 2,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 2,

"type": "apiNotInterested",

"userId": "usr_XXXXXXXXXXXXXXXXX",

"userName": "William Smith"

},

apiFailed

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T07:06:31.440Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"errorMessage": "Error detail",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPhone": "0123456789",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "apiFailed"

},

"name": "Name of Campaign",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 6,

"stopped": false,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 6,

"type": "apiFailed"

},

apiUnsubscribed

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T06:59:15.748Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",

"isFirst": true,

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "apiUnsubscribed"

},

"name": "Name of Campaign",

"sendUserEmail": "[email protected]",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserMailboxId": "usm_XXXXXXXXXXXXXXXXX",

"sendUserMailboxProviderId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 0,

"stopped": true,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 0,

"type": "apiUnsubscribed"

},


Manual Task Types

manualDone

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T07:06:10.249Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPhone": "0123456789",

"leadPicture": "https://app.lemlist.com/api/files/Files/lip_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.jpg",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "manualDone"

},

"name": "Name of Campaign",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 3,

"stopped": false,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 9,

"type": "manualDone",

"userId": "usr_XXXXXXXXXXXXXXXXX",

"userName": "William Smith"

},

manualInterested

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T05:00:32.972Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "manualInterested"

},

"name": "Name of Campaign",

"sendUserEmail": "[email protected]",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserMailboxId": "usm_XXXXXXXXXXXXXXXXX",

"sendUserMailboxProviderId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 0,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 0,

"type": "manualInterested",

"userId": null,

"userName": "William Smith"

},

manualNotInterested

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-05T22:28:36.235Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"errorMessage": "Error detail",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPhone": "0123456789",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "manualNotInterested"

},

"name": "Name of Campaign",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 0,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 0,

"type": "manualNotInterested",

"userId": "usr_XXXXXXXXXXXXXXXXX",

"userName": "William Smith"

},

snoozed

Data Field

Description

delay

The snooze delay in seconds.

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T02:47:04.980Z",

"delay": 1720219,

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPhone": "0123456789",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "snoozed"

},

"name": "Name of Campaign",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 0,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "snoozed",

"userId": "usr_XXXXXXXXXXXXXXXXX",

"userName": "William Smith"

},

annotated

Data Field

Description

note

The content of the added note.

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T07:06:32.380Z",

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPhone": "0123456789",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "annotated"

},

"name": "Name of Campaign",

"note": "Messagerie",

"sendUserEmail": "[email protected]",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserName": "William Smith",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "annotated",

"userId": "usr_XXXXXXXXXXXXXXXXX",

"userName": "William Smith"

},


lemcal Type

meetingBooked

Data Field

Description

meetingDate

The date of the booked meeting.

meetingType

The unique identifier of the meeting.

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-05T23:20:33.709Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"emailTemplateId": "etp_XXXXXXXXXXXXXXXXX",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"meetingDate": "2024-06-12T15:10:00.000Z",

"meetingType": "Chat about mums in science event",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "meetingBooked"

},

"name": "Name of Campaign",

"relatedSentAt": "2024-06-05T20:36:13.319Z",

"sendUserEmail": "[email protected]",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserMailboxId": "usm_XXXXXXXXXXXXXXXXX",

"sendUserMailboxProviderId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 0,

"stopped": true,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 0,

"type": "meetingBooked"

},


Other Types

conditionChosen

Data Field

Description

conditionLabel

Description of the condition applied to the step.

conditionValue

Boolean indicating whether the condition is met or not.

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"conditionLabel": "Opened email",

"conditionValue": false,

"createdAt": "2024-06-06T07:06:20.469Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPhone": "0123456789",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "conditionChosen"

},

"name": "Name of Campaign",

"sendUserId": null,

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 1,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 3,

"type": "conditionChosen"

},

paused

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T07:06:06.519Z",

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPicture": "https://app.lemlist.com/api/files/Files/lip_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.jpg",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "paused"

},

"name": "Name of Campaign",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "paused",

"userName": "William Smith"

},

resumed

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T06:49:19.823Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "resumed"

},

"name": "Name of Campaign",

"sendUserEmail": "[email protected]",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserMailboxId": "usm_XXXXXXXXXXXXXXXXX",

"sendUserMailboxProviderId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 2,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 2,

"type": "resumed",

"userName": "William Smith"

},

skipped

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T07:06:46.709Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"errorMessage": "Error detail",

"isFirst": true,

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "skipped"

},

"name": "Name of Campaign",

"relatedSentAt": "2024-05-22T12:17:00.690Z",

"sendUserEmail": "[email protected]",

"sendUserId": "usr_XXXXXXXXXXXXXXXXX",

"sendUserMailboxId": "usm_XXXXXXXXXXXXXXXXX",

"sendUserMailboxProviderId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",

"sendUserName": "William Smith",

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 3,

"stopped": false,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 5,

"type": "skipped"

},

sendToAnotherCampaign

Code

{

"_id": "act_XXXXXXXXXXXXXXXXX",

"bot": false,

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdAt": "2024-06-06T07:06:05.102Z",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadCompanyName": "Lead Company",

"leadEmail": "[email protected]",

"leadFirstName": "John",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"leadLastName": "Doe",

"leadPhone": "0123456789",

"leadPicture": "https://app.lemlist.com/api/files/Files/lip_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.jpg",

"metaData": {

"campaignId": "cam_XXXXXXXXXXXXXXXXX",

"createdBy": "usr_XXXXXXXXXXXXXXXXX",

"leadId": "lea_XXXXXXXXXXXXXXXXX",

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"type": "sendToAnotherCampaign"

},

"name": "Name of Campaign",

"sendUserId": null,

"sequenceId": "seq_XXXXXXXXXXXXXXXXX",

"sequenceStep": 2,

"teamId": "tea_XXXXXXXXXXXXXXXXX",

"totalSequenceStep": 4,

"type": "sendToAnotherCampaign"

},


Grouped Types

contacted

This type encompasses all "sent" activities:

hooked

This type encompasses all "open" activities:

attracted

This type encompasses all "click" activities:

warmed

This type encompasses all "reply" activities:

interested

This type encompasses all "interested" activities:

notInterested

This type encompasses all "not interested" activities:

Did this answer your question?