Wire2Air Send Campaign Invitation API
Wire2air provides simple HTTP interface for clients to send survey, polling, and trivia existing campaigns.
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.
HTTP URLs
https://mzone.wire2air.com/mserver/api/sendinvitation.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 |
---|---|
*APPKEY | YOUR_USERAPPKEY; PROVIDED BY WIRE2AIR |
*Shortcode | YOUR_CAMPAIGN SHORTCODE E.G 27126 |
*KEYWORD | YOUR_CAMPAIGN KEYWORD |
*MOBILENUMBER | COMMA SEPARATED MOBILE NUMBERS e.g. 12123005984,12129089384 (IN INERNATIONAL FORMAT PREFIXED WITH COUNTRY CODE). Maximum 100 mobile numbers in one request. |
DELIVERYDATETIME | DELIVERY DATE AND TIME IN EST TIME e.g 1/1/2014 4:00 pm; default: NOW |
Response from Send Campaign Invitation APIs
The API will return a string message to the calling application.
Error Message Response
Err:700:Missing User APP Key
Err:300:Invalid User credentials
Err:700:Missing Keyword
Err:700:Missing Mobile Number
Err:721:Cannot send invite to more than 100 numbers
Err:702:Invalid Keyword
Err:700:Missing Shortcode
Err:722:The Delivery Date Time should be now or in the future
Successful Message:
OK