- 请求地址: https://api.aiofish.com/rest/isms/sendIsms
- 请求方式: POST
| 参数名 | 必填 | 参数类型 | 说明 |
| appKey | 是 | String | 系统分配 |
| ts | 是 | String | 时间戳 |
| tplId | 是 | String | 模板ID |
| mobiles | 是 | Array[String] | 手机号码列表,号码需要加国际电话区号 |
| uuid | 否 | String | 用户端消息ID |
| scheduleTime | 否 | String | 定时发送时间,必须大于当前时间。格式:yyyy-MM-dd HH:mm:ss |
curl --request POST 'https://api.aiofish.com/rest/isms/sendIsms' \
--header 'x-sign: 39dd91319d32b36def6272e1b9' \
--header 'Content-Type: application/json' \
--data-raw '{
"appKey": "test11",
"ts": "1638805414651",
"content": "hello! test sms",
"mobiles": [
"86180******43"
]
}'
| 字段名 | 字段类型 | 说明 |
| code | String | 错误码。success:成功,其他失败 |
| msgId | String | 消息ID。后续推送状态报告使用此ID |