SMSBOX REST API
Cloud-based SaaS platform for SMS, WhatsApp, OTP verification and voice messages. Integrate it into your software with simple HTTP JSON calls. Direct Belgian routing for maximum delivery speed — including bulk SMS campaigns.
Start in 2 minutes
No complex setup, no credit card required. Three steps and you send your first SMS through the API.
Create a free account
Register on smsbox.be and get immediate access to the dashboard and your API key.
Copy your API key
Go to Settings → API and copy your personal key. Ready for authentication.
Send your first SMS
One API call and your message is on its way. Direct Belgian routing for fast delivery.
# Verstuur uw eerste SMS in één call (kopieer en plak in één regel) curl -X POST https://core.smsbox.be/api/v2/message/send -H "Content-Type: application/json" -H "X-Api-Key: JOUW_API_KEY" -d '{"mobile":"32496123456","message":"Hallo vanuit SMSBOX!"}' # Response: {"code":100,"data":[...]} https://core.smsbox.be/api Authentication via the X-Api-Key header Cloud-based REST API for SMS & messaging
SMSBOX is a SaaS platform built for developers who want to integrate SMS and messaging services. Ideal for bulk SMS campaigns with a high delivery guarantee, OTP verification, transactional notifications and two-way communication. Direct Belgian operator connections deliver faster than foreign gateways.
Sending SMS & bulk campaigns
Send single messages or bulk SMS campaigns to 200+ countries. High delivery guarantee thanks to direct Belgian routing. Support for long SMS, scheduled sending and delivery reports via webhook.
WhatsApp Business
Send WhatsApp messages through the same API. Templates, free text and media messages to your customers.
OTP verification
Send one-time verification codes by SMS. Priority routes guarantee delivery within seconds. Ideal for two-factor authentication and account confirmation.
HLR lookup
Validate mobile numbers in real time. Check whether a number is active and which network it is registered on.
Receiving messages
Retrieve incoming and outgoing messages. Filter by channel, number or date range. Webhooks for real-time notifications.
Voice / Text-to-Speech
Send voice messages to landline and mobile numbers via text-to-speech. Ideal for urgent alerts and crisis communication.
Official PHP SDK
Use our PHP SDK to integrate even faster. Install it via Composer and send your first SMS in fewer than 5 lines of code.
jaanbv/sms-php-api
The official PHP SDK for the SMSBOX API. Send SMS messages, voice messages (TTS), OTP verifications, HLR lookups and check your balance from your PHP applications. Requires PHP 7.4+.
composer require jaanbv/sms-php-api Shortcuts
The most used endpoints to get started with right away.
Get started right away
Send an SMS in a few lines of code. Choose your programming language.
// Installeer via Composer: composer require jaanbv/sms-php-api use JaanBV\SmsBox\SmsBox; $api = new SmsBox('JOUW_API_KEY'); // SMS versturen $result = $api->sendSms( ['32470123456'], 'Hallo vanuit SMSBOX!' ); // Saldo opvragen $balance = $api->getBalance(); // Nummer validatie (HLR) $valid = $api->isValidPhoneNumber('32470123456'); // OTP versturen & verifiëren $api->sendSmsWithOneTimePassword(['32470123456']); $api->verifyOneTimePasswordCode('123456'); // Voice bericht (text-to-speech) $api->sendSms( ['32470123456'], 'Uw verificatiecode is 4 8 1 5', true, null, true, SmsBox::TEXT_TO_SPEECH_NL );
curl -X POST https://core.smsbox.be/api/v2/message/send \ -H "Content-Type: application/json" \ -H "X-Api-Key: JOUW_API_KEY" \ -d '{ "mobile": "32470123456", "message": "Hallo vanuit SMSBOX!" }'
# SMS versturen via SMSBOX REST API import requests response = requests.post( 'https://core.smsbox.be/api/v2/message/send', headers={ 'X-Api-Key': 'JOUW_API_KEY', 'Content-Type': 'application/json', }, json={ 'mobile': '32470123456', 'message': 'Hallo vanuit SMSBOX!', } ) print(response.json()) # {'code': 100, 'data': [...]}
// SMS versturen via SMSBOX REST API const response = await fetch('https://core.smsbox.be/api/v2/message/send', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Api-Key': 'JOUW_API_KEY', }, body: JSON.stringify({ mobile: '32470123456', message: 'Hallo vanuit SMSBOX!', }), }); const data = await response.json(); console.log(data); // {code: 100, data: [...]}
Ready to integrate?
Explore the full REST API documentation with all endpoints, parameters and response codes. Free account — no credit card required.