资质管理
更新时间:2026-10-09 20:11:41
更新时间:2026/8/13 更新内容:
新增资质接口:
- 接口地址从 V1 升级到 V2;
- 合同字段精简:去除「合同首页 / 有效期页 / 尾页」,合并为「终端合同照片」(contract_other_file,最多 20 张,支持图片/PDF);
- 终端合同照片规则:自用(end_type=1)选填、他用(end_type=2)必填;
- 经办人核验升级:二要素(姓名+身份证)→ 三要素(姓名+身份证+手机号);
- 审核状态逻辑:自用通过经办人三要素+法人核验后自动「通过」;他用提交人工审核,状态「待审核」;
- 新增参数 remark(备注)。
资质列表接口(原"资质查询"):
- 接口名称由"资质查询"更名为"资质列表";
- 返回字段同步精简合同字段,新增「终端合同照片」(contract_other_preview_url)、「审核状态」(audit_status)、「审核意见」(audit_opinion);
- 新增提示:接口返回的文件 URL 有效期为 5 分钟,过期需重新调用获取。
编辑资质接口:
- 接口地址从 V1 升级到 V2;
- 合同字段同步精简为「终端合同照片」(contract_other_file);
- 明确编辑规则:驳回/通过状态可编辑,待审核不可编辑;可修改经办人信息、授权书、终端合同、备注,提交后重新审核。
新增"资质变更查询"接口:
- 新增资质变更查询接口(/v1/qualification/change-log/list),支持按终端资质 ID 查询变更记录;
- 返回变更时间、操作账号、变更类型、审核状态、审核意见,以及变更前(old_info)/变更后(new_info)的完整资质快照。
更新时间:2026/6/17 更新内容:更新"资质添加、资质查询"相关接口。
接入准备
1、请先联系商务开通"深度接口账号"才能使用本目录下所有接口。 2、请登录控制台拿到发送短信的"API账号",增加资质根据API账号为导向的。 3、应用场景材料:准备经办人授权书。 4、实名信息:经办人身份证、营业执照。
接口列表
1. 新增资质
【⚠️重要更新】:
- 合同字段精简:去除「合同首页 / 有效期页 / 尾页」,合并为「终端合同照片」(最多 20 张,支持图片/PDF)
- 终端合同照片:自用选填、他用必填
- 经办人核验升级:二要素(姓名+身份证)→ 三要素(姓名+身份证+手机号)
- 审核状态:自用通过经办人三要素+法人核验后自动「通过」;他用提交人工审核,状态「待审核」
1.1 请求地址
- 请求方式:post
- Content-Type:application/x-www-form-urlencoded
- 请求地址:
https://api.chuanglan.com/api/apis/v2/qualification/add
1.2 请求参数
| 参数名称 | 类型 | 是否必传 | 描述 | 示例 |
|---|---|---|---|---|
| username | String | 是 | 深度接口账号名 • 请联系创蓝商务提供 | "username":"13899999999" |
| timestamp | String | 是 | 时间戳 • 10位时间戳 • 时间戳1分钟过期 | "timestamp":"1755068823" |
| signature | String | 是 | 验签 • 标准的 MD5 加密(32 位小写值) • 加密规则:signature=md5(username+password+timestamp),无需+号,直接按照顺序拼接3个值进行MD5。双方进行校验。 | "signature":"e10adc3949ba59abbe56e057f20f883e" |
| api_name | String | 是 | 发短信的 API 账号 • 请填写对应的API账号 • 注:原sub_id和appid升级版参数,现在直接传对应的API账号值即可 | "api_name":"N617810_N7533106" |
| end_type | String | 否 | 签名使用方终端类型 • 1=自用(直客);2=他用(终端客户),默认值=2 | "end_type":"2" |
| share_type | String | 是 | 是否指定使用方 • 传0:此账号,传1:所有主子账号 | "share_type":"1" |
| enterprise_name | String | 是 | 企业名称 • 填写企业真实完整名称 | "enterprise_name":"上海创蓝云智信息科技股份有限公司" |
| unified_social_credit_code | String | 是 | 统一社会信用代码 • 填写企业真实有效的统一社会信用代码 | "unified_social_credit_code":"91310115579195569K" |
| legal_name | String | 是 | 法人姓名 • 填写企业法人真实姓名 | "legal_name":"李四" |
| attention_line | String | 是 | 经办人姓名 • 填写办理业务的经办人真实姓名 | "attention_line":"张三" |
| attention_id_card | String | 是 | 经办人身份证号 • 填写经办人真实有效的身份证号码 | "attention_id_card":"310101199001011234" |
| phone_num | String | 是 | 经办人手机号 • 填写经办人真实有效的手机号 | "phone_num":"13899999999" |
| identity_type | String | 否 | 经办人类型 • 1=法人;2=经办人,默认 2 | "identity_type":"2" |
| business_license_img | String | 是 | 签名实名营业执照 • 提交base64处理后的数据 • 每张图片不大于2M,支持 png,jpg,jpeg 格式 | "business_license_img":"data:image/jpg;base64,/9j/4AAQSkZJR" |
| legal_national_emblem_identity_img | String | 是 | 法人身份证国徽面 • 提交base64处理后的数据 • 每张图片不大于2M,支持 png,jpg,jpeg 格式 | "legal_national_emblem_identity_img":"data:image/jpg;base64,/9j/4AAQSkZJR" |
| legal_figure_identity_img | String | 是 | 法人身份证人像面 • 提交base64处理后的数据 • 每张图片不大于2M,支持 png,jpg,jpeg 格式 | "legal_figure_identity_img":"data:image/jpg;base64,/9j/4AAQSkZJR" |
| agent_authorization_letter_img | String | 否 | 经办人授权书 • 经办人类型为经办人时需上传 • 提交base64处理后的数据 • 每张图片不大于2M,支持 png,jpg,jpeg 格式 | "agent_authorization_letter_img":"data:image/jpg;base64,/9j/4AAQSkZJR" |
| figure_identity_img | String | 否 | 经办人身份证人像面 • 经办人类型为经办人时需上传 • 提交base64处理后的数据 • 每张图片不大于2M,支持 png,jpg,jpeg 格式 | "figure_identity_img":"data:image/jpg;base64,/9j/4AAQSkZJR" |
| national_emblem_identity_img | String | 否 | 经办人身份证国徽面 • 经办人类型为经办人时需上传 • 提交base64处理后的数据 • 每张图片不大于2M,支持 png,jpg,jpeg 格式 | "national_emblem_identity_img":"data:image/jpg;base64,/9j/4AAQSkZJR" |
| identity_office_photo_img | String | 否 | 经办人办公场景照片 • 提交base64处理后的数据 • 每张图片不大于2M,支持 png,jpg,jpeg 格式 | "identity_office_photo_img":"data:image/jpg;base64,/9j/4AAQSkZJR" |
| contract_other_file | String[] | 否 | 终端合同照片 • 签名使用方终端类型为自用选填、他用必填 • 提交base64处理后的数据 • 每张图片不大于2M,支持 png,jpg,jpeg,pdf 格式 • 最多20张 | "contract_other_file":["data:image/jpg;base64,/9j/4AAQSkZJR"] |
| remark | String | 否 | 备注 | "remark":"备注" |
1.3 请求示例
username=17321332052×tamp=1659583889&signature=f3ecceccfb68922930e3f139b599477e&api_name=N123456&enterprise_name=北京XX科技有限公司&unified_social_credit_code=91110000XXXXXXXXXX&attention_line=张三&attention_id_card=110101199001011234&phone_num=13800138000&end_type=2&identity_type=2
1.4 响应参数
| 参数名 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| code | String | - | 000000 代表成功,其他代表失败,会有 message 错误信息返回 |
| status | String | - | 状态说明 success:成功,error:失败 |
| msg | String | - | 提示信息(Unicode字符编码,需自行解码为中文) |
| data | object | - | 返回数据 |
| -id | Long | - | 资质id |
返回数据示例(JSON):
{ "code": "000000", "data": { "id": 341708 }, "msg": "深度接口新增终端资质成功", "status": "success" }
2. 资质列表
【⚠️重要更新】:返回字段同步精简合同字段,新增「终端合同照片」「资质审核状态」「审核意见」
2.1 请求地址
- 请求方式:post
- Content-Type:application/x-www-form-urlencoded
- 请求地址:
https://api.chuanglan.com/api/apis/v1/qualification/list
注意:接口返回的文件 URL 有效期为 5 分钟,过期后需重新调用接口获取。
2.2 请求参数
| 参数名称 | 类型 | 是否必传 | 描述 | 示例 |
|---|---|---|---|---|
| username | String | 是 | 深度接口账号名 • 请联系创蓝商务提供 | "username":"13899999999" |
| timestamp | String | 是 | 时间戳 • 10位时间戳 • 时间戳1分钟过期 | "timestamp":"1755068823" |
| signature | String | 是 | 验签 • 标准的 MD5 加密(32 位小写值) • 加密规则:signature=md5(username+password+timestamp),无需+号,直接按照顺序拼接3个值进行MD5。双方进行校验。 | "signature":"e10adc3949ba59abbe56e057f20f883e" |
| api_name | String | 是 | 发短信的API账号 • 请填写对应的API账号 • 注:原sub_id和appid升级版参数,现在直接传对应的API账号值即可 | "api_name":"N617810_N7533106" |
| end_customer_id | Long | 否 | 终端资质 ID • 精确查询 | - |
| company_name | String | 否 | 公司名称 • 支持模糊搜索 | - |
| end_type | String | 否 | 签名使用方终端类型 • 1=自用;2=他用 | - |
| start | Integer | 是 | 页码 • 默认 1,必须为整数 | - |
| length | Integer | 是 | 每页条数 • 默认 10,最大 100,必须为整数 | - |
2.3 请求示例
username=17321332052×tamp=1659583889&signature=f3ecceccfb68922930e3f139b599477e&api_name=N123456&start=1&length=10&company_name=科技&end_type=2
2.4 响应参数
| 参数名 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| code | String | - | 000000 代表成功,其他代表失败,会有 message 错误信息返回 |
| status | String | - | 状态说明 success:成功,error:失败 |
| msg | String | - | 提示信息(Unicode 字符编码,需自行解码为中文) |
| data | object | - | 返回数据 |
| -total | Integer | - | 返回分页总数量 |
| -list | object [] | - | item 类型: object |
| --end_customer_id | Long | - | 终端客户 ID |
| --enterprise_name | String | - | 企业名称 |
| --unified_social_credit_code | String | - | 统一社会信用代码 |
| --attention_line | String | - | 经办人姓名 |
| --attention_id_card | String | - | 经办人身份证号 |
| --legal_name | String | - | 法人姓名 |
| --phone_num | String | - | 经办人手机号 |
| --identity_type | String | - | 经办人类型:1 = 法人;2 = 经办人 |
| --end_type | String | - | 终端类型:1 = 自用(直客);2 = 他用(终端客户) |
| --one_to_many_flag | String | - | 是否一人多企:0 = 否;1 = 是 |
| --agent_authorization_letter_url | String | - | 经办人授权书 URL |
| --business_license_url | String | - | 签名实名营业执照 URL |
| --national_emblem_identity_url | String | - | 经办人身份证国徽面 URL |
| --figure_identity_url | String | - | 经办人身份证人像面 URL |
| --legal_national_emblem_identity_url | String | - | 法人身份证国徽面 URL |
| --legal_figure_identity_url | String | - | 法人身份证人像面 URL |
| --identity_office_photo_url | String | - | 经办人办公场景照片 URL |
| --contract_head_page_url | String | - | 合同首页 URL |
| --contract_validity_page_url | String | - | 合同有效期页 URL |
| --contract_tail_page_url | String | - | 合同尾页 URL |
| --contract_other_preview_url | String [] | - | 终端合同照片 |
| --audit_status | String | - | 审核状态:1 = 待审 2 = 过审 3 = 驳回 |
| --audit_opinion | String | - | 资质审核意见 |
| --remark | String | - | 备注 |
返回数据示例(JSON):
{ "code": "000000", "msg": "深度接口终端资质分页查询成功", "data": { "total": 1, "list": [ { "end_customer_id": 10086, "enterprise_name": "北京XX科技有限公司", "unified_social_credit_code": "91110000XXXXXXXXXX", "attention_line": "张三", "attention_id_card": "110101199001011234", "legal_name": "李四", "phone_num": "13800138000", "identity_type": "2", "end_type": "2", "one_to_many_flag": "0", "agent_authorization_letter_url": "https://xxx.xxx.com/xxx.jpg", "business_license_url": "https://xxx.xxx.com/xxx.jpg", "national_emblem_identity_url": "https://xxx.xxx.com/xxx.jpg", "figure_identity_url": "https://xxx.xxx.com/xxx.jpg", "legal_national_emblem_identity_url": "https://xxx.xxx.com/xxx.jpg", "legal_figure_identity_url": "https://xxx.xxx.com/xxx.jpg", "identity_office_photo_url": "https://xxx.xxx.com/xxx.jpg", "contract_head_page_url": "https://xxx.xxx.com/xxx.jpg", "contract_validity_page_url": "https://xxx.xxx.com/xxx.jpg", "contract_tail_page_url": "https://xxx.xxx.com/xxx.jpg", "remark": "" } ] } }
3. 编辑资质
【⚠️重要更新】:
- 驳回/通过状态可编辑,待审核不可编辑
- 可改经办人信息、授权书、终端合同、备注,提交后重新审核
3.1 请求地址
- 请求方式:post
- Content-Type:application/x-www-form-urlencoded
- 请求地址:
https://api.chuanglan.com/api/apis/v2/qualification/modify
3.2 请求参数
| 参数名称 | 类型 | 是否必传 | 描述 | 示例 |
|---|---|---|---|---|
| username | String | 是 | 深度接口账号名 • 请联系创蓝商务提供 | "username":"13899999999" |
| timestamp | String | 是 | 时间戳 • 10位时间戳 • 时间戳1分钟过期 | "timestamp":"1755068823" |
| signature | String | 是 | 验签 • 标准的 MD5 加密(32 位小写值) • 加密规则:signature=md5(username+password+timestamp),无需+号,直接按照顺序拼接3个值进行MD5。双方进行校验。 | "signature":"e10adc3949ba59abbe56e057f20f883e" |
| api_name | String | 是 | 发短信的API账号 • 请填写对应的API账号 • 注:原sub_id和appid升级版参数,现在直接传对应的API账号值即可 | "api_name":"N617810_N7533106" |
| end_customer_id | Long | 是 | 终端资质 ID | - |
| legal_name | String | 否 | 法人姓名 | - |
| phone_num | String | 否 | 经办人手机号 | - |
| business_license_img | String | 否 | 签名实名营业执照 • 提交base64处理后的数据 • 每张图片不大于2M,支持 png,jpg,jpeg 格式 | "business_license_img":"data:image/jpg;base64,/9j/4AAQSkZJR" |
| legal_national_emblem_identity_img | String | 否 | 法人身份证国徽面 • 提交base64处理后的数据 • 每张图片不大于2M,支持 png,jpg,jpeg 格式 | "legal_national_emblem_identity_img":"data:image/jpg;base64,/9j/4AAQSkZJR" |
| legal_figure_identity_img | String | 否 | 法人身份证人像面 • 提交base64处理后的数据 • 每张图片不大于2M,支持 png,jpg,jpeg 格式 | "legal_figure_identity_img":"data:image/jpg;base64,/9j/4AAQSkZJR" |
| agent_authorization_letter_img | String | 否 | 经办人授权书 • 经办人类型为经办人时需上传 • 提交base64处理后的数据 • 每张图片不大于2M,支持 png,jpg,jpeg 格式 | "agent_authorization_letter_img":"data:image/jpg;base64,/9j/4AAQSkZJR" |
| figure_identity_img | String | 否 | 经办人身份证人像面 • 经办人类型为经办人时需上传 • 提交base64处理后的数据 • 每张图片不大于2M,支持 png,jpg,jpeg 格式 | "figure_identity_img":"data:image/jpg;base64,/9j/4AAQSkZJR" |
| national_emblem_identity_img | String | 否 | 经办人身份证国徽面 • 经办人类型为经办人时需上传 • 提交base64处理后的数据 • 每张图片不大于2M,支持 png,jpg,jpeg 格式 | "national_emblem_identity_img":"data:image/jpg;base64,/9j/4AAQSkZJR" |
| identity_office_photo_img | String | 否 | 经办人办公场景照片 • 提交base64处理后的数据 • 每张图片不大于2M,支持 png,jpg,jpeg 格式 | "identity_office_photo_img":"data:image/jpg;base64,/9j/4AAQSkZJR" |
| contract_other_file | String[] | 否 | 终端合同照片 • 提交base64处理后的数据 • 每张图片不大于2M,支持 png,jpg,jpeg,pdf 格式 • 最多20张 • 当 end_type=2 时必填 | "contract_other_file":["data:image/jpg;base64,/9j/4AAQSkZJR"] |
| identity_type | String | 否 | 经办人类型 • 1=法人;2=经办人,默认 2 | "identity_type":"2" |
| remark | String | 否 | 备注 | "remark":"备注" |
3.3 请求示例
username=17321332052×tamp=1659583889&signature=f3ecceccfb68922930e3f139b599477e&api_name=N123456&end_customer_id=10086&phone_num=13900139000&remark=变更经办人手机号
3.4 响应参数
| 参数名 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| code | String | - | 000000 代表成功,其他代表失败,会有 message 错误信息返回 |
| status | String | - | 状态说明 success:成功,error:失败 |
| msg | String | - | 提示信息(Unicode字符编码,需自行解码为中文) |
返回数据示例(JSON):
{ "code": "000000", "msg": "深度接口编辑终端资质成功", "status": "success" }
4. 资质变更查询
【⚠️重要更新】:返回变更时间、操作账号、变更内容、变更审核状态、变更前/后内容
4.1 请求地址
- 请求方式:post
- Content-Type:application/x-www-form-urlencoded
- 请求地址:
https://api.chuanglan.com/api/apis/v1/qualification/change-log/list
4.2 请求参数
| 参数名称 | 类型 | 是否必传 | 描述 | 示例 |
|---|---|---|---|---|
| username | String | 是 | 深度接口账号名 • 请联系创蓝商务提供 | "username":"13899999999" |
| timestamp | String | 是 | 时间戳 • 10位时间戳 • 时间戳1分钟过期 | "timestamp":"1755068823" |
| signature | String | 是 | 验签 • 标准的 MD5 加密(32 位小写值) • 加密规则:signature=md5(username+password+timestamp),无需+号,直接按照顺序拼接3个值进行MD5。双方进行校验。 | "signature":"e10adc3949ba59abbe56e057f20f883e" |
| api_name | String | 是 | 发短信的API账号 • 请填写对应的API账号 • 注:原sub_id和appid升级版参数,现在直接传对应的API账号值即可 | "api_name":"N617810_N7533106" |
| end_customer_id | Long | 是 | 终端资质 ID | "end_customer_id":123456 |
| start | String | 否 | 页码 • 默认 1 | "start":"1" |
| length | String | 否 | 每页条数 • 默认 10,最大 100 | "length":"10" |
4.3 请求示例
username=17321332052×tamp=1659583889&signature=f3ecceccfb68922930e3f139b599477e&api_name=N123456&end_customer_id=123456&start=1&length=10
4.4 响应参数
| 参数名 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| code | String | - | 000000 代表成功,其他代表失败,会有 message 错误信息返回 |
| status | String | - | 状态说明 success:成功,error:失败 |
| msg | String | - | 提示信息(Unicode字符编码,需自行解码为中文) |
| data | object | 返回数据 | |
| -total | Integer | 返回分页总数量 | |
| -list | object [] | 变更记录列表 | |
| --id | Long | 变更记录 ID | |
| --old_info | object | 变更前资质快照(结构同下方 old_info/new_info 字段说明) | |
| --new_info | object | 变更后资质快照(结构同下方 old_info/new_info 字段说明) | |
| --create_time | String | 提交时间 | |
| --apply_user | String | 申请人 | |
| --audit_opinion | String | 审核意见 | |
| --change_type | String | 变更类型:经办人/法人/合同/公司,多种以"-"拼接 | |
| --audit_status | String | 审核状态:1=待审,2=过审,3=驳回 |
old_info / new_info 字段说明:
| 参数名 | 类型 | 描述 |
|---|---|---|
| enterprise_name | String | 企业名称 |
| unified_social_credit_code | String | 统一社会信用代码 |
| attention_id_card | String | 经办人身份证号 |
| attention_line | String | 经办人姓名 |
| legal_name | String | 法人姓名 |
| phone_num | String | 经办人手机号 |
| agent_authorization_letter_url | String | 经办人授权书 |
| business_license_url | String | 签名实名营业执照 |
| national_emblem_identity_url | String | 经办人身份证国徽面 |
| figure_identity_url | String | 经办人身份证人像面 |
| legal_national_emblem_identity_url | String | 法人身份证国徽面 |
| legal_figure_identity_url | String | 法人身份证人像面 |
| identity_office_photo_url | String | 经办人办公场景照片 |
| contract_other_preview_url | List<String> | 合同材料 |
| end_customer_id | String | 终端客户id |
| identity_type | String | 经办人类型,1法人,2经办人 |
| end_type | String | 终端类型:1.自用(直客),2:他用(终端客户) |
| one_to_many_flag | String | 是否一人多企,0-否, 1-是 |
| remark | String | 备注 |
返回数据示例(JSON)
{ "code": "000000", "status": "success", "msg": "成功", "data": { "total": 1, "list": [ { "id": 8801, "old_info": { "enterprise_name": "测试企业有限公司", "legal_name": "李四" }, "new_info": { "enterprise_name": "测试企业有限公司", "legal_name": "王五" }, "create_time": "2026-08-05 14:30:21", "apply_user": "jiangbo", "audit_opinion": "审核通过", "change_type": "法人", "audit_status": "2" } ] } }
5. 删除资质
5.1 请求地址
- 请求方式:post
- Content-Type:application/x-www-form-urlencoded
- 请求地址:
https://api.chuanglan.com/api/apis/v1/qualification/del
5.2 请求参数
| 参数名称 | 类型 | 是否必传 | 描述 | 示例 |
|---|---|---|---|---|
| username | String | 是 | 深度接口账号名 • 请联系创蓝商务提供 | "username":"13899999999" |
| timestamp | String | 是 | 时间戳 • 10位时间戳 • 时间戳1分钟过期 | "timestamp":"1755068823" |
| signature | String | 是 | 验签 • 标准的 MD5 加密(32 位小写值) • 加密规则:signature=md5(username+password+timestamp),无需+号,直接按照顺序拼接3个值进行MD5。双方进行校验。 | "signature":"e10adc3949ba59abbe56e057f20f883e" |
| api_name | String | 是 | 发短信的API账号 • 请填写对应的API账号 • 注:原sub_id和appid升级版参数,现在直接传对应的API账号值即可 | "api_name":"N617810_N7533106" |
| end_customer_id | Long | 是 | 终端资质 ID | "end_customer_id":111111 |
5.3 请求示例
username=17321332052×tamp=1659583889&signature=f3ecceccfb68922930e3f139b599477e&api_name=N123456
5.4 响应参数
| 参数名 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| code | String | - | 000000 代表成功,其他代表失败,会有 message 错误信息返回 |
| status | String | - | 状态说明 success:成功,error:失败 |
| msg | String | - | 提示信息(Unicode字符编码,需自行解码为中文) |
返回数据示例(JSON):
{ "code": "000000", "msg": "深度接口删除终端资质成功", "status": "success" }
这篇文档对您有帮助吗?




