API to check Available credits | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through August 22, 2012 ⬆ |
◄ ► |
Author | Message | |||
Rahul Tripathi New member Username: Infosmsfightercom Post Number: 3 Registered: 02-2012 |
Hi, I am new on NowSMS. I have created a user account. I want to give a feature to my client to check their Available credit via my site. Can any body tell me sample API for it. | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 3835 Registered: 08-2008 |
Hi Rahul, Apologies for the delay in response. The short answer is that there is not an API. It is, however, possible to view available credits by logging into the NowSMS web interface from a web browser. The reason for my delay in response is because I wanted to give a possible simple way to create an API. In the Program Files\NowSMS\HTML directory, create a file named creditcheck.txt, with the following content in that file: <!@@StartBlockAvailableCredits@@> AvailableCredits=@@AvailableCredits@@ <!@@EndBlockAvailableCredits@@> User accounts can request the URL creditcheck.txt to check their available credits. For example: http://server:port/creditcheck.txt?user=username&password=password -- Des NowSMS Support |