Libraries background image


Explore our SMS API, see code examples, and program the SMS messaging into any system or application.

Examples of SMS API code

Single delivery
Bulk delivery
Check the number state (HLR)


require_once 'vendor/autoload.php';

use Smsapi\Client\Feature\Sms\Bag\SendSmsBag;
use Smsapi\Client\Feature\Sms\Data\Sms;
use Smsapi\Client\SmsapiHttpClient;

/** @var Sms $sms */
$sms = (new SmsapiHttpClient())
    ->sendSms(SendSmsBag::withMessage('48500000000', 'SMSAPI says hi!'));


SMS API Library in PHP

The PHP library will facilitate the sending of SMS messages, management of the contacts database, and handling of many other SMSAPI features.

SMS API Features

Single SMS

Send a single SMS message using the API

Read more
SMS mass delivery

Send SMS messages to multiple recipients simultaneously

Read more
Message delivery reports

Process the information about the delivery of the sent message

Read more
Receiving SMS

Choose what to do with the SMS that was sent to the number purchased in SMSAPI

Read more
Check the number state

Check whether your number base is up to date using the HLR list

Read more
SMS authentication

Send an SMS with a security code and we will validate it for you

Read more


Hello, it's SMSAPI team! As the name of our company suggests, sending SMS messages over the API in Poland and around the world is our daily business. Explore our documentation, API libraries in different programming languages, sign up and try out sending SMS messages for free to get you started.

Sending the first SMS via API in three steps

  1. Set up a free account in 2 minutes
  2. Configure the API access in the Customer Portal
  3. Try out SMSAPI using trial points

Read more about sending SMS via API

Send SMS with PHP (Library, code examples, open SMS API)

Read article

3 Ways to Send SMS: API, App and Web Portal

Read article

SMS API Essentials – Developer Guide #01

Read article

WhatsApp Business API – what it is, and how to use the new communication channel?

Read article

Create a test account

No obligations, free points, and full support