WAP Push API

Our WAP Push API allows you to push files to users using WAP.

URL: https://gw.aql.com/sms/gw-wap-si.php

Our gateway will only accept incoming HTTP POST connections. HTTP Get is unsupported.

When sending HTTP Post, please make sure that you URL encode the content. Not encoding the contents could mean you message is sent incorrectly or rejected by our system as invalid.

Required variables

VariableRequiredDescription
usernameYesYou need to pass your aql account username to this gateway
passwordYesYou need to pass your aql account password to this gateway
destinationYesThe destination you want the message to go to. You can send to multiple numbers by separating each number with a comma (e.g. 441234567890, 441234567891)
wapnameYesProvide a name for your WAP push message
wapurlYesThe URL to the file you are wanting the end user to download
originatorYesYou can set the sender number or name that will appear on the handset. It can only be 16 numbers or 11 alphanumeric characters. (e.g. +447766404142 or aql)

Response codes

ErrorDescription
GW-NO_AUTH_DETAILSNo username or password were provided
GW-AUTH_ERRORThe username and password you provided could not be validated
GW-NO_WAPNAMEYou did not provide a WAP push Name
GW-NO_WAPURLYou did not provide a WAP push URL (of the .wml file)
GW-NO_CREDITYour account does not have sufficient credit
GW-NO_DESTINATIONYou did not provide a destination number
GW-INVALID_DESTINATIONThe destination number you provided was invalid
GW-OK:??The message was queued successfully, and ?? is the number of messages used, e.g. 2
GW-ERROR:??The message failed. ?? is the number of messages that failed, i.e. 1
GW-MSGERRORThere was an error encoding the push message. Please check the WAP URL / WAP name
GW-ACC_UPGRADE_NEEDEDTo use WAP Push, your account needs to be upgraded to the UK premium route
GW-QUEUE_ERRORThere was a queue error, please contact support with the details of the message you attempted to send