v1
latestOpenAPI 3.0.02026-08-04265791.1 MBChats
Create
Send a chat message from a user to another user.
post/public/api/chats
Headers
Acceptstring
e.g. application/json
Request body
Example request
{
"sender_id": "54ab03c6546847ee0d30086a",
"recipient_id": "54ab03c6546847ee0d30086b",
"text": "Hello, how are you?",
"attachments": "https://assets.yoobic.com/image/upload/v1/file.jpg"
}Response
Created
Example response
{
"sender_id": "54ab03c6546847ee0d30086a",
"recipient_id": "54ab03c6546847ee0d30086b",
"text": "Hello, how are you?",
"attachments": "https://assets.yoobic.com/image/upload/v1/file.jpg",
"created_date": "2025-12-29T10:00:00.000Z"
}