Developer API

Build with ourPowerful API

Integrate SMS verification into your application with just a few lines of code. RESTful API with comprehensive documentation.

example.py
import asyncio
from smsly import AsyncSMSly

async def main():
    # Initialize modern async client
    async with AsyncSMSly(
        api_key="sk_live_your_key",
        sdk_key="sdk_live_your_key"
    ) as client:

        # Send OTP SMS (Type-safe & Async)
        response = await client.sms.otp(
            to="+1234567890",
            code="123456"
        )
        print(f"Message ID: {response.sid}")
        print(f"Status: {response.status}")

        # Send marketing SMS
        await client.sms.send(
            to="+1234567890",
            body="50% off today only!"
        )

        # Send WhatsApp OTP
        wa_response = await client.whatsapp.send(
            to="+1234567890",
            body="Your code is 123456"
        )
        print(f"WhatsApp ID: {wa_response.sid}")

if __name__ == "__main__":
    asyncio.run(main())

Official SDKs

Get started quickly with our language-specific libraries

🐍Python
⚡Node.js
🐘PHP
💎Ruby
🔵Go
☕Java
API Features

Everything You Need to Build

Our API is designed for developers who want to integrate SMS verification quickly and reliably.

Lightning Fast

Get responses in under 100ms with our globally distributed infrastructure.

Secure & Reliable

Enterprise-grade security with 99.9% uptime SLA guarantee.

100+ Countries

Access phone numbers from over 100 countries worldwide.

Real-time Webhooks

Get instant notifications when messages arrive.

Simple Authentication

API key authentication with granular permissions.

SDKs & Libraries

Official SDKs for Python, Node.js, PHP, and more.

REST API

API Endpoints

RESTful endpoints for all your SMS verification needs

POST/v1/messages/sms
Send an SMS message
POST/v1/messages/whatsapp
Send WhatsApp message
POST/v1/verify/otp
Send OTP verification
POST/v1/verify/silent
Silent phone verification
GET/v1/messages/:id
Get message status
GET/v1/messages
List sent messages
POST/v1/voice/call
Initiate voice call
GET/v1/wallet/balance
Get wallet balance

Ready to Integrate?

Get your API key and start building in minutes. Free tier available with generous limits.