Skip to navigation

Create prospect task

Create a task for the prospect on the default Sales board. Assignees default to the prospect owner (or the userToken member on /v2).

Path parameters

prospect_idstringRequiredformat: "uuid"
Prospect ID

Headers

licenseKeystringRequired
appSecretstringRequired

Request

This endpoint expects an object.
titlestringRequired1-200 characters
Task title
expected_end_datedatetimeRequired

Due instant (ISO datetime with time; date-only rejected)

descriptionstringOptional<=20000 charactersDefaults to
Task description
priorityenumOptional

Priority: low | medium | high | critical

Allowed values:
stage_idstring or nullOptional

Sales board stage; defaults to the first stage (To Do)

assignee_idslist of strings or nullOptional

Assignees; defaults to the lead owner, or the caller when the lead has none

start_datedate or nullOptional
Start date
task_typeenumOptional

Task kind: email | call | to_do

Allowed values:
label_idslist of stringsOptional

Label ids (e.g. the Sales board’s Call / Email / Meeting / Follow-up)

noteslist of objectsOptional
Optional notes to create with the task

Response

Created
statusstring
Response status
messagestring

Human-readable success message

statusCodeinteger
HTTP status code
codestring
Custom application status code
datamap from strings to any or list of any or string or double or boolean or nullOptional
Payload for this endpoint

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error