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\Curl\SmsapiHttpClient;

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

var_dump($sms);
PHP logotype

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.

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

Try for free

No obligations, free points, and full support

Register