Task

List the details of a task

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Task Attributes

Attribute NameTypeDescriptionAttributes
selfreferenceURL of the TaskRead-only
Non-null
titlestringTitle of the task (max 512 characters)Read-Write
Non-null
Required
Searchable
detailsstringDetails (max 2048 characters)Read-Write
Nullable
Searchable
categorystringCategory nameRead-Write
Nullable
Searchable
keywordsarray of stringList of Keywords (max 64)Read-Write
Nullable
Searchable
duedatetimeWhen the task is dueRead-Write
Nullable
Searchable
locationstringLocation (max 2048 characters)Read-Write
Nullable
Searchable
typestringThe type of the task. See task types for valid valuesRead-Write
Non-null
Default value is "todo"
Searchable
statusstringThe status of the task. See task statuses for valid valuesRead-Write
Non-null
Default value is "open"
Searchable
prioritystringThe priority of the task: "no_priority", "low", "medium" or "high"Read-Write
Non-null
Default value is "no_priority"
Searchable
starteddatetimeWhen the task was started. Must not be after completedRead-Write
Nullable
Searchable
completeddatetimeWhen the task was completedRead-Write
Nullable
Searchable
estimated_timeintegerEstimated time to complete the task, in secondsRead-Write
Nullable
Searchable
subtasksarray of referenceURLs of the Tasks that are subtasks of this task. See SubtasksRead-Write
Nullable
parent_taskreferenceURL of the Task this task is a subtask ofRead-Write
Nullable
appointmentsarray of linkLinked AppointmentsRead-Write
Nullable
Searchable
contactsarray of linkLinked ContactsRead-Write
Nullable
Searchable
companiesarray of linkLinked CompaniesRead-Write
Nullable
Searchable
groupsarray of linkLinked GroupsRead-Write
Nullable
Searchable
notesarray of linkLinked NotesRead-Write
Nullable
Searchable
formsarray of linkLinked FormsRead-Write
Nullable
Searchable
opportunitiesarray of linkLinked OpportunitiesRead-Write
Nullable
Searchable
projectsarray of linkLinked ProjectsRead-Write
Nullable
Searchable
ownerreferenceURL of the User responsible for the taskRead-Write
Non-null
Default value is the user making the request
Searchable
creatorreferenceURL of the User that created the taskRead-only
Non-null
Searchable
trashedbooleanWhether the task is in the trash. Set to false to restore itRead-only
Non-null
create_datedatetimeWhen the task was createdRead-only
Non-null
Searchable
modify_datedatetimeWhen the task was last updatedRead-only
Non-null
Searchable

Task types

"todo"A to do
"inbound_call"An inbound call
"outbound_call"An outbound call
"fax"A fax
"email"An email
"mail"A physical mailing
"print"A printing

Task statuses

"open"The task is still active
"pending"The task is pending
"deferred"The task has been deferred
"in_progress"The task is in progress
"done"The task has been completed
"cancelled"The task has been cancelled

Subtasks

A task can have up to 32 subtasks, nested at most 5 levels deep.

  • To make a task a subtask, set its parent_task, or add it to the parent with {"subtasks": {"add": ["/v1/tasks/2001"]}}.
  • To detach a subtask, set its parent_task to null.

When subtasks are added, the parent's status becomes done if every subtask is done, and open otherwise. A task whose parent is done is marked done when it is attached.

Moving a task to the trash also moves its subtasks to the trash. Restoring the parent does not restore subtasks that are in the trash.

Path Params
int32
required

The task ID

Query Params
boolean

Return a smaller version of the record that leaves out lists and linked records.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json