Skip to main content
POST
Pin, hide or rename a contact
Changes how a contact shows in Avazal: pinned keeps them at the top, hidden removes them from lists, name sets the name you see (null restores theirs). Only the fields you pass change, and nobody else is told. Requires the people: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

A person's id from people_list: cnt_… or chws_…@.

pinned
boolean
hidden
boolean
name
string | null

a string at most 200 character(s) long

Maximum string length: 200

Response

A contact (cnt_…) or a Slack workspace member (chws_…@).

A contact (cnt_…) or a Slack workspace member (chws_…@).

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
name
string
required
email
string | null
required
title
string | null
required
photoUrl
string | null
required
account
string | null
required

The Slack workspace a member belongs to; null for contacts.

provider
object
required