SMS API

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

Examples of SMS API code

PHP
C#
Bash
Python
JavaScript
Java
GO
Single delivery
Bulk delivery
Check the number state (HLR)
<?php

declare(strict_types=1);

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())
    ->smsapiPlService('%SMSAPI_ACCESS_TOKEN%')
    ->smsFeature()
    ->sendSms(SendSmsBag::withMessage('48500000000', 'SMSAPI says hi!'));

var_dump($sms);
PHP logo

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

About SMSAPI

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

How to create and manage your blacklist API

How to create and manage your blacklist API

Read article
Send and receive SMS API Essentials – Developer Guide #01

Send and receive SMS API Essentials – Developer Guide #01

Read article
Send SMS C# (library, code examples, open SMS API)

Send SMS C# (library, code examples, open SMS API)

Read article
Receiving SMS Online – Developer Guide #02

Receiving SMS Online – Developer Guide #02

Read article

Create a test account

No obligations, free points, and full support

Register