智慧云信

网页在线发送

网页在线发送功能让您无需任何编程知识,即可快速向全球200+国家发送短信。您可直接输入手机号码、编辑短信内容,一键完成发送,并实时查看发送状态与报告。无需安装、无需配置,注册即用

网页在线发送
import urllib.request
import urllib.parse
url = "https://api.3yit.com/api/send-sms-single"
data = {
'sp_id': '908452',
'mobile': '60xxxx1234',
'content': 'Your verification code is 304231',
'password': 'your_password'
}
# 发送POST请求
data_encoded = urllib.parse.urlencode(data).encode('utf-8')
req = urllib.request.Request(url, data=data_encoded)
response = urllib.request.urlopen(req)
result = response.read().decode('utf-8')
const https = require('https');
const qs = require('querystring');
const data = qs.stringify({
sp_id: '908452',
mobile: '6017xxx1234',
content: 'Your verification code is 304231',
password: 'your_password'
});
const req = https.request({
hostname: 'api.3yit.com',
path: '/api/send-sms-single',
method: 'POST',
headers: {'Content-Type': 'application/x-www-form-urlencoded'}
}, res => {
let response = '';
res.on('data', chunk => response += chunk);
res.on('end', () => console.log(JSON.parse(response)));
});
req.write(data);
req.end();
import java.io.*;
import java.net.*;
public class SimpleSmsSender {
public static void main(String[] args) throws Exception {
String url = "https://api.3yit.com/api/send-sms-single";
String params = "sp_id=908452&mobile=601xxx01234&content=Your verification code is 304231&password=your_password";
URL obj = new URL(url);
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
con.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
con.setDoOutput(true);
DataOutputStream wr = new DataOutputStream(con.getOutputStream());
wr.writeBytes(params);
wr.flush();
wr.close();
BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuilder response = new StringBuilder();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
}
}
using System;
using System.Net.Http;
using System.Collections.Generic;
using System.Threading.Tasks;
class Program
{
static async Task Main()
{
var client = new HttpClient();
var values = new Dictionary
{
{"sp_id", "908452"},
{"mobile", "6017xxx1234"},
{"content", "Your verification code is 304231"},
{"password", "your_password"}
};
var response = await client.PostAsync("https://api.3yit.com/api/send-sms-single",
new FormUrlEncodedContent(values));
var result = await response.Content.ReadAsStringAsync();
Console.WriteLine(result);
}
}
 '908452',
'mobile' => '60172301234',
'content' => 'Your verification code is 304231',
'password' => 'your_password'
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
$result = json_decode($response, true);
echo $result['code'] == 0 ? "发送成功,消息ID: ".$result['msg_id'] : "发送失败: ".$result['msg'];
?>
require 'net/http'
require 'uri'
uri = URI.parse("https://api.3yit.com/api/send-sms-single")
response = Net::HTTP.post_form(uri, {
'sp_id' => '908452',
'mobile' => '6017xxx1234',
'content' => 'Your verification code is 304231',
'password' => 'your_password'
})
puts response.body

API 集成发送

API集成让技术团队轻松将短信功能无缝嵌入现有系统。提供Python、Node.js、Java等多语言SDK和详细文档,您可在30分钟内完成集成,实现自动化批量发送、定时发送和状态回调。

通知短信价格
发送成功才计费,套餐永久有效

免费试用包

  • 包含40条
  • 成功计费,永久有效
  • 比阿*云便宜0元

0元

单价:0.055元/条

青铜包

  • 包含3600条
  • 成功计费,永久有效
  • 比阿*云便宜0元

198元

单价:0.055元/条

白银包

  • 包含6000条
  • 成功计费,永久有效
  • 比阿*云便宜0元

300元

单价:0.05元/条

黄金包

  • 包含22000条
  • 成功计费,永久有效
  • 比阿*云便宜90元

990元

单价:0.045元/条

钻石包

  • 包含75000条
  • 成功计费,永久有效
  • 比阿*云便宜225元

3000元

单价:0.04元/条

铂金包

  • 包含300000条
  • 成功计费,永久有效
  • 比阿*云便宜960元

10800元

单价:0.036元/条

至尊包

  • 包含5000000条
  • 成功计费,永久有效
  • 比阿*云便宜7660元

175000元

单价:0.035元/条

常见问题参考与解答

更多问题可也可在 文档中心 进行查询

短信按照 70 字符为一条计费,当超过 70 字符按照每 67 字符分成多条短信计费,最多支持 1000 字符(不论中英文、标点符号都为 1 个字符计算)。 短信在用户的手机界面上不会被分开,还是显示为一条短信。

短信内容是可以自定义的,无论是营销短信、通知短信、验证码短信,用户都可以自定义。

点击未通过的模板右下角三角形,里面会有模板未通过的原因, 常见原因主要为:营销内容没有加退订、 个人用户提交运营类模板、营销内容包含敏感词不支持该行业营销短信等。

我们通过全 106 短信、与三大运营商实时直连、多通道实时切换等方式保障高到达率。

现在注册, 立即领取20元试用额度