Create a conversation
Conversations
Create a conversation
Creates a new conversation or returns an existing one with the given recipients. For a single recipient, finds or creates a direct conversation. For multiple recipients, creates a group conversation.
POST
Create a conversation
Body
application/json
User IDs of conversation participants
Response
200 - application/json
The created or existing conversation.
Example:
1
Conversation type: direct or group
Example:
"direct"
Conversation title (group only)
Example:
""
Unix timestamp
Unix timestamp
Latest message in the conversation
Mute rule ID or null
Example:
0
Conversation participants
When the auth user archived this conversation