Home SMS OTP Pricing Blog Business Use Cases Industry Solutions User Guide Log in Get started

API Documentation

REST API. JSON in, JSON out. No SDKs required.

Base URL

https://api.bremlio.com

All requests require the X-Api-Key header.

Endpoints

Send SMS
POST /v1/messages { "to": "+447700900123", "message": "Your order is confirmed." } → { "success": true, "message_id": "a1b2c3d4-...", "provider_message_id": "...", "status": "accepted", "segments": 1, "credits_remaining": 94 }
Send OTP
POST /v1/otp/send { "to": "+447700900123" } → { "verification_id": "ver_a1b2c3", "test_mode": false, "note": "Code sent by SMS." }
Verify OTP
POST /v1/otp/verify { "verification_id": "ver_a1b2c3", "code": "482916" } → { "verified": true }
Bulk SMS
POST /v1/messages/bulk { "messages": [ { "to": "+447700900123", "message": "Hello" }, { "to": "+447700900456", "message": "Hi" } ] } → { "success": true, "sent": 2 }
Check Balance
GET /v1/balance → { "credits": 487, "email": "you@company.co.uk", "company": "Your Company Ltd", "low_credit": false, "kyc_status": "approved" }
Message History
GET /v1/messages/history → { "messages": [ { "message_id": "a1b2c3d4-...", "to": "+4477***", "status": "accepted", "segments": 1, "created_at": "2026-10-27T10:04:00Z" } ] }

Quick Start

cURL example
curl -X POST https://api.bremlio.com/v1/messages \ -H "X-Api-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"to": "+447700900123", "message": "Hello from Bremlio!"}'
Node.js
const res = await fetch('https://api.bremlio.com/v1/messages', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Api-Key': process.env.BREMLIO_API_KEY }, body: JSON.stringify({ to: '+447700900123', message: 'Hello from Bremlio!' }) }); const data = await res.json();
Python
import requests r = requests.post('https://api.bremlio.com/v1/messages', headers={'X-Api-Key': 'YOUR_API_KEY'}, json={'to': '+447700900123', 'message': 'Hello from Bremlio!'}) print(r.json())

Try it live

Sign up for a free API key and send your first message from the dashboard in under a minute.

Get your API key