Using HTTP


This method provides a way to send check for the Egosms balance using HTTP.

Check balance by making an HTTP GET request to the following endpoints:

HTTP Balance Request Parameters

These are the standard request parameters that are needed when using the EgoSms Balance Inquiry HTTP Api.

methodString Required

Specifies the action being performed. ie Balance for Balance Inquiry.

usernameString Required

The account username.

passwordString Required

The account password.


The above link will return the balance of the Ego Sms with username Egotest and password xxxxx

System Feedback

On Success

Once the request is successful, the balance of the account is returned.

On Failure

Once the request fails, an error message is returned.

Possible Error messages



Wrong Username or Password.

Occurs if either your username or password is wrong.

That user does not exist or user not active

Occurs if the account being used does not exist or is  inactive or if the username is not set.

One Of The Values Is Empty

Occurs if any of the parameters is empty.

Programming Example