Getting started
Point your SMS provider’s base URL at smsyra in staging or CI, and use an smsyra API key (it starts with smy_) where your provider’s key goes. smsyra answers in that provider’s own shape, keeps the text in your inbox, checks it against your DLT templates — and never sends it.
- Create a free workspace, then an API key on its API keys page. The key is shown once.
- Add your DLT templates: import your DLT portal’s export, or paste them one by one.
- In staging, swap your provider’s URL for the smsyra one below, and its key for your smsyra key.
- Send a text as usual. It appears in the inbox at once, Matched or Mismatched — with the first character that differs.
- In end-to-end tests, read the code with the OTP API.
smsyra is for testing only: nothing is delivered to anyone, so never point production traffic at it.
Guides by provider
- AmazeSMSThe GET /api/sms gateway: key, to, from, body and the DLT ids as parameters.GET or POST /p/amazesms/api/sms
- MSG91 (Flow v5)Flow API v5 (template id + variables), and the older sendhttp.php.POST /p/msg91/api/v5/flow
- Fast2SMSbulkV2 with the dlt, dlt_manual, otp and q routes.GET or POST /p/fast2sms/dev/bulkV2
- TwilioThe Messages resource, with HTTP Basic auth.POST /p/twilio/2010-04-01/Accounts/{sid}/Messages.json
- ExotelSend SMS (v1), JSON with .json or XML without it.POST /p/exotel/v1/Accounts/{sid}/Sms/send.json
- smsyra JSONOur own JSON endpoint, for code you write yourself.POST /v1/messages
All base URLs
| Provider | smsyra URL | Your key goes in |
|---|---|---|
| AmazeSMS | https://api.shriradhatechnologies.com/p/amazesms/api/sms | the key parameter |
| MSG91 (Flow v5) | https://api.shriradhatechnologies.com/p/msg91/api/v5/flow | the authkey header |
| Fast2SMS | https://api.shriradhatechnologies.com/p/fast2sms/dev/bulkV2 | the authorization header |
| Twilio | https://api.shriradhatechnologies.com/p/twilio/2010-04-01/Accounts/YOUR_ACCOUNT_SID/Messages.json | the Basic-auth password (your account SID as the user) |
| Exotel | https://api.shriradhatechnologies.com/p/exotel/v1/Accounts/YOUR_ACCOUNT_SID/Sms/send.json | the Basic-auth password |
| smsyra JSON | https://api.shriradhatechnologies.com/v1/messages | Authorization: Bearer smy_… |
More
- DLT templates — exactly how a text is matched, and what smsyra reports.
- Failure modes — make a key answer with your provider’s errors, an outage or a slow answer.
- OTP API — read codes in tests without a phone.