号码导入

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": {
    }
}
文档更新时间: 2026-01-15 11:25   作者:李茂