<?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);
The PHP library will facilitate the sending of SMS messages, management of the contacts database, and handling of many other SMSAPI features.
Send a single SMS message using the APIRead more
Send SMS messages to multiple recipients simultaneouslyRead more
Process the information about the delivery of the sent messageRead more
Choose what to do with the SMS that was sent to the number purchased in SMSAPIRead more
Check whether your number base is up to date using the HLR listRead more
Send an SMS with a security code and we will validate it for youRead 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.