Create Task
POST /v1/tasks/create
/v1/tasks/createCreate a task
Creates a task and assigns it to one or more prospects. Supported task types are Email (1), LinkedIn (2), and General (13). To create a task for a single prospect, provide prospectId. To create the same task for multiple prospects at once, provide prospectIds as an array — the response will include a results array with the outcome per prospect, so a failure for one does not affect the others.
Authorization
x-api-key<token>
API key for Open API authentication
In: header
Request Body
application/jsonRequiredProvide taskType (required) and prospectIds (required) — pass a single-element array for one prospect, or multiple IDs to create the same task for several prospects in one request. taskType accepted values: "2" = LinkedIn connection request, "3" = LinkedIn message, "4" = LinkedIn InMail, "5" = LinkedIn view profile, "6" = LinkedIn post interaction, "9" = Custom, "11" = Call introduction, "12" = Call demo, "13" = Call follow-up, "14" = Call reminder, "15" = Call other, "16" = WhatsApp message, "17" = WhatsApp voice message, "18" = WhatsApp voice call. priority accepted values: "1" = Urgent, "2" = High, "3" = Medium, "4" = Low. dueDate should be in YYYY-MM-DD format (e.g. "2026-04-22"). Defaults to today if not provided.
prospectIdsarray<string>
List of prospect IDs to create the task for. Pass a single-element array for one prospect, or multiple IDs to create the same task for several prospects in one request.
Example:["8PvBmrB7P7"]taskTypestring
The type of task. Accepted values: "2" = LinkedIn connection request, "3" = LinkedIn message, "4" = LinkedIn InMail, "5" = LinkedIn view profile, "6" = LinkedIn post interaction, "9" = Custom, "11" = Call introduction, "12" = Call demo, "13" = Call follow-up, "14" = Call reminder, "15" = Call other, "16" = WhatsApp message, "17" = WhatsApp voice message, "18" = WhatsApp voice call.
Example:"13"Value in: "2" | "3" | "4" | "5" | "6" | "9" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18"prioritystring
The priority level of the task. Accepted values: "1" = Urgent, "2" = High, "3" = Medium, "4" = Low. Defaults to no priority if not provided.
Example:"3"Value in: "1" | "2" | "3" | "4"dueDatestring
The due date for the task in YYYY-MM-DD format (e.g. "2026-04-22"). Defaults to today if not provided.
Example:"2026-04-22"taskNotestring
An optional note or description to attach to the task.
Example:"Call to follow up on the proposal sent yesterday."Request Body Examples
{
"prospectIds": [
"8PvBmrB7P7"
],
"taskType": "13",
"priority": "3",
"dueDate": "2026-04-22",
"taskNote": "Call to follow up on the proposal sent yesterday."
}Responses
{
"message": "Task created successfully",
"payload": {
"results": [
{
"prospectId": "Pr9xQ2Lm",
"taskId": "7PWYDWW7zo",
"success": true
},
{
"prospectId": "Pr4Kb8Qw",
"taskId": "Mw5Mjoo1wb",
"success": true
},
{
"prospectId": "INVALIDxx",
"taskId": null,
"success": false
}
]
}
}