1. Sms
N6G-Pro
  • SmsTemplate
    • Mt(single)
      POST
    • Mts(batch)
      POST
    • MtsVar(batch var)
      POST
    • Create(new template)
      POST
    • List(query template)
      POST
    • Delete(remove template)
      POST
  • MmsTemplate
    • Mt(single)
      POST
    • Mts(batch)
      POST
    • MtsVar(batch var)
      POST
    • Create(new template)
      POST
    • List(query template)
      POST
    • Delete(remove template)
      POST
  • Sms
    • Mt(single)
      POST
    • Mts(batch)
      POST
    • MtsVar(batch var)
      POST
  • AdminApi
    • Channel List
      POST
    • Gateway List
      POST
    • Agent List
      POST
    • Company List
      POST
    • User List
      POST
    • User Set Channel
      POST
    • Price User List
      POST
    • Price Gateway List
      POST
    • Price Agent List
      POST
  • Rpt(pull Rpt)
    POST
  • Mo(pull mo)
    POST
  • Balance(query balance)
    POST
  • St(statistics)
    POST
  • 数据模型
    • M_HTTPAPI_MTS_VAR_REQUEST_DATA
  1. Sms

Mts(batch)

开发中
POST
/Api/Sms/Mts

请求参数

Header 参数

Body 参数application/json

示例
{
    "account": "960003",
    "sign": "{{sign}}",
    "requestid": "{{requestid}}",
    "timestamp": {
        {timestamp
        }
    },
    "pn": "8613900000001,8613900000002,8613900000003",
    "msg": "Hello, these are 3 constant test messages. To unsubscribe, please reply with STOP.",
    "custom_mid": "95",
    "custom_help": "ut",
    "senderid": "sid_mts",
    "schedule": ""
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/Api/Sms/Mts' \
--header 'Content-Type: application/json' \
--data-raw '{
    "account": "960003",
    "sign": "{{sign}}",
    "requestid": "{{requestid}}",
    "timestamp": {
        {timestamp
        }
    },
    "pn": "8613900000001,8613900000002,8613900000003",
    "msg": "Hello, these are 3 constant test messages. To unsubscribe, please reply with STOP.",
    "custom_mid": "95",
    "custom_help": "ut",
    "senderid": "sid_mts",
    "schedule": ""
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "rt": "20260105134711",
    "code": 0,
    "code_msg": "SUCCEED",
    "bid": "260105134715470796",
    "custom_mid": "95",
    "custom_help": "ut",
    "mids": [
        {
            "pn": "8613900000001",
            "mid": "260105134715470797",
            "custom_mid": "95",
            "custom_help": "ut"
        },
        {
            "pn": "8613900000002",
            "mid": "260105134715470798",
            "custom_mid": "95",
            "custom_help": "ut"
        },
        {
            "pn": "8613900000003",
            "mid": "260105134715470799",
            "custom_mid": "95",
            "custom_help": "ut"
        }
    ]
}
修改于 2026-01-05 05:48:15
上一页
Mt(single)
下一页
MtsVar(batch var)
Built with