Complete REST API documentation for all 13 products. Works with any programming language.
https://api.smsly.cloud/v1Required headers for all requests:
Choose your language. Languages without official SDK use raw HTTP.
# Authentication with dual keys
curl -X POST https://api.smsly.cloud/v1/sms/otp \
-H "X-Smsly-Key-Id: YOUR_API_KEY" \
-H "X-SMSLY-SDK-KEY: YOUR_SDK_KEY" \
-H "X-Smsly-Timestamp: $(date +%s)" \
-H "X-Smsly-Nonce: $(uuidgen)" \
-H "X-Smsly-Signature: HMAC_SHA256_SIGNATURE" \
-H "Content-Type: application/json" \
-d '{"to": "+1234567890", "code": "123456"}'No Official SDK: cURL doesn't have an official SDK yet. Use raw HTTP requests as shown above. Request SDK →
/v1/sms/otpSend OTP via SMS/v1/sms/marketingSend marketing SMS/v1/sms/transactionalSend transactional SMS/v1/sms/customSend custom type SMS/v1/sms/bulkSend bulk SMS/v1/whatsapp/otpSend OTP via WhatsApp/v1/whatsapp/templateSend template message/v1/whatsapp/mediaSend media message/v1/voice/otpVoice OTP call/v1/voice/callInitiate voice call/v1/voice/ttsText-to-speech call/v1/email/otpSend OTP via email/v1/email/transactionalSend transactional email/v1/email/marketingSend marketing email/v1/verify/startStart verification/v1/verify/checkCheck verification code/v1/numbersList your numbers/v1/numbers/buyPurchase a number/v1/numbers/:idRelease a number/v1/keys/generateGenerate key pair/v1/keys/activateActivate setup keys/v1/keys/rotate-sdkRotate SDK keyDetailed API docs for each product
Global SMS messaging
View docsMultimedia messaging
View docsRich Communication Services
View docsWhatsApp Business API
View docsVoice calls & IVR
View docsVideo conferencing
View docsTransactional email
View docsMulti-channel verification
View docsPhone number management
View docsNumber validation
View docsBulk messaging
View docsReal-time support
View docsAI-powered features
View docs{
"success": true,
"data": {
"message_id": "msg_abc123",
"to": "+1234567890",
"status": "delivered"
},
"meta": {
"request_id": "req_xyz789",
"credits_used": 1
}
}{
"success": false,
"error": {
"code": "INVALID_PHONE",
"message": "Phone number is not valid",
"details": {
"phone": "+1234567890"
}
},
"meta": {
"request_id": "req_xyz789"
}
}