Skip to main content
POST
Create a task
Adds a task to a list from lists_list (a Slack List, or a Linear team). 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. 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
list
string
required

A list id from lists_list.

title
string
required

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.

about
string

The message the task came from (chcv_…@) in a Slack List's conversation. The task is linked to it and the creation is undoable.

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.