SparkTG

发送短信 文档

发送短信

v1.0

发送短信

发送文字短信

消息与验证v1.01 个端点

概述

短信 : POST : /send-sms

认证

基本认证

方法

POST

参数

4 个参数

响应

JSON 格式

可用端点

POST/send-sms

关键参数

number(Integer)

接收短信的号码

message(String)

所需发送的消息内容

service-id(Integer)

服务 ID

country-code(Integer)

接收短信号码的国家/地区代码

快速示例

使用简单的 cURL 命令试用此 API

基础 API 调用
curl -i -u "username:password" "https://telephonycloud.co.in/api/v1/send-sms" -d "number=9999999999&message=hello&service-id=1"
💡 请将 username:password 替换为您的实际凭据

响应预览

此 API 的示例响应

示例响应
0a83b9e6-50b7-48c8-a3c5-2e8f7d60e1ae
在“响应”部分查看完整的响应格式