Chat
/chat/{id}/messages
Retrieve all messages by passing a specific chat
get/chat/{id}/messages
Request
- Base URL<<api-url>> (relative, and the document’s source URL is not known)
- AuthAPI key in header X-API-KEY
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"
}
}
]
}
]Changes
No recorded changes to this operation across all 2 revisions of this API.