Skip to content

查询短链

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

简要描述:

  • 短链接列表

请求方式:

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

参数:

参数名 必选 类型 说明
appkey string 短信应用appkey
secretkey string 短信应用secretkey
url string 长连接(请使用原始长连接)

请求示例:

curl --location --request POST 'http://api.nxcloud.com/api/shortLink/shortLinks' \
--data-urlencode 'appkey=asdf' \
--data-urlencode 'secretkey=qwer' \
--data-urlencode 'url=www.asdfghjklzxcvbnm.com'

返回示例

 {
    "code": "0",
    "row": [
		{"short_link":"http://xxx/xxxxxx"},
		{"short_link":"http://xxx/xxxxx2"}
	]
}

返回参数说明

参数名 类型 说明
code string 结果编码
row array 诸多短链接

备注

错误代码

code 说明
0 请求成功
1 应用不可用或key错误
2 参数错误或为空
3 余额不足
9 IP非法
11 邮箱格式有误
88 请求失败
99 系统错误

简介

短信

语音

云呼叫中心(NXLink)

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

Flash Call

短链

邮件验证码

DID号码

通用

号码检测

WhatsApp

Viber

Zalo ZNS

Super Message API

隐私号(旧)

PNS

坐席(旧版)

AI Agent

Clone this wiki locally