Skip to main content
PATCH
Update a task

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string
required

Task id

Body

application/json

Task fields to update

clientId
string

ClientID assigns the task to a client user; CompanyID is required when set.

Example:

"64734088-94c7-47dd-b2fe-e5ac7e5cfaf4"

companyId
string

CompanyID assigns the task to a company; required when assigning to a client.

Example:

"550e8400-e29b-41d4-a716-446655440000"

description
string

Description is the optional long-form details of the task.

Example:

"Write the welcome email for new clients."

dueDate
string<date-time>

DueDate is when the task is due, in RFC 3339 format.

Example:

"2025-05-01T16:18:54Z"

internalUserId
string

InternalUserID assigns the task to an internal user.

Example:

"64734088-94c7-47dd-b2fe-e5ac7e5cfaf4"

isArchived
boolean

IsArchived archives or unarchives the task. Used when updating a task.

Example:

false

name
string

Name is the human-readable name of the task.

Example:

"Draft the onboarding email"

parentTaskId
string

ParentTaskID makes this task a subtask of the given parent task.

Example:

"550e8400-e29b-41d4-a716-446655440000"

status
enum<string>

Status is the task status: one of todo, inProgress, completed.

Available options:
todo,
inProgress,
completed
Example:

"todo"

templateId
string

TemplateID is the task template to create this task from.

Example:

"550e8400-e29b-41d4-a716-446655440000"

viewers
object[]

Viewers grant view access to the task (assignee must be an internal user).

Response

OK

createdAt
string<date-time>

Created is the RFC 3339 timestamp at which the object was created.

Example:

"2024-01-15T09:30:00Z"

deleted
boolean

Deleted is true when the object has been deleted; present only on delete responses.

Example:

true

description
string

Description is the optional long-form details of the task.

Example:

"Write the welcome email for new clients."

id
string

ID is the unique identifier of the object.

Example:

"550e8400-e29b-41d4-a716-446655440000"

name
string

Name is the human-readable title of the task.

Example:

"Draft the onboarding email"

object
enum<string>

Object is the type of the object (e.g. "client", "company").

Available options:
client,
internalUser,
company,
customField,
customFieldOption,
file,
fileChannel,
folder,
messageChannel,
message,
notification
updatedAt
string<date-time>

Updated is the RFC 3339 timestamp at which the object was last updated.

Example:

"2024-02-20T14:05:00Z"