v1
latestOpenAPI 3.0.32026-07-2632131.4 MBInbox Conversations
Get posts (by conversation id)
get/communication/conversations/{conversationId}/posts
Path parameters
conversationIdstring required
Saved Conversation Id
Query parameters
sortstring
Sorting, default: -createdAt
cursorAfterstring
Pagination cursor, default:''.
First request will require only limit parameter and in response you will get cursor object.
Use cursor.after to send in query params cursorAfter parameter in order to move forward.
Use cursor.before to send in query params cursorBefore parameter in order to move backwards.
An empty string in after or before cursor in response will indicate that there is no more documents in this direction.
If you sort buy something different than createdAt, please make sure include this parameter in fields, or you will get empty cursor.
cursorAfter and cursorBefore are not allowed to be used at the same time in one request.
cursorBeforestring
Pagination cursor, default:null.
Response
OK
Example response
{
"status": 200,
"data": {
"count": 1,
"limit": 25,
"sort": "-createdAt",
"posts": [
{
"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"
}
]
}
}