Skip to main content
POST
Create a conversation

Body

application/json
recipients
integer[]
required

User IDs of conversation participants

Response

200 - application/json

The created or existing conversation.

id
integer
Example:

1

type
string

Conversation type: direct or group

Example:

"direct"

title
string

Conversation title (group only)

Example:

""

created_at
integer<int64>

Unix timestamp

updated_at
integer<int64>

Unix timestamp

latest_message
object | null

Latest message in the conversation

mute_rule
integer | null

Mute rule ID or null

unread_message_count
integer
Example:

0

participants
object[]

Conversation participants

publish
object
archived_at
integer<int64> | null

When the auth user archived this conversation