Programmable voice calls, OTP, TTS, and IVR systems
Global voice network
Secure verification
Interactive flows
Worldwide coverage
X-Smsly-Key-Id: sk_live_xxxX-SMSLY-SDK-KEY: sdk_live_xxxfrom smsly import SMSly
# Initialize with dual keys
client = SMSly(
api_key="sk_live_xxx",
sdk_key="sdk_live_xxx"
)
# Voice OTP call
response = client.voice.otp("+1234567890", "123456")
print(f"Call ID: {response.call_id}")
# Text-to-speech call
client.voice.tts(
"+1234567890",
"Hello! Your appointment is confirmed for tomorrow at 3pm."
)/v1/voice/otpVoice OTP call/v1/voice/callInitiate voice call/v1/voice/ttsText-to-speech call/v1/voice/ivrCreate IVR flow/v1/voice/conferenceStart conference/v1/voice/:idGet call status/v1/voice/:id/hangupEnd call