Example code for SMS integration in language ColdFusion

Send SMS - HTTP/GET

                
Page 1.
<form action="Page2" method="post">
To:<input type="Text" name="msisdn">

Message:<input type="text" name="message">

<input type="submit" value="send">
</form>

Page 2.
<cfoutput>
<cfhttp url="http://api.labsmobile.com/get/send.php" method="GET"
resolveurl="false">
<cfhttpparam type="FORMFIELD" name="username" value="xx@xx.xxx">
<cfhttpparam type="FORMFIELD" name="password" value="xxxxxxx">
<cfhttpparam type="FORMFIELD" name="message" value="#form.text#">
<cfhttpparam type="FORMFIELD" name="msisdn" value="#form.to#">
</cfhttp>
</cfoutput>

Credit inquiry - HTTP/GET

                
Page 1.
<form action="Page2" method="post">
<input type="submit" value="get">
</form>

Page 2.
<cfoutput>
<cfhttp url="http://api.labsmobile.com/get/balance.php" method="GET"
resolveurl="false">
<cfhttpparam type="FORMFIELD" name="username" value="xx@xx.xxx">
<cfhttpparam type="FORMFIELD" name="password" value="xxxxxxx">
</cfhttp>
</cfoutput>
  • contact form support

    Sign up!

    Create a user account and send your SMS messages in seconds. You will have all the functionalities and benefits in the same platform.

    Send from API and manage your account with our online application WebSMS.

    Create new account
  • PlandUp, Web application to confirm event attendance recommends LabsMobile

    Event confirmation messaging service. SMS messages include a link confirming attendance to an event.

    Watch more reviews
  • dashboard aplicación online

    Maximum reliability at the best price

    At LabsMobile we only offer direct routes of maximum reliability and quality. Enjoy our platform and all our services for the price of an SMS.

    Pay ONLY for sent messages.

    Check our rates
  • dashboard aplicación online

    Need more info? Contact us!

    Our technical department has professionals with years of experience and we have made multiple integrations.

    We guide and help you through the process.

    Request technical support
  • Import your database of telephone numbers

    This tutorial explains how to import your database of telephones to the LabsMobile WebSMS platform.

    Ir al tutorial
loader