Clickatell is a great known particular organization through which we could send messages around the world. It will be thick, as simple to utilize and get every last one of majority of the data in regards your messages that you sent. I’m indicating regulated how should worth of effort with this API.
To send your first message you will need:
- Your API username and password
- API ID
- A web browser
The first thing you will need is your API ID through which you will contact with the API.
Format your mobile numbers on which you want to send messages in international format.
- – Mobile numbers you need to start with the country code without special characters.
- – If you are using mobile number of Australia, then country code will be +62 just remove the + sign from the code. And if australian mobile number looks like this “0514984651351” then you just need to remove the first “0” from the mobile number and then you number will be “610514984651351”.
You can send any message to your desired mobile number until you make a purchase. Otherwise they will use their default text message. All URL parameters should be URL encoded.
Then just add the details in this url.
URL
https://api.clickatell.com/http/sendmsg?user=xxxxx&password=xxxxx&api_id=xxxxx&to=xxxxx&text=xxxxx
and then just place this URL into you browser to send message.
In return you will have something like: ID: f7012c1edff2509a19ce1667c7f52b18 in your browser (This is the tracking ID of your message that you have sent, you can use this id in your dashboard of clickatell and it will show the status of your message).
If you received an error such as ERR: 101, Authentication failed then you may need to look out your parameters again.
Now you can just put this url in your code and it will work and update the status in your database. Thanks