GET /api/v1/chat-logs
Fetch chat conversation history from your website visitor chat.
GET /api/v1/chat-logs
Returns paginated chat logs for your business.
Query parameters
| Parameter | Type | Description |
|---|---|---|
| from | date (Y-m-d) | Filter from date |
| to | date (Y-m-d) | Filter to date |
| per_page | integer | Results per page (max 100, default 20) |
Request
curl -X GET "https://app.6xcom.com/api/v1/chat-logs?from=2026-06-01" \
-H "Authorization: Bearer YOUR_API_TOKEN"
Response
{
"data": [
{
"id": 45,
"visitor_name": "Alice Smith",
"visitor_email": "alice@example.com",
"agent": "John Doe",
"messages": 8,
"started_at": "2026-06-20T14:00:00.000000Z"
}
],
"total": 45,
"per_page": 20,
"current_page": 1,
"last_page": 3
}Was this article helpful?