To send a SMS via Ginota SMS API is common and simple. Login to Ginota portal, get your Ginota account API Key and API Secret from your Dashboard > Messaging and start creating a HTTP GET or POST request as described in API Request.
For easy understanding, HTTP GET will be used in all examples. To create a HTTP GET request, form a URL by appending mandatory parameter=value pairs, each separated by an ampersand (&) to Ginota SMS API Request's Endpoint URL:
https://www.ginota.com/gemp/sms/josn
To send a SMS, Hello Ginota to 60123456789 with sender id as Ginota:
Request | ||
---|---|---|
https://www.ginota.com/gemp/sms/json?apiKey=GinotaAPIKey&apiSecret=GinotaAPISecret&srcAddr=Ginota&dstAddr=60123456789&content=Hello+Ginota |
||
Mandatory Parameter | Value in Request | Description |
apiKey | GinotaAPIKey | Your Ginota Account API Key |
apiSecret | GinotaAPISecret | Your Ginota Account API Secret |
srcAddr | Ginota | The sender id |
dstAddr | 60123456789 | The destination mobile number |
content | Hello+Ginota | The message content (URL-encoded) |
An example of successful response in json format:
Response | |
---|---|
HTTP Header | 200 OK |
Content | { |