Skip to main content
POST
Change a conversation
Applies the fields you pass in this order: name, topic, purpose, joined, open, addMembers, removeMembers, read, archived. Slack: all fields. Email: archived and read. read true marks everything read, false marks the newest message unread; open false hides a DM until someone writes in it. Requires the messages: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 conversation id from conversations_list.

name
string

a string matching the pattern ^[a-z0-9][a-z0-9_-]{0,79}$

Pattern: ^[a-z0-9][a-z0-9_-]{0,79}$
topic
string
purpose
string
archived
boolean
joined
boolean
open
enum<boolean>
Available options:
false
read
boolean
addMembers
string[]

Slack member ids (chws_…@U…) from people_list.

Minimum array length: 1

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.

removeMembers
string[]

Slack member ids (chws_…@U…) from people_list.

Minimum array length: 1

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 Slack channel or DM, or an email thread.

A Slack channel or DM, or an email thread.

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
title
string
required
kind
enum<string>
required
Available options:
channel,
private,
dm,
group,
self,
email
archived
boolean
required
lastMessageAt
string | null
required
unread
integer

Unread messages; for an email thread 1 when unread. Left out when unknown.

Required range: x >= 0
mentions
integer
Required range: x >= 0
provider
object