Code example in programming language PL/SQL for SMS API integration

Below you will find the examples of programming code in the language PL/SQL to send SMS messages through the API of the LabsMobile platform.

You also have code examples in JavaScript, PHP and other programming languages.

We recommend you to consult and take into account the following resources and help in your integration:

Send SMS - HTTP/GET

Example of sending for the GET version of the LabsMobile SMS API. This is a basic and simple method of sending SMS messages from an application or software created in PL/SQL passing all the parameters in the same url.

It is important to encode all the values ​​as url (with the function urlencode() for example).

You can see and download the GET API manual of LabsMobile in the following URL: https://www.labsmobile.com/en/api-sms/api-versions/http-get

                
begin
htp.htmlOpen;
htp.BodyOpen;

htp.p(
utl_http.request('http://api.labsmobile.com/get/send.php?username=[X]&password=[X]&msisdn=34609036253&sender=SENDER&message=This+is+the+message')
     );

htp.BodyClose;
htp.htmlClose;
end;

Credit inquiry - HTTP/GET

                
begin
htp.htmlOpen;
htp.BodyOpen;

htp.p(
utl_http.request('http://api.labsmobile.com/get/balance.php?username=[X]&password=[X]')
     );

htp.BodyClose;
htp.htmlClose;
end;
  • 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
  • DentalCare, Software for dental surgeries recommends LabsMobile

    SMS communication for dental surgeries. Reminders, loyalty programs, commercial and bulk marketing campaigns.

    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
  • Send a bulk sending or campaign

    This tutorial will explain how to send SMS messages to a set of telephone numbers after importing a database or list.

    Ir al tutorial