Article sections

    Setting Notification SMS

    (available since version 2.10)

    To Send SMS notifications you need to setup SMS configuration details.

    Go to Settings -> Business Settings -> SMS settings

    from here we can set up SMS for most of the vendors having support for REST API, most of the support it. If not then check with your provider

    Go to the REST API documentation of your vendor. Contact your vendor if you can’t find it.

    Let us take an example of NEXMO.

    Example One: Setting up SMS for NEXMO

    1. Go to documentation: https://developer.nexmo.com/api/sms
    2. You will find “Send an SMS”. Here is how it looks like.
    3. In the right side we have Example request. From the request you can see:
      URL: https://rest.nexmo.com/sms/json
      Send to parameter name: to
      Message parameter name: text
      Request Method: POSTParameter 1 key: from
      Parameter 1 value: Acme IncParameter 2 key: api_key
      Parameter 2 valueParameter 3 key: api_secret
      Parameter 3 value: Input all this details and try sending SMS.
    4. You can view SMS status in nexmo account after login.

    A similar configuration can be done for most of the providers.

    Example Two: Setting up SMS for twilio

    1. Go to twillio & login with your account.
    2. Open this URL: https://www.twilio.com/docs/sms/send-messages?code-sample=code-send-an-sms-with-a-statuscallback-url&code-language=curl&code-sdk-version=json
    3. Now in right side you will find the CURL option something like this:
    4. In the right side we have Example request. From the request you can see:
      URL: https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages.json (same url displayed to you
      Send to parameter name: To
      Message parameter name: Body
      Request Method: POST

    Example Three: Setting up SMS for others

    Let the api structure is

    http://your-sms-website.com/api/sendmsg.php?user=&pass=&sender=&phone=&text=

    So the configuration will be as follows

    URL: https://rest.nexmo.com/sms/json
    Send to parameter name: phone
    Message parameter name: text
    Request Method: GET
    Parameter 1 key: user    Parameter 1 value:
    Parameter 2 key: pass    Parameter 2 value:  Parameter 3 key: sender   Parameter 3 value:

    Example Four: Setting up SMS for others

    Let the api structure is

    $api_url = “http://sms-pos.thewebfosters.com/app/smsapi/index.php?username=&password=&campaign=XXXXXX&routeid=XXXXXX&type=text&contacts=97656XXXXX,98012XXXXX&senderid=XXXXXX&msg=Hello+People%2C+have+a+great+day”;

    So the configuration will be as follows

    URL: http://sms-pos.thewebfosters.com/app/smsapi/index.php
    Send to parameter name: contacts
    Message parameter name: msg
    Request Method: GET
    Parameter 1 key: username    Parameter 1 value:
    Parameter 2 key: password    Parameter 2 value:
    Parameter 3 key: campaign   Parameter 3 value: XXXXXX
    Parameter 4 key: routeid   Parameter 4 value: XXXXXX
    Parameter 5 key: type   Parameter 5 value: text
    Parameter 6 key: senderid   Parameter 6 value: XXXXXX

    Setting Notification Email

    Go to Settings -> Business Settings -> Email settings

    Add all the Email SMTP configuration details & it will work.

    in NotificationsOnline Billing Software
    Did this article answer your question?

    Leave a Reply