Integrate SMS verification into your application with just a few lines of code. RESTful API with comprehensive documentation.
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())Get started quickly with our language-specific libraries
Our API is designed for developers who want to integrate SMS verification quickly and reliably.
Get responses in under 100ms with our globally distributed infrastructure.
Enterprise-grade security with 99.9% uptime SLA guarantee.
Access phone numbers from over 100 countries worldwide.
Get instant notifications when messages arrive.
API key authentication with granular permissions.
Official SDKs for Python, Node.js, PHP, and more.
RESTful endpoints for all your SMS verification needs
/v1/messages/sms/v1/messages/whatsapp/v1/verify/otp/v1/verify/silent/v1/messages/:id/v1/messages/v1/voice/call/v1/wallet/balanceGet your API key and start building in minutes. Free tier available with generous limits.