Автомат routing, 6 оронтой OTP код. Таны app-д баталгаажуулалт нэмэхэд 5 минут хангалттай.
// 1. OTP код илгээх const response = await fetch("https://api.gecloud.mn/v1/verify/send", { method: "POST", headers: { "X-API-Key": "clk_live_xxx" }, body: JSON.stringify({ to: "xxxxxxxx", channel: "sms" }) }); // 2. Хэрэглэгчийн оруулсан кодыг шалгах const check = await fetch("https://api.gecloud.mn/v1/verify/check", { method: "POST", headers: { "X-API-Key": "clk_live_xxx" }, body: JSON.stringify({ request_id: "clv_abc...", code: "482916" }) }); // → { status: "approved" } ✅
3 алхамд бүх зүйл дуусна
Таны app-д хэрэгтэй бүх зүйл
8 хэлний жишээ — аль ч stack дээр ажилладаг
const res = await fetch("https://api.gecloud.mn/v1/verify/send", {
method: "POST",
headers: {
"X-API-Key": "clk_live_xxx",
"Content-Type": "application/json"
},
body: JSON.stringify({ to: "xxxxxxxx", channel: "sms" })
});
const { request_id } = await res.json();import requests
resp = requests.post(
"https://api.gecloud.mn/v1/verify/send",
headers={"X-API-Key": "clk_live_xxx"},
json={"to": "xxxxxxxx", "channel": "sms"}
)
request_id = resp.json()["request_id"]$response = Http::withHeaders([
'X-API-Key' => 'clk_live_xxx'
])->post('https://api.gecloud.mn/v1/verify/send', [
'to' => 'xxxxxxxx',
'channel' => 'sms'
]);
$requestId = $response->json()['request_id'];body := strings.NewReader(`{"to":"xxxxxxxx","channel":"sms"}`)
req, _ := http.NewRequest("POST",
"https://api.gecloud.mn/v1/verify/send", body)
req.Header.Set("X-API-Key", "clk_live_xxx")
req.Header.Set("Content-Type", "application/json")
resp, _ := http.DefaultClient.Do(req)HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.gecloud.mn/v1/verify/send"))
.header("X-API-Key", "clk_live_xxx")
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString(
"{"to":"xxxxxxxx","channel":"sms"}"))
.build();
HttpResponse<String> resp = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());curl -X POST https://api.gecloud.mn/v1/verify/send -H "X-API-Key: clk_live_xxx" -H "Content-Type: application/json" -d '{"to": "xxxxxxxx", "channel": "sms"}'Хэрэглэсэн хэмжээгээр төлнө. Хамгийн багадаа ₮5,000
Бүртгүүлж, API key авч, шууд ашиглана
Бүртгүүлэх →