Registry / communication / smsapi-client

smsapi-client

JSON →
library2.9.7pypypiunverified

Official Python client library for the SmsAPI platform, enabling sending SMS, MMS, VMS, and managing phone numbers, contacts, and SMS templates. The current version is 2.9.6, with regular updates following the release cadence of the underlying API.

pip install smsapi-client
INSTALL
IMPORT
SIG · SMSAPI-CLIENT
S
smsapi-client
communicationpythonv2.9.7
Install
2.4s avg
Import
Disk
19MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2.9.7 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 21.3MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.4s · import 0.000s · 22MB
19MB installed
● package 19MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SmsApi
from smsapi import SmsApi
from smsapi.client import SmsApi

Initialize the client with your credentials and send a simple SMS. Both can be passed as arguments or set via environment variables.

from smsapi.client import SmsApi client = SmsApi(username=os.environ.get('SMSAPI_USERNAME', ''), password=os.environ.get('SMSAPI_PASSWORD', '')) result = client.sms.send(to='48123456789', message='Hello from SmsAPI!') print(result)
Debug
Known issues
gotchaThe SmsApi constructor requires both username and password; these are not API tokens. Do not confuse with the API token authentication used in other SMS API libraries.
fix
Use your SmsAPI account username and password (or API password) – not an API token directly.
affects: all
gotchaAfter sending a message, the response object's properties (e.g., .id, .points, .status) are only available if the send was successful. Accessing them on failure may raise AttributeError.
fix
Always check the response's error attribute or catch exceptions before accessing result properties.
affects: all
deprecatedPython 2 support is deprecated; the library may be removed in future versions.
fix
Upgrade to Python 3.6+ and use the latest version of the library.
affects: 2.9.x
Upgrade
Version history
2.9.7latest on PyPI · released May 14, 2026
Audit
Dependencies
requestsrequiredHTTP client for API calls
sixoptionalPython 2/3 compatibility
Agent activity
31 hits · last 30 days
node
26
OpenAI (training)
1
Resources
smsapi-client — pip install smsapi-client · libregistry