API version 2.0
Access API
Tasks
3min
the task resource is the way to assign task to users linked to contacts or accounts in salesmachine tasks can be retrieved individually or as a list model a task object contains the following fields attribute type description object string value is ‘task’ id string salesmachine internal id representing the task created at timestamp the time (in seconds) the task was added to salesmachine type string can be "todo", "call", "meeting'", "email" status string task can be 'open' or 'close' subject string task subject body string the task content due at timestamp time at which this task should be completed completed at timestamp time of task completion account object the account linked to this task contact object the contact linked to this task assignee object reference to the user to whom this task is assigned { "object" "task", "id" "6120e071155b81197607c55b", "created at" 1629544561, "type" "todo", "status" "close", "subject" "remember the milk", "body" "don't forget", "due at" 1632136561, "completed at" 1629544561, "account" { "object" "account", "id" "6120e071155b81197607c557" }, "assignee" { "object" "user", "id" "6120e070155b81197607c507" } }