人群包数据文件上传

最后更新:2026/02/03

企业可通过此接口上传人群包数据文件

请求方式: POST(HTTPS)

请求地址: https://open.wshoto.com/openapi/crowdPack/upload

Query参数:

参数 类型 必填 说明
access_token string 调用接口凭证

Body参数:

参数说明:

参数 类型 必填 说明
file file 上传文件
说明:
1、人群包内数据通过模版文件上传,需要按照模版文件格式写入数据,当前仅支持csv格式模版
2、单个文件大小不能超过10M
3、文件编码必须UTF-8
4、仅开通了人群包白名单的企业可调用

返回值:

{
  "code": 0,
  "msg": "请求成功",
  "data": {
    "file_id": 1820648131277096514
  },
  "sub_code": "00000"
}

返回说明:

参数 类型 说明
code int 出错返回码,为0表示成功,非0表示调用失败
msg string 返回码描述
data object 返回对象
  file_id long 文件id
sub_code int 业务服务异常码

results matching ""

    No results matching ""