Legacy
Create Task (V1)
Creates a task on the target lead.
Notes:
- content, leadId, deadline, type and assignedRole are required.
- Caller must have manage permission on the lead.
- The response contains only the new task’s ID under the ‘taskId’ key.
POST
Create Task (V1)
Body
application/json
Task payload.
Description of the task.
Example:
"Send an email to my lead"
ID of the lead this task belongs to.
Example:
563172647619608
Deadline of the task, in milliseconds since Unix epoch (UTC).
Example:
1508580010000
Type of the task.
Available options:
Other, Call, Email, Text Example:
"Call"
Role the task is assigned to.
Available options:
Agent, Assistant Example:
"Agent"
When true on update, the task is marked completed and other fields are ignored.
Example:
true
Response
Task created. Response contains the new task's ID.
Wrapped response for POST /v1.0/tasks. The new task's ID is returned under the 'taskId' key.
ID of the newly created task.
Example:
563172647619608