Skip to main content
POST
Mark, claim or link an ask
mark: done, not_mine, not_ask, or snoozed until a time (until is required when snoozing and not allowed otherwise). claimed: take the ask so teammates see it is handled. link: attach a Linear issue or a GitHub pull request, so it shows as shipped when the pull request merges or the issue closes. Requires the automations: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

The ask, an id from asks_list.

mark
enum<string>
Available options:
done,
not_mine,
not_ask,
snoozed
until
string
claimed
enum<boolean>
Available options:
true
signal
boolean

With claimed: false claims without the claimed reaction. Default true.

Response

Where an ask stands: its stage, owner and linked work. Only the id and url when the ask was just marked.

Where an ask stands: its stage, owner and linked work. Only the id and url when the ask was just marked.

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
stage
enum<string>
Available options:
open,
claimed,
shipped,
told,
done
owner
string

The Slack member who claimed the ask.

Pattern: ^\S[\s\S]*\S$|^\S$|^$
ownerName
string
mine
boolean
working
boolean
runId
string

Agent run

Pattern: ^arun_[\s\S]*?$
pullRequest
object
issue
object
draft
object