💬 Chats
Get chats
get/api/{session}/chats
Request
- Base URL: http://localhost:3000
- URL: http://localhost:3000/api/{session}/chats
- Auth: API key in header X-Api-Key
Path parameters
sessionstring required
Session name
Query parameters
sortBy'conversationTimestamp' | 'id' | 'name'
Sort by field
sortOrder'desc' | 'asc'
Sort order - <b>desc</b>ending (Z => A, New first) or <b>asc</b>ending (A => Z, Old first)
mergeboolean
Example:true
Merge LID (@lid) and phone-number (@c.us) chats referencing the same contact
limitnumber
offsetnumber
Changes
No recorded changes to this operation across all 1 revision of this API.