| USe of API to send SMS via MMSC |
|
NowSMS Support Forums ⬆ NowSMS NextGen Support ⬆ |
◄ ► |
| Author | Message | |||
| marc bazimon Frequent Contributor Username: Marc_orange Post Number: 146 Registered: 01-2007 |
Hi Nowsms support , Hope you all the best for 2026 , it had been Three months that we did migrate from windows to nextgen server , and it is perfect , EOY traffic had been carryed correctly and on my opinion the user feeling is better. except for the user provisioning with command that doesn t exist already , but we had a workaround ( forceroutingcalback ) We wanted to use our mmsc to send alerting sms, and i saw in the documentation that this is possible https://nowsms.com/nowsms-nextgen-for-linux-and-mac is there any documentation regarding this use of API to send sms through MMSC ? or i did have an hallucination ^^ thanks beforehand for your feedback , Br Marc | |||
| Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 8598 Registered: 10-2002 |
The easiest interface is URL parameters ... https://nowsms.com/doc/submitting-sms-messages/sending-sms-text-messages URL parameters can be submitted using either GET or POST. Also see: https://nowsms.com/doc/submitting-sms-messages/url-parameters The same named URL parameters can be encoded as XML or JSON elements. JSON and XML are detected only if an appropriate content-type header is present (Content-Type: application/json or application/xml) | |||
| marc bazimon Frequent Contributor Username: Marc_orange Post Number: 148 Registered: 01-2007 |
Hi Bryce , Thanks , i did create a user for that ( lets call him test ) curl -L -vk http://127.0.0.1:8800/?user=test&password=test&Phonenumber=%2B2626920xxxxx&text=test+message when i type the url with the proper IP on the browser , i succesfully receive the sms , but when i tried with curl or wget , so in command line , i don't receive the sms , is it something i missed ? thanks before hand for your support have a nice day br Marc | |||
| Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 8599 Registered: 10-2002 |
Hi Marc, When including multiple parameters with & in a curl request, it is often a requirement to enclose the entire URL in "double quotes" to stop the Unix shell from interpreting the ampersand as a background process operator. Regards, Bryce | |||
| marc bazimon Frequent Contributor Username: Marc_orange Post Number: 149 Registered: 01-2007 |
Hi Bryce , Thanks for your advice , it works perfectly Br Marc | |||

