Skip to main content
POST
Update a task
Changes only what you pass. status and priority take an option’s name or id, labels take names or ids, assignees take ids from lists_get members, due is YYYY-MM-DD, description is markdown, and null clears due, priority and description. done sets the done checkbox, or moves the status to a done or to-do status when the list has none. Slack List tasks also take development (a branch or pull request url, {pullId} to choose among a branch’s pull requests, or null to unlink), completeOnMerge and archived. Requires the tasks:write scope.

Authorizations

x-api-key
string
header
required

An Avazal API key (avz_…) created in Settings → API keys.

Body

application/json
id
string
required

An id from another result: chcv_… (channel or DM), chcv_…@ (message), chcv_…/ (Slack List or canvas), chcv_…// (list item), mthr_ (email thread), mmsg_, mdrf_, mcmp_, mout_, att_, macc_, doc_, drev_, cevt_, cnt_, trg_, arun_, aart_, aask_, blnk_, a Linear issue such as ENG-123, or linear:team:, linear:view:, linear:mine.

title
string

a string at most 255 character(s) long

Required string length: 1 - 255
Pattern: ^\S[\s\S]*\S$|^\S$|^$
done
boolean
status
string
assignees
string[]
due
string | null

a string matching the pattern ^\d{4}-\d{2}-\d{2}$

Pattern: ^\d{4}-\d{2}-\d{2}$
priority
string | null
description
string | null
labels
string[]
fields
object

Values by field id, set after the common fields; Agent takes "me" to claim, null to end.

development

A GitHub branch or pull request url.

completeOnMerge
boolean
archived
boolean

Response

A task in a Slack List or Linear. Common fields are null or empty when the list has no such field.

A task in a Slack List or Linear. Common fields are null or empty when the list has no such field.

id
string
required

The object's id. Every operation that takes it accepts it.

url
string | null
required

A link that opens the object where it lives.

source
enum<string>
required

Where the object lives. Avazal is the source of its own objects.

Available options:
avazal,
slack,
gmail,
google-calendar,
google-drive,
linear,
github,
contacts
list
string
required

The list's id.

title
string
required
done
boolean | null
required
status
string | null
required
assignees
object[]
required
due
string | null
required

a string matching the pattern ^\d{4}-\d{2}-\d{2}$

Pattern: ^\d{4}-\d{2}-\d{2}$
priority
string | null
required
description
string | null
required
labels
string[]
required
fields
object
required

Every field's raw value by field id, as lists_get names them.

comments
integer | null
required
Required range: x >= 0
updatedAt
string | null
required
work
object

Only on tasks_get, for Slack List tasks.

undo
object

Set when tasks_create linked the task to a message, or when tasks_update changed a Slack List task's fields; undoes that change.