Skip to main content
POST
Read a task
One task with its fields and, for Slack List tasks, the work Avazal tracks for it. id comes from tasks_list. Requires the tasks:read 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.

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.