Add our API requests SMS to your Windev environment
With our documentation API SMS documentation, send SMS from a Windev environment, a language specially designed for developing Windows, Linux, .NET and Java-oriented applications. Consult our Getting Started Guide and let us guide you through the integration of our Gateway SMS.
Send SMS Windev with smsmode©
Discover the advantages of our platform for sending SMS from your Windev application.
Quick and easy API integration
Benefit from comprehensive, dynamic documentation for fast, easy and free integration.
Security and confidentiality
All our infrastructure is ISO 27001 & ISO 27701 certified. Our http and REST APIs are hosted in France, in a level 4 data-center.
Durable, uninterrupted service
Our platform is monitored 24/7, 365 days a year. High availability amplified by server redundancy to avoid breakdowns.
Technical support at your service
Our entire team is available to help you. Whether you need development to integrate our APIs or support to answer your questions.
STARTER GUIDE
Start sending a SMS with Windev
Our SMS gateway is open source and compatible with a Windev programming environment or any other language (PHP, Java, ASP, C++, Ruby, Curl, etc.). Configure the sending and receiving of SMS and manage all the parameters of your customer account via the API (contact file, available credits, sending schedule, consultation of reception status, sender personalization, etc.).
If you'd like to quickly test SMS sending, integrate the Next code into your Windev project. (Http API, deprecated) ↓
/**
* Function parameters:
*
* - accessToken (required)
* - message (required)
* - destinataires (required): Receivers separated by a comma
* - emetteur (optional): Allows to deal with the sms sender
* - optionStop (optional): Deal with the STOP sms when marketing send (cf. API HTTP documentation)
* - batchFilePath (required for batch mode): The path of CSV file for sms in Batch Mode
*/
ExempleClientHttpApi est une Classe
URL est une chaîne = "https://api.smsmode.com/http/1.6/"
PATH_SEND_SMS est une chaîne = "sendSMS.do"
PATH_SEND_SMS_BATCH est une chaîne = "sendSMSBatch.do"
FIN
PROCÉDURE Constructeur()
PROCÉDURE Destructeur()
PROCÉDURE sendSmsGet(accessToken est un chaîne, message est une chaîne, destinataires est une chaîne, emetteur est une chaîne, optionStop est une chaîne)
getField est une chaîne
getField = "?accessToken=" + accessToken + "&message=" + message + "&numero=" + destinataires + "&emetteur=" + emetteur + "&stop=" + optionStop
SI HTTPRequête(URL + PATH_SEND_SMS + getField) = Vrai ALORS
RENVOYER HTMLVersTexte(HTTPDonneRésultat(httpRésultat))
SINON
RENVOYER ErreurInfo()
FIN
PROCÉDURE sendSmsPost(accessToken est un chaîne, message est une chaîne, destinataires est une chaîne, emetteur est une chaîne, optionStop est une chaîne)
postField est une chaîne
postField = "accessToken=" + accessToken + "&message=" + message + "&numero=" + destinataires + "&emetteur=" + emetteur + "&stop=" + optionStop
SI HTTPRequête(URL + PATH_SEND_SMS, "", "", postField) = Vrai ALORS
RENVOYER HTMLVersTexte(HTTPDonneRésultat(httpRésultat))
SINON
RENVOYER (ErreurInfo())
FIN
PROCÉDURE sendSmsBatch(accessToken est une chaîne, batchFilePath est un chaîne, optionStop est une chaîne)
fdFile est un entier
fdFile = fOuvre(batchFilePath)
SI fdFile = -1 ALORS
RENVOYER ("The specified file does not exist")
FIN
contentFile est une chaîne
contentFile = fLit(fdFile,fTaille(batchFilePath))
fFerme(fdFile)
boundary est une chaîne = "---------------------------7d52afd100580"
header est une chaîne = "multipart/form-data; boundary=" + boundary
postField est une chaîne
postField = "--" + boundary + RC +
"Content-Disposition: form-data; name=""datafile""; filename=" + batchFilePath + "" + RC + RC +
contentFile +
RC + "--" + boundary + "--"
SI HTTPRequête(URL + PATH_SEND_SMS_BATCH + "?accessToken=" + accessToken +"&stop=" + optionStop, "", "", postField, header) = Vrai ALORS
RENVOYER HTMLVersTexte(HTTPDonneRésultat(httpRésultat))
SINON
RENVOYER (ErreurInfo())
FIN
To do this, please refer to our API REST documentation, which details all available functions and requests.
- Send and receive SMS in bulk or individually,
- Notification of reports received from SMS ,
- Sender personalization, unsubscribe/STOP management SMS,
- Integration of direct mail variables, etc.).
Why choose our SMS Windev service?
smsmode© is a key player in sending SMS marketing and notifications. More than 10,000 customers rely on us for SMS campaigns, OTP or SMS transactional mailings. Our development team is constantly improving our services. Our API SMS and our SaaS platform and plugins are easy to use, intuitive and powerful.
Premium routing on direct operator routes
smsmode© is an ARCEP telecom operator, so our SMS traffic goes directly through French and international operators. No roaming or low-cost solutions here. That's a real guarantee of quality, performance and reliability.
Service quality
Thanks to real-time performance monitoring, our platform boasts an availability of over 99.91%. Below this guaranteed threshold, we are committed to compensating you in accordance with our service level agreement.
Responsive technical support
Our support team is available every day from 9am to 12pm and from 2pm to 5:30pm to answer all your questions and ensure the success of your project. 24-hour support is also available on request.
Flexible, no-obligation solution
All our services (API, Plugins SMS, SaaS Platform) are unlimited access and self-service. Installation of our SMS API is free of charge and requires no subscription. You pay only for the SMS you send, according to type and destination.
Confidentiality of customer data and compliance with legal obligations
We are committed to full compliance with the RGPD and protection of customer data passing through our services (Privacy Tech Label, ISO 27001 & 27701 certified). unsubscribe management (STOP SMS) is automatic to enable compliance with mobile marketing obligations.
Create your free account
Try out our SMS platform and benefit from 20 free test credits, with no obligation.