Get your API + SDK key pair and start sending messages with our type-required SDKs.
SMSLY uses two keys: API Key (for authentication) + SDK Key (for validation). Both are generated together and required for all requests.Learn more →
Sign up for a free account. No credit card required to start.
Generate your API Key + SDK Key pair from the console. Both are required.
Install our SDK (Python, JS, PHP, Go, Java) or use raw HTTP with cURL.
Use type-required methods: sms.otp(), sms.marketing(), etc.
Choose your language. No SDK? Use raw HTTP.
# Install SMSLY SDK
pip install smsly
# Quick start
from smsly import SMSly
# Initialize with dual keys
client = SMSly(
api_key="sk_live_xxx", # or SMSLY_API_KEY env var
sdk_key="sdk_live_xxx" # or SMSLY_SDK_KEY env var
)
# Send OTP (type-required messaging)
response = client.sms.otp("+1234567890", "123456")
print(f"Message ID: {response.message_id}")
# Send marketing SMS with scheduling
client.sms.marketing(
"+1234567890",
"50% off today!",
send_later="tomorrow 9am"
)