Cx Logs

As the name suggests, cx logs are a core part of klink.cloud — the very reason klink.cloud exists is so you can have check daily call logs conversations with your cx logs. On this page, we'll dive into the different cx logs endpoints you can use to manage cx logs programmatically. We'll look at how to query, create, update, and delete tags.

The Cx Logs Model

The cx logs model contains all the information about your cx logs.

GEThttps://uat-api.klink.cloud/api/v1/cx-logs

List all Cx Logs

This endpoint allows you to retrieve a paginated list of all your cx logs. By default, a maximum of ten tags are shown per page.

Required attributes

  • Name
    selectedDate
    Type
    string
    Description

    The selectedDate for the cx logs (example. 2025/04/01 00:00:00-2025/04/25 23:59:00).

Required headers

  • Name
    xClientTimezone
    Type
    string
    Description

    The time zone base on country. (example. x-client-timezone : Asia/Bangkok).

Optional attributes

  • Name
    page
    Type
    number
    Description

    Page number of cx logs.

  • Name
    pageSize
    Type
    number
    Description

    Page size that is showing the data amout of cx logs.

Request

GET
https://uat-api.klink.cloud/api/v1/cx-logs
curl -G https://uat-api.klink.cloud/api/v1/cx-logs \
    -H "Authorization: Bearer {token}" \
    -H "x-client-timezone: Asia/Bangkok" \
    -d selectedDate='2025/04/01 00:00:00-2025/04/25 23:59:00'

Response

    {
        "requestId": "",
        "cxLogs": {
            "data": [
            {
                "id": "",
                "caseId": null,
                "entityId": "",
                "entityName": "",
                "contactId": "",
                "channel": "",
                "queueId": "",
                "agentId": "",
                "direction": "",
                "startedDate": "",
                "handledTime": null,
                "firstResponseTime": null,
                "createdAt": "",
                "updatedAt": "",
                "deletedAt": null,
                "wrapUpFormId": "",
                "wrapUpDuration": null,
                "slaStatus": null,
                "firstAssigneeId": "",
                "closedAssigneeId": "",
                "totalHoldDuration": null,
                "fullHandledTime": null,
                "resolutionTime": null,
                "fullResolutionTime": null,
                "cxIntelligenceStatus": null,
                "firstRepliedTime": null,
                "contact": {...},
                "firstAssignee": {...},
                "agent": {...},
                "closedAssignee": {...},
                "mailRoom": null,
                "room": {...}
            },
            {...}
            ],
            "total": ...,
            "page": 1,
            "pageSize": 10,
            "lastPage": ...
        }
    }