Skip to content

已上传录音文件查询

jiang.tao edited this page May 6, 2023 · 2 revisions

简要描述:

  • 对用户提供获取语音文件url

请求方式:

  • URL:http://api.nxcloud.com/api/voiceSms/getUserFileUrl
  • Method:POST
  • Content-Type: application/x-www-form-urlencoded

参数:

参数名 必选 类型 说明
account string 登录用户名
password string 密码
page int 当前页
page_size int 每页显示条数
startTime string 开始时间(yyyy-MM-dd)
endTime string 结束时间(yyyy-MM-dd)
queryName string 查询的文件名

请求示例:

curl --location --request POST 'http://api.nxcloud.com/api/voiceSms/getUserFileUrl' \
--data-urlencode 'account=asdf' \
--data-urlencode 'password=qwer' \
--data-urlencode 'page=1' \
--data-urlencode 'page_size=10'

返回示例

  {
    "code": "success",
    "info": {
        "total": 3,
        "pageSize": 2,
        "page": 1,
        "rows": [
            {
                "gmt_create": "2019-05-28 20:05:32",
                "file_name": "录音 (1).mp3",
                "url": "https://nxcloudhk.oss-cn-hongkong.aliyuncs.com/voice_group/1559045130474.mp3"
            },
            {
                "gmt_create": "2019-05-28 20:04:32",
                "file_name": "录音 (2).mp3",
                "url": "https://nxcloudhk.oss-cn-hongkong.aliyuncs.com/voice_group/1559045070373.mp3"
            }
        ]
    }
  }

返回参数说明

参数名 类型 说明
gmt_create string 该语音文件创建的时间
file_name string 该语音文件的名字
url string 该语音文件的URL地址

备注

失败参数:

	{
		"code": "failed",
		"info": "必填参数请完整填写"
	}
	{
		"code": "failed",
		"info": "请正确填写分页参数"
	}
	{
		"code": "failed",
		"info": "账号或密码有误"
	}

简介

短信

语音

云呼叫中心(NXLink)

云呼叫中心(AI自动外呼)

Flash Call

短链

邮件验证码

DID号码

通用

号码检测

WhatsApp

Viber

Zalo ZNS

Super Message API

隐私号(旧)

PNS

坐席(旧版)

AI Agent

Clone this wiki locally