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
- Base URLhttps://developer.saleshandy.com (the document declares no server; this is the origin it was published from)
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
unknown required
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 operation across all 4 revisions of this API.