Skip to main content
Task screenshot from the lemlist app interface

Task screenshot from the lemlist app interface

A manual action assigned to a user to complete. Only the fields set on the task are returned.

_id
string

Unique task identifier

type
string

Task type as stored, never null. Tasks created through the API use email, manual, phone, linkedinSend or whatsappMessage. Campaign tasks carry the type of their step (for example linkedinInvite, whatsappVoiceNote or sms), and reply and click tasks use opportunityReplied and opportunityClicked.

title
string

Task title

content
string

Task instruction, sent as message when the task is created or updated.

text
string

Text of the lead's LinkedIn reply, when it has one, on opportunityReplied tasks.

priority
enum<integer>

0 low, 1 medium, 2 high. Absent when the task has no priority.

Available options:
0,
1,
2
dueDate
string<date-time>

Due date. Tasks carry no creation date.

userId
string

ID of the assigned user, sent as assignedTo.

leadId
string

Associated lead ID

contactId
string

Associated contact ID

campaignId
string

Campaign ID. A task on a lead carries the campaign of that lead.

sequenceId
string

Sequence ID

leadFirstName
string

First name of the lead or contact

leadLastName
string

Last name of the lead or contact

leadCompanyName
string

Company name of the lead or contact. On a company task, the name (or domain) of the company, the only field that identifies it: the response carries no companyId.

manual
boolean

true on tasks created by hand in lemlist or through the API, on campaign tasks whose step has its manual option on, and on out-of-office tasks. Absent otherwise, never false.