tasks
Create 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 <code>prospectId</code>. To create the same task for multiple prospects at once, provide <code>prospectIds</code> 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.
post/v1/tasks/create
Request body
Example request
{
"prospectIds": [
"8PvBmrB7P7"
],
"taskType": "13",
"priority": "3",
"dueDate": "2026-04-22",
"taskNote": "Call to follow up on the proposal sent yesterday."
}Response
Task created successfully
{"stackTrail":"paths:/v1/tasks/create:post:responses:201:content:application/json:schema","oasType":"schema","type":"unknown","example":{"message":"Task created successfully","payload":{"results":[{"prospectId":"Pr9xQ2Lm","taskId":"7PWYDWW7zo","success":true},{"prospectId":"Pr4Kb8Qw","taskId":"Mw5Mjoo1wb","success":true},{"prospectId":"INVALIDxx","taskId":null,"success":false}]}}}
Example response
{
"message": "Task created successfully",
"payload": {
"results": [
{
"prospectId": "Pr9xQ2Lm",
"taskId": "7PWYDWW7zo",
"success": true
},
{
"prospectId": "Pr4Kb8Qw",
"taskId": "Mw5Mjoo1wb",
"success": true
},
{
"prospectId": "INVALIDxx",
"taskId": null,
"success": false
}
]
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.