Listing
/api/v1/cx-logsAs 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.
Request
Authorization
Bearer Token
Provide your API token in the Authorization header. See Authentication to issue one.
Example:Authorization: Bearer ********************
selectedDatestringrequiredThe selectedDate for the cx logs (example. 2025/04/01 00:00:00-2025/04/25 23:59:00).
Example:2026/04/01 00:00:00-2026/04/30 23:59:59
pagenumberoptionalPage number of cx logs.
Example:1
pageSizenumberoptionalPage size that is showing the data amout of cx logs.
Example:20
direction[]array[string]optionalDirection of the cxlog chatroom when first created.
Example:["outbound"]
channelIds[]array[string]optionalA list of ID of channel
Example:["4da39031-79b0-4fec-9800-4d9199ec82d5"]
contactChannel[]array[string]optionalFilter by Channel type such as line, whatsapp,mail, etc
Example:["mail"]
closedAtstringoptionalFilter by closed at for th cx logs ( 2026/04/01 00:00:00-2026/04/01 23:59:59)
Example:2026/04/01 00:00:00-2026/04/02 23:59:59
roomStatuses[]stringoptionalfilter by current chat room status
Example:unassigned, active, hold, closed
queueIds[]stringoptionalExample:ID of queue
x-client-timezonestringrequiredThe time zone base on country. (example. x-client-timezone : Asia/Bangkok).
Example:Asia/Singapore
Responses
200OK
OK
requestIdstringrequiredcxLogsobjectrequiredChild attributes
dataarray[object]requiredChild attributes
idstring | nulloptionalcaseIdinteger | nulloptionalentityIdstring | nulloptionalentityNamestring | nulloptionalcontactIdstring | nulloptionalchannelstring | nulloptionalqueueIdstring | nulloptionalagentIdstring | nulloptionaldirectionstring | nulloptionalstartedDatestring | nulloptionalclosedAtstring | nulloptionalhandledTimeinteger | nulloptionaltotalHoldDurationinteger | nulloptionalfirstResponseTimeinteger | nulloptionaldispositionstring | nulloptionalchannelTypestring | nulloptionalcustomerPhonestring | nulloptionalcontactLabelarray[string] | nulloptionalqueueNamestring | nulloptionaluidstring | nulloptionalcreatedAtstring | nulloptionalupdatedAtstring | nulloptionaldeletedAtnulloptionalwrapUpFormIdstring | nulloptionalwrapUpDurationinteger | nulloptionalslaStatusstring | nulloptionalfirstAssigneeIdstring | nulloptionalclosedAssigneeIdstring | nulloptionalfullHandledTimeinteger | nulloptionalresolutionTimeinteger | nulloptionalfullResolutionTimeinteger | nulloptionalcxIntelligenceStatusstring | nulloptionalfirstRepliedTimeinteger | nulloptionalcontactobject | nulloptionalChild attributes
idstring | nulloptionalcreatedAtstring | nulloptionalupdatedAtstring | nulloptionaldeletedAtnulloptionalnamestring | nulloptionaladdressstring | nulloptionalchannelstring | nulloptionalnotesstring | nulloptionalcontactNumberstring | integer | nulloptionalcompanyIdstring | nulloptionalcontactProfilestring | nulloptionalsocialProfileUrlstring | nulloptionaltagsarray[object] | nulloptionalChild attributes
idstring | nulloptionalnamestring | nulloptionalpositioninteger | nulloptionalcreatedAtstring | nulloptionalupdatedAtstring | nulloptionaldeletedAtnulloptional
platformContactsarray[object] | nulloptionalChild attributes
idstring | nulloptionalcreatedAtstring | nulloptionalupdatedAtstring | nulloptionaldeletedAtnulloptionalchannelIdstring | nulloptionalsocialPlatformIdstring | nulloptionaltypestring | nulloptionalbotpress_user_metadataobject | array[any] | nulloptional
firstAssigneeobject | nulloptionalChild attributes
idstring | nulloptionalnamestring | nulloptionalemailstring | nulloptionaladdressstring | nulloptionalphonestring | nulloptionalnotificationCountinteger | nulloptionaldeletedaAtnulloptionalcreatedAtstring | nulloptionalupdatedAtstring | nulloptionalproviderstring | nulloptionalproviderIdstring | nulloptionalfirstNamestring | nulloptionallastNamestring | nulloptional
agentobject | nulloptionalChild attributes
idstring | nulloptionalnamestring | nulloptionalemailstring | nulloptionaladdressstring | nulloptionalphonestring | nulloptionalnotificationCountinteger | nulloptionaldeletedaAtnulloptionalcreatedAtstring | nulloptionalupdatedAtstring | nulloptionalproviderstring | nulloptionalproviderIdstring | nulloptionalfirstNamestring | nulloptionallastNamestring | nulloptional
closedAssigneeobject | nulloptionalChild attributes
idstring | nulloptionalnamestring | nulloptionalemailstring | nulloptionaladdressstring | nulloptionalphonestring | nulloptionalnotificationCountinteger | nulloptionaldeletedaAtnulloptionalcreatedAtstring | nulloptionalupdatedAtstring | nulloptionalproviderstring | nulloptionalproviderIdstring | nulloptionalfirstNamestring | nulloptionallastNamestring | nulloptional
mailRoomobject | nulloptionalroomobject | nulloptionalChild attributes
idstring | nulloptionalchannel_idstring | nulloptionalplatform_contact_idstring | nulloptionalactor_idstring | nulloptionalassignee_idstring | nulloptionallast_messagestring | nulloptionalhandled_timeinteger | nulloptionalfirst_response_atstring | nulloptionalunread_countinteger | nulloptionalclosed_atstring | nulloptionaldirectionstring | nulloptionalis_latestboolean | nulloptionalcreated_atstring | nulloptionalupdated_atstring | nulloptionalstatusinteger | nulloptionallast_message_atstring | nulloptionalactor_typestring | nulloptionalis_bot_roomboolean | nulloptionalcsat_statusstring | nulloptionalnotesstring | nulloptionalfirst_response_timeinteger | nulloptionalautomation_queue_idstring | nulloptionaltelegram_business_connection_idstring | nulloptionalis_groupboolean | nulloptionalfirst_assignee_idstring | nulloptionalclosed_assignee_idstring | nulloptionalholding_timeinteger | nulloptionalunhold_label_idstring | nulloptionalfirst_replied_atstring | nulloptionalfirst_replied_timeinteger | nulloptionalis_ai_agent_roomboolean | nulloptionalthread_idstring | nulloptionalsubjectstring | nulloptionalcx_log_partition_keystring | nulloptionalchannelobject | nulloptionalChild attributes
idstring | nulloptionalnamestring | nulloptionaltypestring | nulloptionalbrand_namestring | nulloptionalplatform_idstring | nulloptionalstatusboolean | nulloptionalcreated_atstring | nulloptionalupdated_atstring | nulloptionalis_relogin_requiredboolean | nulloptionalconnected_user_namestring | nulloptionalconnected_user_idstring | nulloptionalactor_idstring | nulloptionalbotpress_bot_idstring | nulloptionalcsat_preferencesobject | nulloptionalChild attributes
imagestring | nulloptionalheadlinestring | nulloptionaldispositionsarray[string] | nulloptionalscaleOptionsarray[object] | nulloptionalChild attributes
labelstring | nulloptionalvalueinteger | string | nulloptional
last_assigned_messageobject | nulloptionalChild attributes
idstring | nulloptionalpartition_keystring | nulloptionalroom_idstring | nulloptionalsender_idstring | nulloptionalactor_idstring | nulloptionalassignee_idstring | nulloptionalupload_idstring | nulloptionalmessagestring | nulloptionaldirectionstring | nulloptionaltypestring | nulloptionalmetadataobject | nulloptionalplatform_idstring | nulloptionalreply_platform_message_idstring | nulloptionalplatform_message_idstring | nulloptionaltemplatestring | nulloptionallocalestring | nulloptionalurlstring | nulloptionalread_atstring | nulloptionalcreated_atstring | nulloptionalupdated_atstring | nulloptionaldeleted_atnulloptionalpreview_urlstring | nulloptionalimage_set_idstring | nulloptionalactor_typestring | nulloptionalparent_message_idstring | nulloptionalreply_reactionstring | nulloptionalfeed_post_idstring | nulloptionallink_message_idstring | nulloptionaledited_message_idstring | nulloptionalis_editedboolean | nulloptionaledited_atstring | nulloptionallabelstring | nulloptionalcontact_idstring | nulloptionallink_message_partition_keystring | nulloptionaledited_message_partition_keystring | nulloptionalparent_message_partition_keystring | nulloptionalclient_request_idstring | nulloptional
queueobject | nulloptionalautomationQueueobject | nulloptionalwrapUpFormobject | nulloptionalChild attributes
idstring | nulloptionaldispositionstring | nulloptionalnotestring | nulloptionaldeletedAtnulloptionalcallFromstring | nulloptionalcallTostring | nulloptionalcreatedAtstring | nulloptionalupdatedAtstring | nulloptionaltypestring | nulloptionalcategoriesarray[object] | nulloptionalChild attributes
idstring | nulloptionalcreatedAtstring | nulloptionalupdatedAtstring | nulloptionaldeletedAtnulloptionalvaluestring | nulloptionalparentIdstring | nulloptionallevelinteger | nulloptional
tagsarray[object] | nulloptionalChild attributes
idstring | nulloptionalnamestring | nulloptional
customFieldsarray[object] | nulloptionalChild attributes
idstring | nulloptionalcreatedAtstring | nulloptionalupdatedAtstring | nulloptionaldeletedAtnulloptionaltextValuestring | nulloptionalbooleanValueboolean | nulloptionalnumberValueinteger | number | nulloptionaldateValuestring | nulloptionalentityIdstring | nulloptionalattributeIdstring | nulloptionalattributeobject | nulloptionalChild attributes
idstring | nulloptionalcreatedAtstring | nulloptionalupdatedAtstring | nulloptionaldeletedAtnulloptionaldisplayNamestring | nulloptionalsystemNamestring | nulloptionaltypestring | nulloptionalpositioninteger | nulloptionalisDefaultboolean | nulloptionalisArchivedboolean | nulloptionalisRequiredboolean | nulloptionalisUniqueboolean | nulloptionalgroupIdstring | nulloptional
evaluateFormobject | nulloptionalholdLogsarray[object] | nulloptionalChild attributes
idstring | nulloptionalstarted_atstring | nulloptionalended_atstring | nulloptionaldurationinteger | nulloptionalhold_label_idstring | nulloptionalcx_log_idstring | nulloptionalcreated_atstring | nulloptionalupdated_atstring | nulloptionaldeleted_atnulloptionalcx_log_partition_keystring | nulloptional
telephonyCdrobject | nulloptionalChild attributes
idstring | nulloptionaluniqueCallIdstring | nulloptionaltimeStartstring | nulloptionalcallFromstring | nulloptionalcallTostring | nulloptionalcallDurationinteger | nulloptionaltalkDurationinteger | nulloptionalsrcTrunkNamestring | nulloptionaldstTrunkNamestring | nulloptionalstatusstring | nulloptionaltypestring | nulloptionalrecordingstring | nulloptionaldidNumberstring | nulloptionalagentRingTimeinteger | nulloptionaluploadIdstring | nulloptionalserialNumberstring | nulloptionalextensionIdstring | nulloptionaltelephonyQueueIdstring | nulloptionalcontactIdstring | nulloptionalcreatedAtstring | nulloptionalupdatedAtstring | nulloptionaldeletedAtnulloptionalisQueueMissedCallboolean | nulloptionalcallParticipantsarray[string] | nulloptionalwrapUpFormIdstring | nulloptionaltelephonyIvrIdstring | nulloptional
transcriptstring | nulloptional
totalintegerrequiredpageintegerrequiredpageSizeintegerrequiredlastPageintegerrequired