Get a Free Demo Message
Test SMSMedia sample delivery for SMS, RCS, WhatsApp, voice, or email. Enter your destination, complete the captcha, accept TnC, and send a configured sample.
Send Sample / Demo Message
API keys and template identifiers are loaded from app settings and never exposed to the browser.
Click to check API response time.
Mobile samples
Email sample
How this demo works
- Each sample request is sent through a server-side endpoint so API keys stay private.
- Mobile samples can send text SMS, RCS, WhatsApp, or voice based on the selected button.
- Email samples use the configured email sample endpoint and API key.
- The API health button checks the configured health endpoint and displays response time.
API Endpoints and Parameters
Use these examples for direct API integration. Replace placeholders with your approved API key, sender, template, and destination values.
GET
Send Text SMS
https://smsmediaapi.patronservices.in/api/sms/send-sms-api?apikey=YOUR_API_KEY&senderid=PATSER&mobile=9876543210&smstext=Your%20message&nonenglish=false&flash=false&serviceid=6&peid=YOUR_PE_ID&templateid=YOUR_TEMPLATE_ID
- apikey
- Your SMSMedia API key.
- senderid
- Approved SMS sender ID.
- mobile
- 10 digit recipient mobile number.
- smstext
- URL encoded SMS content.
- nonenglish, flash, serviceid
- Message language/flash flags and configured SMS service ID.
- peid, templateid
- DLT PE ID and approved SMS template ID.
GET
Send RCS
https://smsmediaapi.patronservices.in/api/rcs-outbox/send-message-api?apikey=YOUR_API_KEY&mobile=9876543210&templatename=YOUR_TEMPLATE_NAME
- apikey
- Your SMSMedia API key.
- mobile
- 10 digit mobile number. Multiple numbers can be comma-separated.
- templatename
- Approved RCS template name configured for your account.
GET
Send WhatsApp Template
https://smsmediaapi.patronservices.in/api/whatsapp-cloud-api/send-message-api?apikey=YOUR_API_KEY&mobile=9876543210&templatename=YOUR_TEMPLATE_NAME&mediatype=none¶m1=VALUE1¶m2=VALUE2
- apikey
- Your WhatsApp API key.
- mobile
- 10 digit recipient mobile number.
- templatename
- Approved WhatsApp template name.
- mediatype, mediaid
- Optional media type and media ID when sending media templates.
- param1 to param8
- Optional template body/header parameter values.
GET
Send Voice Message
https://smsmediaapi.patronservices.in/api/voice/send-voice-api?apikey=YOUR_API_KEY&senderid=9304815125&mobiles=9876543210&voicetext=Your%20voice%20message&noOfRetry=1&intervalForRetry=5&serviceid=7
- apikey
- Your SMSMedia API key.
- senderid
- Approved voice caller/sender ID.
- mobiles
- 10 digit mobile number. Multiple numbers can be comma-separated.
- voiceurl or voicetext
- Provide either an audio file URL or text to convert/send as voice.
- noOfRetry, intervalForRetry, serviceid
- Retry count, retry interval in minutes, and configured voice service ID.
- collectdtmf, collectdtmfpauseinsec
- Optional DTMF collection settings when required.
GET
Send Email
https://smsmediaapi.patronservices.in/api/email/send-email-api?apikey=YOUR_API_KEY&emailids=user@example.com&emailbody=Your%20email%20body&emailsubject=Your%20subject&serviceid=10
- apikey
- Your SMSMedia API key.
- emailids
- Recipient email address. Multiple email IDs can be comma-separated.
- emailbody
- URL encoded email body.
- emailsubject
- URL encoded email subject.
- serviceid
- Configured email service ID.
GET
API Health
https://smsmediaapi.patronservices.in/api/health
- No parameters
- Returns current API health status and timestamp. Use it to check API availability and response time.