Create Task
Creates a new task or appointment on the target lead. Whether an appointment or a regular task is created depends on the payload’s type field.
Notes:
- content, assignedRole, leadId and endAt are required.
- Caller must have manage permission on the lead.
- The response contains only the new entry’s ID under the ‘taskId’ key.
Body
Task or appointment payload.
The type of the task. Could be Other, Call, Email, Text, Appointment
"Call"
Description of the task
"Send an email to my lead"
The ID of the lead this task is related to
563172647619608
Role the task should be assigned to (Agent or Assistant)
"Agent"
When this task/appointment should start. ISO8601 format in specified timezone, e.g., '2026-03-01T15:00:00-08:00'
"2026-03-01T15:00:00-08:00"
When this task/appointment should end. ISO8601 format in specified timezone, e.g., '2026-03-01T16:00:00-08:00'. For regular tasks, this represents the deadline
"2026-03-01T16:00:00-08:00"
Timezone code for this task/appointment
"America/Los_Angeles"
Address/location for appointment type tasks
"123 Main St, Los Angeles, CA"
Response
Task or appointment created. Response contains the new entry's ID.
Wrapped response for POST /v2.0/tasks. The new task's ID is returned under the 'taskId' key.
ID of the newly created task or appointment.
563172647619608