Press "Enter" to skip to content

How to Integrate SMS API in your Software / Application?

Team PingSMS 0

The tutorial is a simple guide to using PingSMS Secure API to integrate in any Software / Application.

The tutorial assumes that you already have an account with PingSMS. If you need to create a new account click here or visit https://www.pingsms.in/signup

Step 1: GET https://pingsms.in API KEY

     -Sign Up in https://pingsms.in
     -Get API Key from Developer API Tab
API KEY TAB
Developer API TAB

Step 2: Enable API Security (Optional)

Click here to read the article on API Security Feature.

PingSMS API Variable List

Important:

You need to keep API Key in Auth Header for every request named "X-Authorization" and its value will be "YOUR API KEY". 

Variables: 
language:   1 - English, 2 - Unicode
product :   1 - Transactional, 2 - Promotional
key     :   jhasn1731mallKhajal922jsn
sender  :   Your Sender ID
jid     :   Your Job ID
date    :   Date in yyyy-mm-dd format 
message :   Your Message

GET SMS BALANCE

    https://www.pingsms.in/api/getsmsbalance?key=jhasn1731mallKhajal922jsn 

GET SENDER ID

    https://www.pingsms.in/api/getsenderids?key=jhasn1731mallKhajal922jsn 

GET SENT REPORT

https://www.pingsms.in/api/getsentreports?key=jhasn1731mallKhajal922jsn&product=1&date=2019-06-01

SEND SINGLE SMS

https://www.pingsms.in/api/sendsms?key=jhasn1731mallKhajal922jsn&sender=PNGSMS&mobile=XXXXXXXXXX&language=1&product=1&message=Hi This is Test Message.

SEND MULTIPLE SMS

https://www.pingsms.in/api/sendmultiplesms?key=jhasn1731mallKhajal922jsn &sender=PNGSMS&mobile=XXXXXXXXXX,XXXXXXXXXX&language=1&product=1&message=Hi This is Test Message.

GET JOB INFORMATION

https://www.pingsms.in/api/getjobinfo?key=jhasn1731mallKhajal922jsn&jid=xyz&date=2019-06-01

For Sample Scripts of the API’s Click Here or follow the link

https://github.com/sa1if3/Quickstart-guide-on-sending-SMS-using-API

Leave a Reply

Your email address will not be published. Required fields are marked *