该文档为第一版接口,后续将弃用,目前已不再更新维护,建议您使用新的接口文档进行请求:https://salesmartly-api.apifox.cn
curl --location -g --request GET 'https://api.salesmartly.com/api/chat-user/get-contact-list?page_size=50&page=1&type=&project_id=abc1d1&next_token=CAESFAoSChAKDGNyZWF0ZWRfdGltZRABGAEiRAoJAD0nw2QAAAAACjcDMgAAADFTMzYzNDYzMzMzMjM3MzM2NDMwMzczOTM0MzQzMDM3MzMzNjM5MzQzOTY1NjI2NjMx&channel=1&country=&city=&language=&is_online=&created_time={"start": 1638288000, "end": 1638892800} &query=[{"field":"phone","condition":"empty","value":""}]&advanced_query=[{"field":"phone","condition":"empty","value":""}]&label_ids=&ids=&field_sort={"created_time": "ASC", "msg_last_send_time": "DESC"}&user_type=&advanced_query_type=&user_id=&module=&channel_id=&channel_uids=&updated_time={"start":1680000000,"end":1714027206}' \
--header 'external-sign;'
{
"data": {
"list": [
{
"channel": "string",
"name": "string",
"remark_name": "string",
"email": "string",
"phone": "string",
"country": "string",
"city": "string",
"language": "string",
"labels": "string",
"is_online": "string",
"remark": "string",
"created_time": "string",
"channel_id": "string",
"order_cnt": "string",
"order_amount": "string",
"msg_cnt": "string",
"session_cnt": "string",
"msg_last_send_time": "string",
"sys_user_id": "string",
"channel_info": "string",
"chat_type": "string",
"user_last_reply_time": "string",
"chat_user_id": "string",
"sys_user_name": "string",
"content": "string",
"channel_name": "string",
"channel_phone": "string"
}
],
"total": 0,
"page": 0,
"page_size": 0,
"next_token": "string"
},
"count": {},
"code": 0,
"msg": "string"
}