Account Login



Lost password?

Sending Messages via HTTP API

At aql.com, we're committed to providing trouble-free service. If you're connecting to our gateway, we recommend that you read our backup gateway document. At aql, we run 4 gateways on 2 different networks. The backup gateway document gives examples of how to design your systems to connect to a different gateway in the rare instance that one of our gateways does not respond.

In order to send a message using the gateway, you will need to send a request to one of the following:

The URI-Encoded variables that you will need to pass are:

Obligatory: Optional:

Returned is a string consisting of (without leading and trailing quote):
"<status no>:<no of credits used> <description>" - eg: 2:0 Authentication error

The status corresponds to one of the following:

0: SMS successfully queued
1: SMS queued partially
2: Authentication error
3: Destination number(s) error
4: Send time error
5: Insufficient credit or invalid number of msg/destination
9: Undefined error

Checking your Credit Level

You can check your account balance by using cmd=credit variable, e.g
http://gw1.aql.com/sms/postmsg.php?username=user&password=password&cmd=credit

Classes, Extensions and Examples