Quick links

Long-term SMS
Balance
My Account
Important articles

Official SMSPool SDKs

The fastest way to integrate SMSPool's SMS verification API is with one of our official SDKs. They are available for seven languages, cover every endpoint in the API reference, and are generated from the same OpenAPI specification that powers it. The SDKs are checked against the API every week, so new endpoints and parameters reach them quickly.

Official SDKs

All official SDKs are open source under the MIT license and maintained by SMSPool.

LanguageInstallSource
Pythonpip install smspool-sdksmspool-python
JavaScript / TypeScriptnpm install @smspool/sdksmspool-js
PHPcomposer require smspool/smspool-phpsmspool-php
Gogo get github.com/smspool/smspool-gosmspool-go
.NET (C#)dotnet add package SMSPoolsmspool-dotnet
Javaio.github.smspool:smspool-sdk (Maven Central)smspool-java
Rubygem install smspoolsmspool-ruby

For Java, add this to your pom.xml:

<dependency>
  <groupId>io.github.smspool</groupId>
  <artifactId>smspool-sdk</artifactId>
  <version>0.1.3</version>
</dependency>

Quick start

Find your API key on your settings page. This Python example checks your balance and orders a number; each repository's README has the same example for its language.

import smspool_sdk

config = smspool_sdk.Configuration(access_token="YOUR_API_KEY")
with smspool_sdk.ApiClient(config) as client:
    print(smspool_sdk.InformationApi(client).request_balance())
    order = smspool_sdk.SMSApi(client).purchase_sms(country="US", service="1")
    print(order)

Every endpoint is a method named after its path. For example, /sms/check becomes sms_check() in Python and smsCheck() in JavaScript. Responses are returned exactly as the API sends them, so check the success field: a refused request often still returns HTTP 200 with "success": 0 and a message.

Prefer to call the API directly?

The API reference documents every endpoint with parameters and example responses, and lets you send test requests from your browser. The raw OpenAPI specification is at api.smspool.net/openapi.json if you want to generate a client for another language.

Return to knowledgebase

About the author

Other interesting articles

Tips for getting your SMS verifications

If you fail to get a successful SMS verification, this guide is for you. SMSPool helps you make sure you get your SMS verification.

  • By Admin
  • December 26, 2021

How to setup webhooks for SMSPool

Set up your webhook for SMSPool, which works for Slack, Discord, and custom endpoints.

  • By Admin
  • April 6, 2025

How to report a security issue

How to report a security issue to SMSPool

  • By Admin
  • July 12, 2025

Register User Interviews without a number

Step-by-step guide to registering on User Interviews with a virtual phone number. Securely complete SMS verification without sharing your personal phone number.

  • By Admin
  • February 1, 2026

Multilogin Cloud Phone: Honest Review

Multilogin cloud phones reviewed: isolated Android environments, built-in proxies and persistent sessions. See how it pairs with SMSPool for SMS verification.

  • By Admin
  • May 27, 2026

How To Get a Philippines Phone Number

Get a Philippines phone number using the SMSPool service.

  • By Admin
  • May 27, 2024

How to create a Battle.net account

This guide shows you how to create a Battle.net account with our Battle.net SMS verification service.

  • By Admin
  • May 16, 2024
Notifications
New notifications - Mark all as read
Preferences
Color mode
Audio mode
Prompts