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 or TEXTING Number e.g 27126,18778993333 |
*KEYWORD | YOUR_CAMPAIGN KEYWORD |
*MOBILENUMBER | COMMA SEPARATED MOBILE NUMBERS e.g. 12123005984,12129089384 (IN INTERNATIONAL 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 invites 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