v1
latestOpenAPI 3.0.12026-07-22120163333.7 KBTasks & Appointments V2
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.
post/v2.0/tasks
Headers
Authorizationstring required
Bearer [access_token]
Content-Typestring required
application/json
Request body
Example request
{
"content": "Send an email to my lead",
"leadId": 563172647619608,
"type": "Call",
"assignedRole": "Agent",
"startAt": "2026-03-01T15:00:00-08:00",
"endAt": "2026-03-01T16:00:00-08:00",
"timeZoneCode": "America/Los_Angeles",
"address": "123 Main St, Los Angeles, CA"
}Response
Task or appointment created. Response contains the new entry's ID.
Example response
{
"taskId": 563172647619608
}