v1
latestOpenAPI 3.0.12026-07-22120163333.7 KBTasks & Appointments
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/v1.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,
"deadline": 1508580010000,
"type": "Call",
"assignedRole": "Agent",
"finishFlag": true
}Response
Task created. Response contains the new task's ID.
Example response
{
"taskId": 563172647619608
}