Skip to main content
POST
Create a link
Pass url (with title, optional emoji) to bookmark it at the top of a conversation. Pass to to attach a document (doc_…) to a Slack List task, or to record that one object is about, duplicates, answers or waits on another; a relation someone removed stays removed. The result’s id undoes a relation in links_delete. from is a conversation (chcv_…) for bookmarks, a Slack List task for attached documents, or any message, thread, task or issue for relations. Requires the write scope of the target’s concept: messages:write, tasks:write, documents:write.

Authorizations

x-api-key
string
header
required

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

Body

application/json
from
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.

to
string

The object to link to: an id, or for a relation a link to a Linear issue, email or other object.

Required string length: 1 - 2048
url
string

a string matching the pattern ^https?://

Pattern: ^https?:\/\/
title
string

a string at least 1 character(s) long

Minimum string length: 1
emoji
string
kind
enum<string>

about: the message is about the target. duplicate: the same problem as the first report. answers: a reply to the request. waiting_on: someone waits on the target.

Available options:
about,
duplicate,
answers,
waiting_on

Response

A conversation's bookmarked url, a document attached to a task, or a relation between two objects.

A conversation's bookmarked url, a document attached to a task, or a relation between two objects.

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
from
string
required

The object the link hangs from.

to
string | null
required

The object it points to, null for a plain url.

title
string | null
required
emoji
string | null
required
kind
enum<string> | null
required

about: the message is about the target. duplicate: the same problem as the first report. answers: a reply to the request. waiting_on: someone waits on the target.

Available options:
about,
duplicate,
answers,
waiting_on