Skip to main content
POST
Create new chat

Body

application/json
type
enum<string>
required
Available options:
direct,
group
participants
string<uuid>[]
required
metadata
object

Response

201 - application/json

Chat created successfully

id
string<uuid>
type
string
participants
string<uuid>[]
lastMessage
object
unreadCount
integer
metadata
object
createdAt
string<date-time>
updatedAt
string<date-time>