forked from nxtele/http-api-document
-
Notifications
You must be signed in to change notification settings - Fork 1
Query Sms Single
dy.Zhuang edited this page Oct 25, 2022
·
1 revision
Brief:
- Query single SMS via
messageid
URL:
http://api2.nxcloud.com/api/sms/get
Http Method:
- POST using http form, please do not using json!!
Parmaeters:
| Name | Required | Type | Memo |
|---|---|---|---|
| appkey | Y | string | SMS app appkey |
| secretkey | Y | string | SMS app secretkey |
| date | Y | string | Date in yyyyMMdd
|
| messageid | Y | string | messageid |
Response Example
{
"code": "0",
"row": {
"billing_size": 1,
"date": "2021-06-28 09:00:00",
"senderid": "666",
"phone": "6288888888888",
"dr_time": "2021-06-28 09:00:00",
"billing_price": 0.0,
"msgid": "xxxxxxxxxxxxxxxxxxxxxxxx",
"billing_status": "否",
"body": "hello, your code is 888888",
"dr_status": "成功",
"dr": "DELIVRD",
"network": "PT TELEKOMUNIKASI SELULAR"
}
}
Reponse parameters
| Name | Type | Memo |
|---|---|---|
| code | string | reponse code |
| senderid | string | senderid / sender / source address |
| body | string | content |
| phone | string | destionation phone number |
| msgid | string | message id |
| dr_status | string | dr code integer |
| billing_size | number | billing isze |
| billing_price | number | billing price for single size |
| date | string | sending date |
| dr_time | string | dr time |
| billing_status | string | billing status |
| network | string | operator info |
| dr | string | dr text |
Memo
- Error code
| code | description |
|---|---|
| 0 | success |
| 1 | params invalid |
| 2 | keys invalid |
| 3 | page_size or page_index invalid |
| 4 | page_size or page_index invalid |
| 5 | api request times invalid |
Introduction
- Send Message
- Mark Incoming Message as Read
- Upload Media File
- Get Media File
- Delete Media File
- Webhook
- Query Number Information
- Query Message Template
- Create Message Template
- Edit Message Template
- Delete Message Template
- Upload Template Example File
- Embedded Page Login
- Create Client Application
- List of Phone Numbers for Client Application
- Get Verification Code
- Verify Verification Code
- Create Local Client
Short message
Voice
Call Center(NXLink)
- Web Iframe
- Manual Dial Record
- Manual Dial Record Query By orderId
- List Agent Information
- List Agent Status
- List Queue
- List Agents In Queue
- List Agent Efficiency
- Update Queue Agents
- Create AutoDial Task
- Webhook - Manual Dial
Call Center(Callbot)
- Callbot API Summary
- Callbot API Authorization
- Callbot API Ping
- Create Auto Dial Task
- Add Contact List To Task
- Create Task And Add Contact
- Start Or Pause Task
- Update Task Parameters
- Get List Task
- List Call
- List Task Orders
- Stop Order
- Get Call Detail By Order
- Webhook - By Call
- Webhook - By Order
- Webhook - Task Status
Flash Call
Short links
邮件验证码
DID号码
通用
号码检测