Wire2Air Short Code Subscribe Keyword API
Wire2air provides simple HTTP interface for clients to purchase keyword credits using their store credit
card information with their account. HTTP POST or GET can be used in all modern programming languages
including ASP, ASP.NET, C++, C#, PHP, VB, VB.NET, command lines, SSH & cURL.
Subscribe a Keyword using Wire2air Gateway
HTTP URLs
http(s)://mzone.wire2air.com/mserver/api/subscribekeywords.aspx
HTTP METHOD
Messages can be sent as a HTTP POST or GET using the parameters listed below. One
request should be sent per message.
HTTP Form Variables
Name | Description |
---|---|
*USERID | YOUR_USERID; PROVIDED BY WIRE2AIR |
*PASSWORD | YOUR_PASSWORD; PROVIDED BY WIRE2AIR |
*KEYWORDCREDITS | Number of KEYWORD credits; default=1 By specifying KEYWORDCREDITS as a negative number will remove keyword credits from account. |
Response from Keyword Lookup APIs
The API will return a string message to the calling application.
Error Message Response
Err:703:Missing User Name
Err:704:Missing Password
Err:705:Keyword is taken, Please try another keyword
Err:300:Invalid Userid or password
Err:715: Error while performing account update
Err:716: Credit card declined.
718:Keyword credit removal failed, No keyword credits assigned to account.
719:Keyword credit removal failed, all available credits are in-use.
Successful Message:
000:Keyword credits successfully applied to your account.