v1
latestOpenAPI 3.0.02026-07-24378968.5 KBChat
/chat/{id}/messages
Retrieve all messages by passing a specific chat
get/chat/{id}/messages
Path parameters
idstring required
Query parameters
pagenumber
Number of the page
limitnumber
Limit of items per page. MAX = 100, MIN = 1
propertystring required
Name of the property to sort
direction'asc' | 'desc' required
'asc' or 'desc' to order the result
Headers
octa-agent-emailstring
Response
Example response
[
{
"sentBy": {
"phoneContacts": {
"number": "119999999999",
"countryCode": "55"
}
},
"mentions": [
{
"phoneContacts": {
"number": "119999999999",
"countryCode": "55"
}
}
]
}
]