号码导入

Path:/api/v1/customers/importFromFlat
Method:PUT
接口描述:
  • 号码导入机器人系统

Header 参数说明

参数名称 参数值 必填 备注
Content-Type application/json 数据类型
Access-Token **** 励销云为每个平台单独颁发唯一Token;通过申请人邮件发送
Company-Code **** 企业/账号绑定标识
param参数
参数名称 参数值 必填 备注
userId Integer 导入客户用户id
async Integer 固定为1(标记异步导入)
appType Integer 平台类型
uid Integer 用户id
taskId Integer 导入任务id
batchId Integer 导入任务批次id
batchCount Integer 批次总数量
batchSize Integer 本批次数量
canCover Boolean 是否覆盖重复(false=不覆盖,true=覆盖)
source Integer 导入来源
organizationId Integer 企业id
customers List[Object] 号码(每批次最多10000条)

customers 号码字段说明

参数名称 参数值 必填 备注
name String 号码对应名称
companyName String 企业名称
phone String 号码
sourceType Integer 号码来源
返回说明

返回示例

{
    "code": 0,
    "message": "",
    "data": {
    }
}
文档更新时间: 2025-09-23 15:23   作者:李茂