Skip to main content
Activities screenshot from the lemlist app interface

Activities screenshot from the lemlist app interface

A recorded action or event in a campaign sequence (email sent, opened, clicked, etc.).

_id
string

Unique activity identifier

type
enum<string>

A lemlist activity type. These are the exact values accepted by the type filter on GET /activities and returned as an activity's type. Mind the spelling: email types are plural (emailsSent), invites are linkedinInvite*.

Available options:
emailsSent,
emailsOpened,
emailsClicked,
emailsReplied,
emailsExternalSent,
emailsExternalReceived,
emailsDone,
emailsIgnored,
emailsBounced,
emailsFailed,
emailsUnsubscribed,
emailsInterested,
emailsNotInterested,
snoozed,
annotated,
aircallDone,
aircallIgnored,
aircallCreated,
aircallEnded,
aircallInterested,
aircallNotInterested,
apiDone,
apiIgnored,
apiInterested,
apiNotInterested,
apiFailed,
apiUnsubscribed,
enrichmentDone,
enrichmentFailed,
enrichmentSkipped,
linkedinVisitDone,
linkedinVisitFailed,
linkedinVisitSkipped,
linkedinCommentLastPostDone,
linkedinCommentLastPostFailed,
linkedinCommentLastPostSkipped,
linkedinFollowDone,
linkedinFollowFailed,
linkedinFollowSkipped,
linkedinLikeLastPostDone,
linkedinLikeLastPostNoPost,
linkedinLikeLastPostFailed,
linkedinLikeLastPostSkipped,
linkedinInviteDone,
linkedinEndorseDone,
linkedinEndorseFailed,
linkedinEndorseSkipped,
linkedinSent,
linkedinInMailSent,
linkedinOpened,
linkedinInviteAccepted,
linkedinInviteFailed,
linkedinSendFailed,
linkedinInMailFailed,
linkedinInMailSkipped,
linkedinVoiceNoteDone,
linkedinVoiceNoteFailed,
linkedinWithdrawInvitationDone,
linkedinWithdrawInvitationFailed,
linkedinVoiceNoteReplied,
whatsappMessageSent,
whatsappMessageDelivered,
whatsappMessageOpened,
whatsappReplied,
whatsappMessageFailed,
whatsappDone,
whatsappIgnored,
whatsappVoiceNoteSent,
whatsappVoiceNoteDelivered,
whatsappVoiceNoteOpened,
whatsappVoiceNoteReplied,
whatsappVoiceNoteFailed,
whatsappVoiceNoteIgnored,
smsSent,
smsDone,
smsDelivered,
smsReplied,
smsIgnored,
smsFailed,
aiVariableDone,
aiVariableFailed,
linkedinReplied,
linkedinInterested,
linkedinNotInterested,
linkedinDone,
linkedinIgnored,
manualDone,
manualIgnored,
manualInterested,
manualNotInterested,
manualUnsubscribed,
scheduleCancelled,
paused,
stopped,
resumed,
skipped,
meetingBooked,
conditionChosen,
conditionalFailed,
sendToAnotherCampaign,
manualEmailQueued,
manualLinkedinSendQueued,
manualLinkedinVoiceNoteQueued,
manualLinkedinInviteQueued,
manualLinkedinCommentLastPostQueued,
manualWhatsappMessageQueued,
manualWhatsappVoiceNoteQueued,
outOfOffice,
mailinblackDetected,
entityUnsubscribed,
variableUnsubscribed,
entitySubscribed,
variableSubscribed
leadId
string

Associated lead ID

campaignId
string

Campaign ID

sequenceId
string

Sequence ID

stepId
string

Stable identifier of the sequence step that produced this activity. Present on every activity created from now on; older activities gain it progressively as historical records are backfilled, so treat it as optional when reading history.

sequenceStep
number

0-based position of the step within the sequence. Still emitted on every activity, unchanged. Prefer stepId for a reference that survives steps being reordered.

totalSequenceStep
number

0-based count of the sequence steps already delivered to this lead.

createdAt
string<date-time>

When the activity occurred

contactId
string

Contact the activity relates to. Present on every activity, campaign or not.

leadEmail
string

Lead email as it was when the activity happened. Campaign activities only (absent when the activity has no leadId).

leadFirstName
string

Lead first name as it was when the activity happened. Campaign activities only, and only if the lead had the variable at that moment. For a name on every activity, read the current lead (lead.variables.firstName in v2) or the contact instead.

leadLastName
string

Lead last name as it was when the activity happened. Same scope as leadFirstName.

leadCompanyName
string

Lead company name as it was when the activity happened. Same scope as leadFirstName.