Create Task
Create a manual task (opportunity) associated with a contact/company or lead.
Create a manual task (opportunity) associated with a contact/company or lead. The task must be assigned to a team member and have a due date. Optional fields let you set a title, message, and priority.Documentation Index
Fetch the complete documentation index at: https://developer.lemlist.com/llms.txt
Use this file to discover all available pages before exploring further.
LinkedIn task attachments
When creating a task withtype: "linkedin", you can attach images and videos to the LinkedIn message by passing public HTTPS URLs in the images and videos arrays. lemlist downloads each file and re-hosts it before attaching it to the task.
| Constraint | Value |
|---|---|
| Maximum items per task | 6 (combined across images + videos) |
| Maximum file size | 20 MB per file |
| Allowed image MIME types | image/png, image/jpeg, image/gif |
| Allowed video MIME types | video/mp4, video/quicktime |
images and videos fields are ignored when type is not linkedin. Ingestion errors return the same LINKEDIN_MEDIA_* codes documented on Add Step to Sequence.Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
The type of task.
email, manual, phone, linkedin The ID of the team member assigned to the task (userId).
The due date in ISO 8601 format (e.g., 2025-02-12T00:00:00.000Z).
The ID of the contact company or lead associated with the task.
Optional title of the task. Defaults to an empty string if omitted.
Optional message/description of the task. Defaults to an empty string if omitted.
Priority level of the task.
, 0, 1, 2 Public HTTPS URLs of images to attach to a linkedin task. lemlist downloads each file and re-hosts it. Ignored when type is not linkedin. Allowed MIME types: image/png, image/jpeg, image/gif. Up to 20 MB per file, and up to 6 items total combined with videos.
Public HTTPS URLs of videos to attach to a linkedin task. lemlist downloads each file and re-hosts it. Ignored when type is not linkedin. Allowed MIME types: video/mp4, video/quicktime. Up to 20 MB per file, and up to 6 items total combined with images.
Response
Success
A manual action assigned to a user to complete.
Unique task identifier
Task type
Associated lead ID
Campaign ID
Assigned user ID
Task status
pending, completed, ignored Due date timestamp
Creation timestamp
Completion timestamp