Skip to main content
POST
Read a conversation
A conversation with its newest messages; older ones come from messages_list. An email thread also returns the reply draft Avazal prepared, if any. Requires the messages:read 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.

Response

Success

conversation
object
required

A Slack channel or DM, or an email thread.

messages
object[]
required
hasOlder
boolean
required
draft
object | null
required

A chat message or an email, sent, drafted or scheduled. Its id is the one every messages operation takes.