Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get all conversations
/backend/conversations
active
archived
curl -X GET "https://api.leavo.ai/backend/conversations?limit=50" \ -H "Authorization: Bearer your_api_key_here"
const response = await fetch('https://api.leavo.ai/backend/conversations?limit=50', { headers: { 'Authorization': 'Bearer your_api_key_here' } });
{ "success": true, "data": [ { "id": "conversation-uuid", "lead": { "id": "lead-uuid", "name": "John Smith", "phone": "+15551234567" }, "last_message": { "content": "Thanks for the information!", "role": "user", "timestamp": "2024-01-15T14:30:00Z" }, "unread_count": 2, "status": "active", "updated_at": "2024-01-15T14:30:00Z" } ], "pagination": { "total": 85, "limit": 50, "offset": 0, "has_more": true } }