v1

latestOpenAPI 3.0.32026-07-2632131.4 MB
Inbox Conversations

Post msg to conversation without sending it

post/communication/conversations/{conversationId}/posts

Path parameters

conversationIdstring required

Saved Conversation Id

Request body

bodystring required

The message itself

sentBystring

host, guest, default: host

Example request

{
  "module": {
    "type": "note"
  },
  "body": "This is a new note",
  "sentBy": "host"
}

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"
    }
  ]
}