v1

latestOpenAPI 3.0.32026-07-2632131.4 MB
Inbox Conversations

Post msg(Send new msg)

Owners conversations do not support airbnb2 module type, messages that sent with platform module type will be sent through Email.

post/communication/conversations/{conversationId}/send-message

Path parameters

conversationIdstring required

Saved Conversation Id

Request body

bodystring required

The message itself

Example request

{
  "module": {
    "type": "email"
  },
  "body": "This is a new message"
}

Response

OK

statusnumber

Example response

{
  "status": 200,
  "data": {
    "module": {
      "type": "note"
    },
    "from": {
      "type": "user",
      "fullName": "COM - postman"
    },
    "_id": "61643413c9cf7a002d929325",
    "body": "This is new message(COM postman)",
    "conversationId": "615997c2e74f61003015ab02",
    "createdAt": "2021-10-11T12:54:43.248Z"
  }
}