A few lines of code. Every network.
Connect your website, app, CRM or POS to the Text Origins gateway and send branded SMS, OTPs and alerts automatically.
# Illustrative request. Your endpoint and API key are in your dashboard curl -X POST "$TO_API_ENDPOINT" \ -d "api_key=$TO_API_KEY" \ -d "sender_id=YOURBRAND" \ -d "to=94771234567" \ -d "message=Your OTP is 482913"
// Illustrative request. See your dashboard for exact parameters $payload = [ 'api_key' => getenv('TO_API_KEY'), 'sender_id' => 'YOURBRAND', 'to' => '94771234567', 'message' => 'Your OTP is 482913', ]; $ch = curl_init(getenv('TO_API_ENDPOINT')); curl_setopt_array($ch, [CURLOPT_POST => true, CURLOPT_POSTFIELDS => $payload, CURLOPT_RETURNTRANSFER => true]); echo curl_exec($ch);
// Illustrative request. See your dashboard for exact parameters const res = await fetch(process.env.TO_API_ENDPOINT, { method: "POST", body: new URLSearchParams({ api_key: process.env.TO_API_KEY, sender_id: "YOURBRAND", to: "94771234567", message: "Your OTP is 482913", }), }); console.log(await res.text());
Live in three steps.
- Create your account
Sign up online or through the Text Origins app on Google Play.
- Request your sender ID
Register your brand or company name as the SMS sender.
- Integrate & send
Get your API credentials from the dashboard and send your first message.
Request in. Message out.
Your application sends a request, our gateway routes it directly to the mobile network, and you get a response with the delivery status.
- Your app makes a request
HTTP API call or SMPP bind.
- We receive & route it
Direct to the recipient's network.
- We send a response
Status and message reference.
- Your audience receives it
Under your brand's sender ID.
Built for developers.
HTTP API
Send single or bulk messages from any language.
SMPP
High-throughput connectivity for large volumes.
OTP route
Priority route for time-sensitive codes.
IP-based access
Only your servers can use your account.
Unicode
Sinhala, Tamil and English messages.
Link tracking
See who clicks the links in your SMS.
Free plugins
Business plugins and Mini-POS integration.
Free support
Local help with your integration.
Need the full API reference?
Log in to your dashboard for endpoints, parameters and your API keys, or ask our team for the integration guide.