Developer Documentation

Simple API. Fast Integration.

Connect your website, app or automation to Uronto SMS using a simple GET or POST request.

Quick Start

Create an account, generate an API key from your dashboard, then send requests with key, number and msg.

  • GSM: 160 characters = 1 credit, then 153 per segment.
  • Unicode/Bangla: 70 characters = 1 credit, then 67 per segment.
  • Keep your API key private and never expose it in client-side production code.

SMS Endpoint

GET / POST
https://urontosms.hostgi.com/api/sms?key=YOUR_API_KEY&number=01700000000&msg=Hello
ParameterRequiredDescription
keyYesYour generated API key.
numberYesRecipient mobile number.
msgYesSMS message text.

Response

{ "status": "success", "success": true, "message": "SMS sent successfully", "api_owner": "Uronto SMS" }
{ "status": "failed", "success": false, "message": "SMS failed", "api_owner": "Uronto SMS" }

PHP / Laravel

<?php $url = 'https://urontosms.hostgi.com/api/sms?key=YOUR_API_KEY&number=01700000000&msg=' . urlencode('Hello from PHP'); $response = json_decode(file_get_contents($url), true); print_r($response);

Node.js

const url = new URL('https://urontosms.hostgi.com/api/sms'); url.searchParams.set('key', 'YOUR_API_KEY'); url.searchParams.set('number', '01700000000'); url.searchParams.set('msg', 'Hello from Node'); console.log(await (await fetch(url)).json());

Python

import requests print(requests.get('https://urontosms.hostgi.com/api/sms', params={ 'key': 'YOUR_API_KEY', 'number': '01700000000', 'msg': 'Hello from Python' }).json())