[{"data":1,"prerenderedAt":1833},["ShallowReactive",2],{"docs-page:\u002Fdocs\u002Fhttp-api\u002Fsend-sms":3,"docs-navigation":1466,"docs-surround:\u002Fdocs\u002Fhttp-api\u002Fsend-sms":1606,"icon:building-bank":1611,"icon:building-store":1637,"icon:chart-bar":1652,"icon:chart-pie":1665,"icon:code":1672,"icon:discount":1682,"icon:heart-handshake":1696,"icon:mail-forward":1709,"icon:messages":1722,"icon:microphone-2":1729,"icon:photo":1736,"icon:plug-connected":1749,"icon:school":1768,"icon:speakerphone":1775,"icon:stethoscope":1785,"icon:trophy":1801,"icon:user-plus":1820},{"id":4,"title":5,"body":6,"description":1456,"extension":1457,"group":1458,"meta":1459,"navTitle":1458,"navigation":245,"path":1460,"rawbody":1461,"seo":1462,"status":19,"stem":1463,"updated":1464,"__hash__":1465},"docs\u002Fdocs\u002F09.http-api\u002F02.send-sms.md","Send SMS",{"type":7,"value":8,"toc":1450},"minimark",[9,16,30,35,40,52,56,84,106,110,1341,1355,1358,1361,1385,1438,1446],[10,11],"endpoint",{"auth":12,"method":13,"response":14,"url":15},"userid","POST, GET","Plain text","https:\u002F\u002Fmsgapi.wire2air.com\u002Fsmsapi\u002Fsubmitsm.aspx",[17,18,20],"callout",{"type":19},"legacy",[21,22,23,24,29],"p",{},"New integrations should send SMS with the REST API: ",[25,26,28],"a",{"href":27},"\u002Fdocs\u002Frest\u002Fmessages\u002Fsend\u002F","send a message",".",[31,32,34],"h2",{"id":33},"parameters","Parameters",[36,37],"param-table",{":params":38,"id":39},"[{\"name\":\"version\",\"in\":\"body\",\"type\":\"string\",\"required\":true,\"example\":\"2.0\",\"description\":\"API version. Always `2.0`.\"},{\"name\":\"userid\",\"in\":\"body\",\"type\":\"string\",\"required\":true,\"description\":\"Your Wire2Air user ID. See [authentication](\u002Fdocs\u002Fauthentication\u002F#user-id-password-and-vasid).\"},{\"name\":\"password\",\"in\":\"body\",\"type\":\"string\",\"required\":true,\"description\":\"Your Wire2Air password.\"},{\"name\":\"vasid\",\"in\":\"body\",\"type\":\"string\",\"required\":true,\"description\":\"Your VASID, from **Manage Account → API Information**.\"},{\"name\":\"from\",\"in\":\"body\",\"type\":\"string\",\"required\":true,\"example\":\"27126\",\"description\":\"The short code Wire2Air assigned to your account.\"},{\"name\":\"to\",\"in\":\"body\",\"type\":\"string\",\"required\":true,\"example\":\"17220001111\",\"description\":\"Destination mobile number: country code, then the number. Separate several numbers with commas to send the same message to all of them ([bulk messaging](\u002Fdocs\u002Fguides\u002Fbulk-messaging\u002F)).\"},{\"name\":\"text\",\"in\":\"body\",\"type\":\"string\",\"required\":true,\"description\":\"The message. See [message length](\u002Fdocs\u002Fguides\u002Fencoding\u002F#message-length).\"},{\"name\":\"DeliveryDateTime\",\"in\":\"body\",\"type\":\"string\",\"required\":false,\"default\":\"now\",\"example\":\"07\u002F14\u002F1997 00:00:00\",\"description\":\"When to deliver, in **UTC**. The example is Sunday, July 13, 1997, 8:00 PM in New York. See [scheduling](\u002Fdocs\u002Fguides\u002Fscheduling\u002F).\"},{\"name\":\"ReplyPath\",\"in\":\"body\",\"type\":\"string\",\"required\":false,\"example\":\"https:\u002F\u002Fexample.com\u002Fwire2air\u002Freplies\",\"description\":\"Your URL that receives replies from the recipient. Available case by case, with the advanced developer API only.\"},{\"name\":\"BatchName\",\"in\":\"body\",\"type\":\"string\",\"required\":false,\"description\":\"For bulk sends only: a name for the batch.\"}]","param",[21,41,42,43,47,48,51],{},"The documentation lists these names in capitals (",[44,45,46],"code",{},"VERSION",", ",[44,49,50],{},"USERID"," …) and uses lower case in its examples; the examples here use lower case for the same reason.",[31,53,55],{"id":54},"message-length-and-characters","Message length and characters",[17,57,60],{"type":58,"question":59},"pending","OQ-15",[21,61,62,63,66,67,70,71,75,76,79,80,83],{},"This page used to say that messages longer than 160 characters are rejected (contact sales to send longer ones), that each 160-character message costs one credit, and that ",[44,64,65],{},"~ @ # % + = \u002F \\"," and the line break ",[44,68,69],{},"\\r\\n"," count as two characters. The ",[25,72,74],{"href":73},"\u002Fdocs\u002Fguides\u002Fencoding\u002F","encoding guide"," describes up to six concatenated parts and the standard GSM 03.38 rule, under which only ",[44,77,78],{},"~"," and ",[44,81,82],{},"\\"," of that list count as two. Engineering has been asked which rule this endpoint applies.",[21,85,86,87,47,90,47,93,79,96,99,100,102,103],{},"The previous docs listed these characters as allowed in messages and subjects: ",[44,88,89],{},"a-z",[44,91,92],{},"A-Z",[44,94,95],{},"0-9",[44,97,98],{},". , : ; ! ? ( ) ~ = + - _ \\ \u002F @ $ # & % ' \"",". For a line break, use ",[44,101,69],{},", for example ",[44,104,105],{},"Your class is scheduled on\\r\\nJuly 24th @ 7:00PM.",[31,107,109],{"id":108},"examples","Examples",[111,112,113,210,490,660,978],"code-group",{},[114,115,121],"pre",{"className":116,"code":117,"filename":118,"language":119,"meta":120,"style":120},"language-bash shiki shiki-themes github-light-high-contrast github-dark-high-contrast","curl \"https:\u002F\u002Fmsgapi.wire2air.com\u002Fsmsapi\u002Fsubmitsm.aspx\" \\\n  --data-urlencode \"version=2.0\" \\\n  --data-urlencode \"userid=YOUR_USERID\" \\\n  --data-urlencode \"password=YOUR_PASSWORD\" \\\n  --data-urlencode \"vasid=YOUR_VASID\" \\\n  --data-urlencode \"from=27126\" \\\n  --data-urlencode \"to=12121234567\" \\\n  --data-urlencode \"text=Your order has shipped.\"\n","cURL","bash","",[44,122,123,140,152,162,172,182,192,202],{"__ignoreMap":120},[124,125,128,132,136],"span",{"class":126,"line":127},"line",1,[124,129,131],{"class":130},"soyes","curl",[124,133,135],{"class":134},"sT6z2"," \"https:\u002F\u002Fmsgapi.wire2air.com\u002Fsmsapi\u002Fsubmitsm.aspx\"",[124,137,139],{"class":138},"sHUrx"," \\\n",[124,141,143,147,150],{"class":126,"line":142},2,[124,144,146],{"class":145},"s-5SL","  --data-urlencode",[124,148,149],{"class":134}," \"version=2.0\"",[124,151,139],{"class":138},[124,153,155,157,160],{"class":126,"line":154},3,[124,156,146],{"class":145},[124,158,159],{"class":134}," \"userid=YOUR_USERID\"",[124,161,139],{"class":138},[124,163,165,167,170],{"class":126,"line":164},4,[124,166,146],{"class":145},[124,168,169],{"class":134}," \"password=YOUR_PASSWORD\"",[124,171,139],{"class":138},[124,173,175,177,180],{"class":126,"line":174},5,[124,176,146],{"class":145},[124,178,179],{"class":134}," \"vasid=YOUR_VASID\"",[124,181,139],{"class":138},[124,183,185,187,190],{"class":126,"line":184},6,[124,186,146],{"class":145},[124,188,189],{"class":134}," \"from=27126\"",[124,191,139],{"class":138},[124,193,195,197,200],{"class":126,"line":194},7,[124,196,146],{"class":145},[124,198,199],{"class":134}," \"to=12121234567\"",[124,201,139],{"class":138},[124,203,205,207],{"class":126,"line":204},8,[124,206,146],{"class":145},[124,208,209],{"class":134}," \"text=Your order has shipped.\"\n",[114,211,216],{"className":212,"code":213,"filename":214,"language":215,"meta":120,"style":120},"language-python shiki shiki-themes github-light-high-contrast github-dark-high-contrast","import urllib.error\nimport urllib.parse\nimport urllib.request\n\nparams = urllib.parse.urlencode({\n    \"version\": \"2.0\",\n    \"userid\": \"YOUR_USERID\",\n    \"password\": \"YOUR_PASSWORD\",\n    \"vasid\": \"YOUR_VASID\",\n    \"from\": \"27126\",\n    \"to\": \"12121234567\",\n    \"text\": \"Your order has shipped.\",\n})\nrequest = urllib.request.Request(\n    \"https:\u002F\u002Fmsgapi.wire2air.com\u002Fsmsapi\u002Fsubmitsm.aspx\",\n    data=params.encode(\"utf-8\"),\n    method=\"POST\",\n)\n\ntry:\n    with urllib.request.urlopen(request, timeout=30) as response:\n        print(response.status, response.read().decode(\"utf-8\"))\nexcept urllib.error.HTTPError as error:\n    print(error.code, error.read().decode(\"utf-8\"))\n","Python 3","python",[44,217,218,227,234,241,247,258,272,284,296,309,322,335,348,354,365,373,390,403,409,414,423,449,463,477],{"__ignoreMap":120},[124,219,220,223],{"class":126,"line":127},[124,221,222],{"class":138},"import",[124,224,226],{"class":225},"suds8"," urllib.error\n",[124,228,229,231],{"class":126,"line":142},[124,230,222],{"class":138},[124,232,233],{"class":225}," urllib.parse\n",[124,235,236,238],{"class":126,"line":154},[124,237,222],{"class":138},[124,239,240],{"class":225}," urllib.request\n",[124,242,243],{"class":126,"line":164},[124,244,246],{"emptyLinePlaceholder":245},true,"\n",[124,248,249,252,255],{"class":126,"line":174},[124,250,251],{"class":225},"params ",[124,253,254],{"class":138},"=",[124,256,257],{"class":225}," urllib.parse.urlencode({\n",[124,259,260,263,266,269],{"class":126,"line":184},[124,261,262],{"class":134},"    \"version\"",[124,264,265],{"class":225},": ",[124,267,268],{"class":134},"\"2.0\"",[124,270,271],{"class":225},",\n",[124,273,274,277,279,282],{"class":126,"line":194},[124,275,276],{"class":134},"    \"userid\"",[124,278,265],{"class":225},[124,280,281],{"class":134},"\"YOUR_USERID\"",[124,283,271],{"class":225},[124,285,286,289,291,294],{"class":126,"line":204},[124,287,288],{"class":134},"    \"password\"",[124,290,265],{"class":225},[124,292,293],{"class":134},"\"YOUR_PASSWORD\"",[124,295,271],{"class":225},[124,297,299,302,304,307],{"class":126,"line":298},9,[124,300,301],{"class":134},"    \"vasid\"",[124,303,265],{"class":225},[124,305,306],{"class":134},"\"YOUR_VASID\"",[124,308,271],{"class":225},[124,310,312,315,317,320],{"class":126,"line":311},10,[124,313,314],{"class":134},"    \"from\"",[124,316,265],{"class":225},[124,318,319],{"class":134},"\"27126\"",[124,321,271],{"class":225},[124,323,325,328,330,333],{"class":126,"line":324},11,[124,326,327],{"class":134},"    \"to\"",[124,329,265],{"class":225},[124,331,332],{"class":134},"\"12121234567\"",[124,334,271],{"class":225},[124,336,338,341,343,346],{"class":126,"line":337},12,[124,339,340],{"class":134},"    \"text\"",[124,342,265],{"class":225},[124,344,345],{"class":134},"\"Your order has shipped.\"",[124,347,271],{"class":225},[124,349,351],{"class":126,"line":350},13,[124,352,353],{"class":225},"})\n",[124,355,357,360,362],{"class":126,"line":356},14,[124,358,359],{"class":225},"request ",[124,361,254],{"class":138},[124,363,364],{"class":225}," urllib.request.Request(\n",[124,366,368,371],{"class":126,"line":367},15,[124,369,370],{"class":134},"    \"https:\u002F\u002Fmsgapi.wire2air.com\u002Fsmsapi\u002Fsubmitsm.aspx\"",[124,372,271],{"class":225},[124,374,376,379,381,384,387],{"class":126,"line":375},16,[124,377,378],{"class":130},"    data",[124,380,254],{"class":138},[124,382,383],{"class":225},"params.encode(",[124,385,386],{"class":134},"\"utf-8\"",[124,388,389],{"class":225},"),\n",[124,391,393,396,398,401],{"class":126,"line":392},17,[124,394,395],{"class":130},"    method",[124,397,254],{"class":138},[124,399,400],{"class":134},"\"POST\"",[124,402,271],{"class":225},[124,404,406],{"class":126,"line":405},18,[124,407,408],{"class":225},")\n",[124,410,412],{"class":126,"line":411},19,[124,413,246],{"emptyLinePlaceholder":245},[124,415,417,420],{"class":126,"line":416},20,[124,418,419],{"class":138},"try",[124,421,422],{"class":225},":\n",[124,424,426,429,432,435,437,440,443,446],{"class":126,"line":425},21,[124,427,428],{"class":138},"    with",[124,430,431],{"class":225}," urllib.request.urlopen(request, ",[124,433,434],{"class":130},"timeout",[124,436,254],{"class":138},[124,438,439],{"class":145},"30",[124,441,442],{"class":225},") ",[124,444,445],{"class":138},"as",[124,447,448],{"class":225}," response:\n",[124,450,452,455,458,460],{"class":126,"line":451},22,[124,453,454],{"class":145},"        print",[124,456,457],{"class":225},"(response.status, response.read().decode(",[124,459,386],{"class":134},[124,461,462],{"class":225},"))\n",[124,464,466,469,472,474],{"class":126,"line":465},23,[124,467,468],{"class":138},"except",[124,470,471],{"class":225}," urllib.error.HTTPError ",[124,473,445],{"class":138},[124,475,476],{"class":225}," error:\n",[124,478,480,483,486,488],{"class":126,"line":479},24,[124,481,482],{"class":145},"    print",[124,484,485],{"class":225},"(error.code, error.read().decode(",[124,487,386],{"class":134},[124,489,462],{"class":225},[114,491,496],{"className":492,"code":493,"filename":494,"language":495,"meta":120,"style":120},"language-javascript shiki shiki-themes github-light-high-contrast github-dark-high-contrast","const params = new URLSearchParams({\n  version: \"2.0\",\n  userid: \"YOUR_USERID\",\n  password: \"YOUR_PASSWORD\",\n  vasid: \"YOUR_VASID\",\n  from: \"27126\",\n  to: \"12121234567\",\n  text: \"Your order has shipped.\",\n});\n\nconst response = await fetch(\"https:\u002F\u002Fmsgapi.wire2air.com\u002Fsmsapi\u002Fsubmitsm.aspx\", {\n  method: \"POST\",\n  body: params, \u002F\u002F sent as application\u002Fx-www-form-urlencoded\n});\nconsole.log(response.status, await response.text());\n","Node","javascript",[44,497,498,519,528,537,546,555,564,573,582,587,591,615,624,633,637],{"__ignoreMap":120},[124,499,500,503,506,509,512,516],{"class":126,"line":127},[124,501,502],{"class":138},"const",[124,504,505],{"class":145}," params",[124,507,508],{"class":138}," =",[124,510,511],{"class":138}," new",[124,513,515],{"class":514},"sKwhi"," URLSearchParams",[124,517,518],{"class":225},"({\n",[124,520,521,524,526],{"class":126,"line":142},[124,522,523],{"class":225},"  version: ",[124,525,268],{"class":134},[124,527,271],{"class":225},[124,529,530,533,535],{"class":126,"line":154},[124,531,532],{"class":225},"  userid: ",[124,534,281],{"class":134},[124,536,271],{"class":225},[124,538,539,542,544],{"class":126,"line":164},[124,540,541],{"class":225},"  password: ",[124,543,293],{"class":134},[124,545,271],{"class":225},[124,547,548,551,553],{"class":126,"line":174},[124,549,550],{"class":225},"  vasid: ",[124,552,306],{"class":134},[124,554,271],{"class":225},[124,556,557,560,562],{"class":126,"line":184},[124,558,559],{"class":225},"  from: ",[124,561,319],{"class":134},[124,563,271],{"class":225},[124,565,566,569,571],{"class":126,"line":194},[124,567,568],{"class":225},"  to: ",[124,570,332],{"class":134},[124,572,271],{"class":225},[124,574,575,578,580],{"class":126,"line":204},[124,576,577],{"class":225},"  text: ",[124,579,345],{"class":134},[124,581,271],{"class":225},[124,583,584],{"class":126,"line":298},[124,585,586],{"class":225},"});\n",[124,588,589],{"class":126,"line":311},[124,590,246],{"emptyLinePlaceholder":245},[124,592,593,595,598,600,603,606,609,612],{"class":126,"line":324},[124,594,502],{"class":138},[124,596,597],{"class":145}," response",[124,599,508],{"class":138},[124,601,602],{"class":138}," await",[124,604,605],{"class":514}," fetch",[124,607,608],{"class":225},"(",[124,610,611],{"class":134},"\"https:\u002F\u002Fmsgapi.wire2air.com\u002Fsmsapi\u002Fsubmitsm.aspx\"",[124,613,614],{"class":225},", {\n",[124,616,617,620,622],{"class":126,"line":337},[124,618,619],{"class":225},"  method: ",[124,621,400],{"class":134},[124,623,271],{"class":225},[124,625,626,629],{"class":126,"line":350},[124,627,628],{"class":225},"  body: params, ",[124,630,632],{"class":631},"sLBg1","\u002F\u002F sent as application\u002Fx-www-form-urlencoded\n",[124,634,635],{"class":126,"line":356},[124,636,586],{"class":225},[124,638,639,642,645,648,651,654,657],{"class":126,"line":367},[124,640,641],{"class":225},"console.",[124,643,644],{"class":514},"log",[124,646,647],{"class":225},"(response.status, ",[124,649,650],{"class":138},"await",[124,652,653],{"class":225}," response.",[124,655,656],{"class":514},"text",[124,658,659],{"class":225},"());\n",[114,661,666],{"className":662,"code":663,"filename":664,"language":665,"meta":120,"style":120},"language-php shiki shiki-themes github-light-high-contrast github-dark-high-contrast","\u003C?php\n\n$params = http_build_query([\n    'version' => '2.0',\n    'userid' => 'YOUR_USERID',\n    'password' => 'YOUR_PASSWORD',\n    'vasid' => 'YOUR_VASID',\n    'from' => '27126',\n    'to' => '12121234567',\n    'text' => 'Your order has shipped.',\n]);\n\n$ch = curl_init('https:\u002F\u002Fmsgapi.wire2air.com\u002Fsmsapi\u002Fsubmitsm.aspx');\ncurl_setopt_array($ch, [\n    CURLOPT_POST => true,\n    CURLOPT_POSTFIELDS => $params,\n    CURLOPT_RETURNTRANSFER => true,\n    CURLOPT_TIMEOUT => 30,\n]);\n\n$body = curl_exec($ch);\nif ($body === false) {\n    echo 'Request failed: ' . curl_error($ch) . PHP_EOL;\n} else {\n    echo curl_getinfo($ch, CURLINFO_HTTP_CODE) . ' ' . $body . PHP_EOL;\n}\ncurl_close($ch);\n","PHP","php",[44,667,668,676,680,693,706,718,730,742,754,766,778,783,787,805,813,825,835,846,858,862,866,879,896,921,932,964,970],{"__ignoreMap":120},[124,669,670,673],{"class":126,"line":127},[124,671,672],{"class":138},"\u003C?",[124,674,675],{"class":145},"php\n",[124,677,678],{"class":126,"line":142},[124,679,246],{"emptyLinePlaceholder":245},[124,681,682,685,687,690],{"class":126,"line":154},[124,683,684],{"class":225},"$params ",[124,686,254],{"class":138},[124,688,689],{"class":145}," http_build_query",[124,691,692],{"class":225},"([\n",[124,694,695,698,701,704],{"class":126,"line":164},[124,696,697],{"class":134},"    'version'",[124,699,700],{"class":138}," =>",[124,702,703],{"class":134}," '2.0'",[124,705,271],{"class":225},[124,707,708,711,713,716],{"class":126,"line":174},[124,709,710],{"class":134},"    'userid'",[124,712,700],{"class":138},[124,714,715],{"class":134}," 'YOUR_USERID'",[124,717,271],{"class":225},[124,719,720,723,725,728],{"class":126,"line":184},[124,721,722],{"class":134},"    'password'",[124,724,700],{"class":138},[124,726,727],{"class":134}," 'YOUR_PASSWORD'",[124,729,271],{"class":225},[124,731,732,735,737,740],{"class":126,"line":194},[124,733,734],{"class":134},"    'vasid'",[124,736,700],{"class":138},[124,738,739],{"class":134}," 'YOUR_VASID'",[124,741,271],{"class":225},[124,743,744,747,749,752],{"class":126,"line":204},[124,745,746],{"class":134},"    'from'",[124,748,700],{"class":138},[124,750,751],{"class":134}," '27126'",[124,753,271],{"class":225},[124,755,756,759,761,764],{"class":126,"line":298},[124,757,758],{"class":134},"    'to'",[124,760,700],{"class":138},[124,762,763],{"class":134}," '12121234567'",[124,765,271],{"class":225},[124,767,768,771,773,776],{"class":126,"line":311},[124,769,770],{"class":134},"    'text'",[124,772,700],{"class":138},[124,774,775],{"class":134}," 'Your order has shipped.'",[124,777,271],{"class":225},[124,779,780],{"class":126,"line":324},[124,781,782],{"class":225},"]);\n",[124,784,785],{"class":126,"line":337},[124,786,246],{"emptyLinePlaceholder":245},[124,788,789,792,794,797,799,802],{"class":126,"line":350},[124,790,791],{"class":225},"$ch ",[124,793,254],{"class":138},[124,795,796],{"class":145}," curl_init",[124,798,608],{"class":225},[124,800,801],{"class":134},"'https:\u002F\u002Fmsgapi.wire2air.com\u002Fsmsapi\u002Fsubmitsm.aspx'",[124,803,804],{"class":225},");\n",[124,806,807,810],{"class":126,"line":356},[124,808,809],{"class":145},"curl_setopt_array",[124,811,812],{"class":225},"($ch, [\n",[124,814,815,818,820,823],{"class":126,"line":367},[124,816,817],{"class":145},"    CURLOPT_POST",[124,819,700],{"class":138},[124,821,822],{"class":145}," true",[124,824,271],{"class":225},[124,826,827,830,832],{"class":126,"line":375},[124,828,829],{"class":145},"    CURLOPT_POSTFIELDS",[124,831,700],{"class":138},[124,833,834],{"class":225}," $params,\n",[124,836,837,840,842,844],{"class":126,"line":392},[124,838,839],{"class":145},"    CURLOPT_RETURNTRANSFER",[124,841,700],{"class":138},[124,843,822],{"class":145},[124,845,271],{"class":225},[124,847,848,851,853,856],{"class":126,"line":405},[124,849,850],{"class":145},"    CURLOPT_TIMEOUT",[124,852,700],{"class":138},[124,854,855],{"class":145}," 30",[124,857,271],{"class":225},[124,859,860],{"class":126,"line":411},[124,861,782],{"class":225},[124,863,864],{"class":126,"line":416},[124,865,246],{"emptyLinePlaceholder":245},[124,867,868,871,873,876],{"class":126,"line":425},[124,869,870],{"class":225},"$body ",[124,872,254],{"class":138},[124,874,875],{"class":145}," curl_exec",[124,877,878],{"class":225},"($ch);\n",[124,880,881,884,887,890,893],{"class":126,"line":451},[124,882,883],{"class":138},"if",[124,885,886],{"class":225}," ($body ",[124,888,889],{"class":138},"===",[124,891,892],{"class":145}," false",[124,894,895],{"class":225},") {\n",[124,897,898,901,904,907,910,913,915,918],{"class":126,"line":465},[124,899,900],{"class":145},"    echo",[124,902,903],{"class":134}," 'Request failed: '",[124,905,906],{"class":138}," .",[124,908,909],{"class":145}," curl_error",[124,911,912],{"class":225},"($ch) ",[124,914,29],{"class":138},[124,916,917],{"class":145}," PHP_EOL",[124,919,920],{"class":225},";\n",[124,922,923,926,929],{"class":126,"line":479},[124,924,925],{"class":225},"} ",[124,927,928],{"class":138},"else",[124,930,931],{"class":225}," {\n",[124,933,935,937,940,943,946,948,950,953,955,958,960,962],{"class":126,"line":934},25,[124,936,900],{"class":145},[124,938,939],{"class":145}," curl_getinfo",[124,941,942],{"class":225},"($ch, ",[124,944,945],{"class":145},"CURLINFO_HTTP_CODE",[124,947,442],{"class":225},[124,949,29],{"class":138},[124,951,952],{"class":134}," ' '",[124,954,906],{"class":138},[124,956,957],{"class":225}," $body ",[124,959,29],{"class":138},[124,961,917],{"class":145},[124,963,920],{"class":225},[124,965,967],{"class":126,"line":966},26,[124,968,969],{"class":225},"}\n",[124,971,973,976],{"class":126,"line":972},27,[124,974,975],{"class":145},"curl_close",[124,977,878],{"class":225},[114,979,984],{"className":980,"code":981,"filename":982,"language":983,"meta":120,"style":120},"language-csharp shiki shiki-themes github-light-high-contrast github-dark-high-contrast","using System;\nusing System.Collections.Generic;\nusing System.Net.Http;\n\nvar parameters = new Dictionary\u003Cstring, string>\n{\n    [\"version\"] = \"2.0\",\n    [\"userid\"] = \"YOUR_USERID\",\n    [\"password\"] = \"YOUR_PASSWORD\",\n    [\"vasid\"] = \"YOUR_VASID\",\n    [\"from\"] = \"27126\",\n    [\"to\"] = \"12121234567\",\n    [\"text\"] = \"Your order has shipped.\",\n};\n\nusing var client = new HttpClient();\nusing var request = new HttpRequestMessage(HttpMethod.Post, \"https:\u002F\u002Fmsgapi.wire2air.com\u002Fsmsapi\u002Fsubmitsm.aspx\")\n{\n    Content = new FormUrlEncodedContent(parameters),\n};\n\nusing var response = await client.SendAsync(request);\nConsole.WriteLine($\"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}\");\n","C#","csharp",[44,985,986,996,1014,1032,1036,1064,1069,1087,1103,1119,1135,1151,1167,1183,1188,1192,1212,1235,1239,1254,1258,1262,1283],{"__ignoreMap":120},[124,987,988,991,994],{"class":126,"line":127},[124,989,990],{"class":138},"using",[124,992,993],{"class":130}," System",[124,995,920],{"class":225},[124,997,998,1000,1002,1004,1007,1009,1012],{"class":126,"line":142},[124,999,990],{"class":138},[124,1001,993],{"class":130},[124,1003,29],{"class":225},[124,1005,1006],{"class":130},"Collections",[124,1008,29],{"class":225},[124,1010,1011],{"class":130},"Generic",[124,1013,920],{"class":225},[124,1015,1016,1018,1020,1022,1025,1027,1030],{"class":126,"line":154},[124,1017,990],{"class":138},[124,1019,993],{"class":130},[124,1021,29],{"class":225},[124,1023,1024],{"class":130},"Net",[124,1026,29],{"class":225},[124,1028,1029],{"class":130},"Http",[124,1031,920],{"class":225},[124,1033,1034],{"class":126,"line":164},[124,1035,246],{"emptyLinePlaceholder":245},[124,1037,1038,1041,1044,1046,1048,1051,1054,1057,1059,1061],{"class":126,"line":174},[124,1039,1040],{"class":138},"var",[124,1042,1043],{"class":130}," parameters",[124,1045,508],{"class":138},[124,1047,511],{"class":138},[124,1049,1050],{"class":130}," Dictionary",[124,1052,1053],{"class":225},"\u003C",[124,1055,1056],{"class":138},"string",[124,1058,47],{"class":225},[124,1060,1056],{"class":138},[124,1062,1063],{"class":225},">\n",[124,1065,1066],{"class":126,"line":184},[124,1067,1068],{"class":225},"{\n",[124,1070,1071,1074,1077,1080,1082,1085],{"class":126,"line":194},[124,1072,1073],{"class":225},"    [",[124,1075,1076],{"class":134},"\"version\"",[124,1078,1079],{"class":225},"] ",[124,1081,254],{"class":138},[124,1083,1084],{"class":134}," \"2.0\"",[124,1086,271],{"class":225},[124,1088,1089,1091,1094,1096,1098,1101],{"class":126,"line":204},[124,1090,1073],{"class":225},[124,1092,1093],{"class":134},"\"userid\"",[124,1095,1079],{"class":225},[124,1097,254],{"class":138},[124,1099,1100],{"class":134}," \"YOUR_USERID\"",[124,1102,271],{"class":225},[124,1104,1105,1107,1110,1112,1114,1117],{"class":126,"line":298},[124,1106,1073],{"class":225},[124,1108,1109],{"class":134},"\"password\"",[124,1111,1079],{"class":225},[124,1113,254],{"class":138},[124,1115,1116],{"class":134}," \"YOUR_PASSWORD\"",[124,1118,271],{"class":225},[124,1120,1121,1123,1126,1128,1130,1133],{"class":126,"line":311},[124,1122,1073],{"class":225},[124,1124,1125],{"class":134},"\"vasid\"",[124,1127,1079],{"class":225},[124,1129,254],{"class":138},[124,1131,1132],{"class":134}," \"YOUR_VASID\"",[124,1134,271],{"class":225},[124,1136,1137,1139,1142,1144,1146,1149],{"class":126,"line":324},[124,1138,1073],{"class":225},[124,1140,1141],{"class":134},"\"from\"",[124,1143,1079],{"class":225},[124,1145,254],{"class":138},[124,1147,1148],{"class":134}," \"27126\"",[124,1150,271],{"class":225},[124,1152,1153,1155,1158,1160,1162,1165],{"class":126,"line":337},[124,1154,1073],{"class":225},[124,1156,1157],{"class":134},"\"to\"",[124,1159,1079],{"class":225},[124,1161,254],{"class":138},[124,1163,1164],{"class":134}," \"12121234567\"",[124,1166,271],{"class":225},[124,1168,1169,1171,1174,1176,1178,1181],{"class":126,"line":350},[124,1170,1073],{"class":225},[124,1172,1173],{"class":134},"\"text\"",[124,1175,1079],{"class":225},[124,1177,254],{"class":138},[124,1179,1180],{"class":134}," \"Your order has shipped.\"",[124,1182,271],{"class":225},[124,1184,1185],{"class":126,"line":356},[124,1186,1187],{"class":225},"};\n",[124,1189,1190],{"class":126,"line":367},[124,1191,246],{"emptyLinePlaceholder":245},[124,1193,1194,1196,1199,1202,1204,1206,1209],{"class":126,"line":375},[124,1195,990],{"class":138},[124,1197,1198],{"class":138}," var",[124,1200,1201],{"class":130}," client",[124,1203,508],{"class":138},[124,1205,511],{"class":138},[124,1207,1208],{"class":130}," HttpClient",[124,1210,1211],{"class":225},"();\n",[124,1213,1214,1216,1218,1221,1223,1225,1228,1231,1233],{"class":126,"line":392},[124,1215,990],{"class":138},[124,1217,1198],{"class":138},[124,1219,1220],{"class":130}," request",[124,1222,508],{"class":138},[124,1224,511],{"class":138},[124,1226,1227],{"class":130}," HttpRequestMessage",[124,1229,1230],{"class":225},"(HttpMethod.Post, ",[124,1232,611],{"class":134},[124,1234,408],{"class":225},[124,1236,1237],{"class":126,"line":405},[124,1238,1068],{"class":225},[124,1240,1241,1244,1246,1248,1251],{"class":126,"line":411},[124,1242,1243],{"class":225},"    Content ",[124,1245,254],{"class":138},[124,1247,511],{"class":138},[124,1249,1250],{"class":130}," FormUrlEncodedContent",[124,1252,1253],{"class":225},"(parameters),\n",[124,1255,1256],{"class":126,"line":416},[124,1257,1187],{"class":225},[124,1259,1260],{"class":126,"line":425},[124,1261,246],{"emptyLinePlaceholder":245},[124,1263,1264,1266,1268,1270,1272,1274,1277,1280],{"class":126,"line":451},[124,1265,990],{"class":138},[124,1267,1198],{"class":138},[124,1269,597],{"class":130},[124,1271,508],{"class":138},[124,1273,602],{"class":138},[124,1275,1276],{"class":225}," client.",[124,1278,1279],{"class":514},"SendAsync",[124,1281,1282],{"class":225},"(request);\n",[124,1284,1285,1288,1291,1293,1296,1299,1302,1305,1308,1310,1313,1316,1319,1321,1323,1325,1328,1330,1333,1336,1339],{"class":126,"line":465},[124,1286,1287],{"class":225},"Console.",[124,1289,1290],{"class":514},"WriteLine",[124,1292,608],{"class":225},[124,1294,1295],{"class":134},"$\"",[124,1297,1298],{"class":134},"{(",[124,1300,1301],{"class":138},"int",[124,1303,1304],{"class":134},")",[124,1306,1307],{"class":225},"response",[124,1309,29],{"class":134},[124,1311,1312],{"class":225},"StatusCode",[124,1314,1315],{"class":134},"}",[124,1317,1318],{"class":134}," {",[124,1320,650],{"class":138},[124,1322,597],{"class":225},[124,1324,29],{"class":134},[124,1326,1327],{"class":225},"Content",[124,1329,29],{"class":134},[124,1331,1332],{"class":514},"ReadAsStringAsync",[124,1334,1335],{"class":134},"()}",[124,1337,1338],{"class":134},"\"",[124,1340,804],{"class":225},[17,1342,1344],{"type":1343},"warning",[21,1345,1346,1347,1350,1351,1354],{},"The API also accepts ",[44,1348,1349],{},"GET",", but then your password travels in the URL and is written to server and proxy logs. Use ",[44,1352,1353],{},"POST",", as above.",[31,1356,1357],{"id":1307},"Response",[21,1359,1360],{},"The response is one line of plain text.",[111,1362,1363,1371,1378],{"kind":1307},[114,1364,1369],{"className":1365,"code":1367,"filename":1368,"language":656,"meta":120},[1366],"language-text","JOBID: [MOBILENUMBER]:[SMSID]\n","Success",[44,1370,1367],{"__ignoreMap":120},[114,1372,1376],{"className":1373,"code":1374,"filename":1375,"language":656,"meta":120},[1366],"ERR: 301: Failed authentication\n","Failed authentication",[44,1377,1374],{"__ignoreMap":120},[114,1379,1383],{"className":1380,"code":1381,"filename":1382,"language":656,"meta":120},[1366],"ERR: 305: Not enough credits\n","Not enough credits",[44,1384,1381],{"__ignoreMap":120},[1386,1387,1388,1400],"table",{},[1389,1390,1391],"thead",{},[1392,1393,1394,1397],"tr",{},[1395,1396,1357],"th",{},[1395,1398,1399],{},"Meaning",[1401,1402,1403,1418,1428],"tbody",{},[1392,1404,1405,1411],{},[1406,1407,1408],"td",{},[44,1409,1410],{},"JOBID: [MOBILENUMBER]:[SMSID]",[1406,1412,1413,1414,1417],{},"Accepted. ",[44,1415,1416],{},"SMSID"," is the message's reference.",[1392,1419,1420,1425],{},[1406,1421,1422],{},[44,1423,1424],{},"ERR: 301: Failed authentication",[1406,1426,1427],{},"Wrong user ID, password or VASID.",[1392,1429,1430,1435],{},[1406,1431,1432],{},[44,1433,1434],{},"ERR: 305: Not enough credits",[1406,1436,1437],{},"Top up your account.",[21,1439,1440,1441,1445],{},"Only these two errors are documented for this endpoint. See ",[25,1442,1444],{"href":1443},"\u002Fdocs\u002Ferrors\u002F#http-api-error-codes","Errors"," for the codes other HTTP API endpoints return.",[1447,1448,1449],"style",{},"html pre.shiki code .soyes, html code.shiki .soyes{--shiki-default:#702C00;--shiki-dark:#FFB757}html pre.shiki code .sT6z2, html code.shiki .sT6z2{--shiki-default:#032563;--shiki-dark:#ADDCFF}html pre.shiki code .sHUrx, html code.shiki .sHUrx{--shiki-default:#A0111F;--shiki-dark:#FF9492}html pre.shiki code .s-5SL, html code.shiki .s-5SL{--shiki-default:#023B95;--shiki-dark:#91CBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .suds8, html code.shiki .suds8{--shiki-default:#0E1116;--shiki-dark:#F0F3F6}html pre.shiki code .sKwhi, html code.shiki .sKwhi{--shiki-default:#622CBC;--shiki-dark:#DBB7FF}html pre.shiki code .sLBg1, html code.shiki .sLBg1{--shiki-default:#66707B;--shiki-dark:#BDC4CC}",{"title":120,"searchDepth":154,"depth":154,"links":1451},[1452,1453,1454,1455],{"id":33,"depth":142,"text":34},{"id":54,"depth":142,"text":55},{"id":108,"depth":142,"text":109},{"id":1307,"depth":142,"text":1357},"Send a text message to one number or many with the legacy HTTP API (submitsm.aspx). Plain-text response with a job ID.","md",null,{},"\u002Fdocs\u002Fhttp-api\u002Fsend-sms","---\ntitle: Send SMS\ndescription: Send a text message to one number or many with the legacy HTTP API (submitsm.aspx). Plain-text response with a job ID.\nstatus: legacy\nupdated: '2026-10-06'\n---\n\n::endpoint{method=\"POST, GET\" url=\"https:\u002F\u002Fmsgapi.wire2air.com\u002Fsmsapi\u002Fsubmitsm.aspx\" auth=\"userid\" response=\"Plain text\"}\n::\n\n::callout{type=\"legacy\"}\nNew integrations should send SMS with the REST API: [send a message](\u002Fdocs\u002Frest\u002Fmessages\u002Fsend\u002F).\n::\n\n## Parameters\n\n::param-table{id=\"param\"}\n---\nparams:\n  - name: version\n    in: body\n    type: string\n    required: true\n    example: \"2.0\"\n    description: \"API version. Always `2.0`.\"\n  - name: userid\n    in: body\n    type: string\n    required: true\n    description: \"Your Wire2Air user ID. See [authentication](\u002Fdocs\u002Fauthentication\u002F#user-id-password-and-vasid).\"\n  - name: password\n    in: body\n    type: string\n    required: true\n    description: \"Your Wire2Air password.\"\n  - name: vasid\n    in: body\n    type: string\n    required: true\n    description: \"Your VASID, from **Manage Account → API Information**.\"\n  - name: from\n    in: body\n    type: string\n    required: true\n    example: \"27126\"\n    description: \"The short code Wire2Air assigned to your account.\"\n  - name: to\n    in: body\n    type: string\n    required: true\n    example: \"17220001111\"\n    description: \"Destination mobile number: country code, then the number. Separate several numbers with commas to send the same message to all of them ([bulk messaging](\u002Fdocs\u002Fguides\u002Fbulk-messaging\u002F)).\"\n  - name: text\n    in: body\n    type: string\n    required: true\n    description: \"The message. See [message length](\u002Fdocs\u002Fguides\u002Fencoding\u002F#message-length).\"\n  - name: DeliveryDateTime\n    in: body\n    type: string\n    required: false\n    default: now\n    example: \"07\u002F14\u002F1997 00:00:00\"\n    description: \"When to deliver, in **UTC**. The example is Sunday, July 13, 1997, 8:00 PM in New York. See [scheduling](\u002Fdocs\u002Fguides\u002Fscheduling\u002F).\"\n  - name: ReplyPath\n    in: body\n    type: string\n    required: false\n    example: \"https:\u002F\u002Fexample.com\u002Fwire2air\u002Freplies\"\n    description: \"Your URL that receives replies from the recipient. Available case by case, with the advanced developer API only.\"\n  - name: BatchName\n    in: body\n    type: string\n    required: false\n    description: \"For bulk sends only: a name for the batch.\"\n---\n::\n\nThe documentation lists these names in capitals (`VERSION`, `USERID` …) and uses lower case in its examples; the examples here use lower case for the same reason.\n\n## Message length and characters\n\n::callout{type=\"pending\" question=\"OQ-15\"}\nThis page used to say that messages longer than 160 characters are rejected (contact sales to send longer ones), that each 160-character message costs one credit, and that `~ @ # % + = \u002F \\` and the line break `\\r\\n` count as two characters. The [encoding guide](\u002Fdocs\u002Fguides\u002Fencoding\u002F) describes up to six concatenated parts and the standard GSM 03.38 rule, under which only `~` and `\\` of that list count as two. Engineering has been asked which rule this endpoint applies.\n::\n\nThe previous docs listed these characters as allowed in messages and subjects: `a-z`, `A-Z`, `0-9` and `. , : ; ! ? ( ) ~ = + - _ \\ \u002F @ $ # & % ' \"`. For a line break, use `\\r\\n`, for example `Your class is scheduled on\\r\\nJuly 24th @ 7:00PM.`\n\n## Examples\n\n::code-group\n```bash [cURL]\ncurl \"https:\u002F\u002Fmsgapi.wire2air.com\u002Fsmsapi\u002Fsubmitsm.aspx\" \\\n  --data-urlencode \"version=2.0\" \\\n  --data-urlencode \"userid=YOUR_USERID\" \\\n  --data-urlencode \"password=YOUR_PASSWORD\" \\\n  --data-urlencode \"vasid=YOUR_VASID\" \\\n  --data-urlencode \"from=27126\" \\\n  --data-urlencode \"to=12121234567\" \\\n  --data-urlencode \"text=Your order has shipped.\"\n```\n```python [Python 3]\nimport urllib.error\nimport urllib.parse\nimport urllib.request\n\nparams = urllib.parse.urlencode({\n    \"version\": \"2.0\",\n    \"userid\": \"YOUR_USERID\",\n    \"password\": \"YOUR_PASSWORD\",\n    \"vasid\": \"YOUR_VASID\",\n    \"from\": \"27126\",\n    \"to\": \"12121234567\",\n    \"text\": \"Your order has shipped.\",\n})\nrequest = urllib.request.Request(\n    \"https:\u002F\u002Fmsgapi.wire2air.com\u002Fsmsapi\u002Fsubmitsm.aspx\",\n    data=params.encode(\"utf-8\"),\n    method=\"POST\",\n)\n\ntry:\n    with urllib.request.urlopen(request, timeout=30) as response:\n        print(response.status, response.read().decode(\"utf-8\"))\nexcept urllib.error.HTTPError as error:\n    print(error.code, error.read().decode(\"utf-8\"))\n```\n```javascript [Node]\nconst params = new URLSearchParams({\n  version: \"2.0\",\n  userid: \"YOUR_USERID\",\n  password: \"YOUR_PASSWORD\",\n  vasid: \"YOUR_VASID\",\n  from: \"27126\",\n  to: \"12121234567\",\n  text: \"Your order has shipped.\",\n});\n\nconst response = await fetch(\"https:\u002F\u002Fmsgapi.wire2air.com\u002Fsmsapi\u002Fsubmitsm.aspx\", {\n  method: \"POST\",\n  body: params, \u002F\u002F sent as application\u002Fx-www-form-urlencoded\n});\nconsole.log(response.status, await response.text());\n```\n```php [PHP]\n\u003C?php\n\n$params = http_build_query([\n    'version' => '2.0',\n    'userid' => 'YOUR_USERID',\n    'password' => 'YOUR_PASSWORD',\n    'vasid' => 'YOUR_VASID',\n    'from' => '27126',\n    'to' => '12121234567',\n    'text' => 'Your order has shipped.',\n]);\n\n$ch = curl_init('https:\u002F\u002Fmsgapi.wire2air.com\u002Fsmsapi\u002Fsubmitsm.aspx');\ncurl_setopt_array($ch, [\n    CURLOPT_POST => true,\n    CURLOPT_POSTFIELDS => $params,\n    CURLOPT_RETURNTRANSFER => true,\n    CURLOPT_TIMEOUT => 30,\n]);\n\n$body = curl_exec($ch);\nif ($body === false) {\n    echo 'Request failed: ' . curl_error($ch) . PHP_EOL;\n} else {\n    echo curl_getinfo($ch, CURLINFO_HTTP_CODE) . ' ' . $body . PHP_EOL;\n}\ncurl_close($ch);\n```\n```csharp [C#]\nusing System;\nusing System.Collections.Generic;\nusing System.Net.Http;\n\nvar parameters = new Dictionary\u003Cstring, string>\n{\n    [\"version\"] = \"2.0\",\n    [\"userid\"] = \"YOUR_USERID\",\n    [\"password\"] = \"YOUR_PASSWORD\",\n    [\"vasid\"] = \"YOUR_VASID\",\n    [\"from\"] = \"27126\",\n    [\"to\"] = \"12121234567\",\n    [\"text\"] = \"Your order has shipped.\",\n};\n\nusing var client = new HttpClient();\nusing var request = new HttpRequestMessage(HttpMethod.Post, \"https:\u002F\u002Fmsgapi.wire2air.com\u002Fsmsapi\u002Fsubmitsm.aspx\")\n{\n    Content = new FormUrlEncodedContent(parameters),\n};\n\nusing var response = await client.SendAsync(request);\nConsole.WriteLine($\"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}\");\n```\n::\n\n::callout{type=\"warning\"}\nThe API also accepts `GET`, but then your password travels in the URL and is written to server and proxy logs. Use `POST`, as above.\n::\n\n## Response\n\nThe response is one line of plain text.\n\n::code-group{kind=\"response\"}\n```text [Success]\nJOBID: [MOBILENUMBER]:[SMSID]\n```\n```text [Failed authentication]\nERR: 301: Failed authentication\n```\n```text [Not enough credits]\nERR: 305: Not enough credits\n```\n::\n\n| Response | Meaning |\n|---|---|\n| `JOBID: [MOBILENUMBER]:[SMSID]` | Accepted. `SMSID` is the message's reference. |\n| `ERR: 301: Failed authentication` | Wrong user ID, password or VASID. |\n| `ERR: 305: Not enough credits` | Top up your account. |\n\nOnly these two errors are documented for this endpoint. See [Errors](\u002Fdocs\u002Ferrors\u002F#http-api-error-codes) for the codes other HTTP API endpoints return.\n",{"title":5,"description":1456},"docs\u002F09.http-api\u002F02.send-sms","2026-10-06","4TiT144Z-QHg3jbRE5aCCevC_lO00-gAswYY21QSMTA",[1467],{"title":1468,"path":1469,"stem":1470,"children":1471,"navTitle":1473,"group":1458,"status":1474},"Wire2Air developer docs","\u002Fdocs","docs\u002F01.index",[1472,1475,1479,1483,1486,1490,1509,1532,1550,1589,1602],{"title":1468,"path":1469,"stem":1470,"navTitle":1473,"group":1458,"status":1474},"Overview","current",{"title":1476,"path":1477,"stem":1478,"navTitle":1458,"group":1476,"status":1474},"Getting started","\u002Fdocs\u002Fgetting-started","docs\u002F02.getting-started",{"title":1480,"path":1481,"stem":1482,"navTitle":1458,"group":1476,"status":1474},"Authentication","\u002Fdocs\u002Fauthentication","docs\u002F03.authentication",{"title":1444,"path":1484,"stem":1485,"navTitle":1458,"group":1476,"status":1474},"\u002Fdocs\u002Ferrors","docs\u002F04.errors",{"title":1487,"path":1488,"stem":1489,"navTitle":1458,"group":1476,"status":1474},"Rate limits","\u002Fdocs\u002Frate-limits","docs\u002F05.rate-limits",{"title":1491,"navTitle":1458,"group":1458,"status":1474,"path":1492,"stem":1493,"children":1494,"page":1508},"Guides","\u002Fdocs\u002Fguides","docs\u002F06.guides",[1495,1500,1504],{"title":1496,"path":1497,"stem":1498,"navTitle":1499,"group":1458,"status":1474},"Character encoding and message length","\u002Fdocs\u002Fguides\u002Fencoding","docs\u002F06.guides\u002F01.encoding","Encoding and length",{"title":1501,"path":1502,"stem":1503,"navTitle":1458,"group":1458,"status":1474},"Bulk messaging","\u002Fdocs\u002Fguides\u002Fbulk-messaging","docs\u002F06.guides\u002F02.bulk-messaging",{"title":1505,"path":1506,"stem":1507,"navTitle":1458,"group":1458,"status":1474},"Scheduling messages","\u002Fdocs\u002Fguides\u002Fscheduling","docs\u002F06.guides\u002F03.scheduling",false,{"title":1510,"path":1511,"stem":1512,"children":1513,"navTitle":1458,"group":1458,"status":1474},"REST API v1","\u002Fdocs\u002Frest","docs\u002F07.rest\u002F01.index",[1514,1515,1528],{"title":1510,"path":1511,"stem":1512,"navTitle":1473,"group":1458,"status":1474},{"title":1516,"navTitle":1458,"group":1458,"status":1474,"path":1517,"stem":1518,"children":1519,"page":1508},"Messages","\u002Fdocs\u002Frest\u002Fmessages","docs\u002F07.rest\u002F02.messages",[1520,1524],{"title":1521,"path":1522,"stem":1523,"navTitle":1458,"group":1458,"status":1474},"Send a message","\u002Fdocs\u002Frest\u002Fmessages\u002Fsend","docs\u002F07.rest\u002F02.messages\u002F01.send",{"title":1525,"path":1526,"stem":1527,"navTitle":1458,"group":1458,"status":1474},"List received messages","\u002Fdocs\u002Frest\u002Fmessages\u002Flist","docs\u002F07.rest\u002F02.messages\u002F02.list",{"title":1529,"path":1530,"stem":1531,"navTitle":1458,"group":1458,"status":1474},"Campaigns","\u002Fdocs\u002Frest\u002Fcampaigns","docs\u002F07.rest\u002F03.campaigns",{"title":1533,"path":1534,"stem":1535,"children":1536,"navTitle":1458,"group":1458,"status":1474},"Webhooks","\u002Fdocs\u002Fwebhooks","docs\u002F08.webhooks\u002F01.index",[1537,1538,1542,1546],{"title":1533,"path":1534,"stem":1535,"navTitle":1473,"group":1458,"status":1474},{"title":1539,"path":1540,"stem":1541,"navTitle":1458,"group":1458,"status":1474},"Inbound SMS","\u002Fdocs\u002Fwebhooks\u002Finbound-sms","docs\u002F08.webhooks\u002F02.inbound-sms",{"title":1543,"path":1544,"stem":1545,"navTitle":1458,"group":1458,"status":1474},"Inbound SMS and MMS","\u002Fdocs\u002Fwebhooks\u002Finbound-mms","docs\u002F08.webhooks\u002F03.inbound-mms",{"title":1547,"path":1548,"stem":1549,"navTitle":1458,"group":1458,"status":1474},"Delivery reports","\u002Fdocs\u002Fwebhooks\u002Fdelivery-reports","docs\u002F08.webhooks\u002F04.delivery-reports",{"title":1551,"path":1552,"stem":1553,"children":1554,"navTitle":1458,"group":1458,"status":19},"HTTP API","\u002Fdocs\u002Fhttp-api","docs\u002F09.http-api\u002F01.index",[1555,1556,1557,1561,1565,1569,1573,1577,1581,1585],{"title":1551,"path":1552,"stem":1553,"navTitle":1473,"group":1458,"status":19},{"title":5,"path":1460,"stem":1463,"navTitle":1458,"group":1458,"status":19},{"title":1558,"path":1559,"stem":1560,"navTitle":1458,"group":1458,"status":19},"Send MMS","\u002Fdocs\u002Fhttp-api\u002Fsend-mms","docs\u002F09.http-api\u002F03.send-mms",{"title":1562,"path":1563,"stem":1564,"navTitle":1458,"group":1458,"status":19},"Credit balance","\u002Fdocs\u002Fhttp-api\u002Fcredit-balance","docs\u002F09.http-api\u002F04.credit-balance",{"title":1566,"path":1567,"stem":1568,"navTitle":1458,"group":1458,"status":19},"Carrier lookup","\u002Fdocs\u002Fhttp-api\u002Fcarrier-lookup","docs\u002F09.http-api\u002F05.carrier-lookup",{"title":1570,"path":1571,"stem":1572,"navTitle":1458,"group":1458,"status":19},"Keyword lookup","\u002Fdocs\u002Fhttp-api\u002Fkeyword-lookup","docs\u002F09.http-api\u002F06.keyword-lookup",{"title":1574,"path":1575,"stem":1576,"navTitle":1458,"group":1458,"status":19},"Keyword register","\u002Fdocs\u002Fhttp-api\u002Fkeyword-register","docs\u002F09.http-api\u002F07.keyword-register",{"title":1578,"path":1579,"stem":1580,"navTitle":1458,"group":1458,"status":19},"Keyword credits","\u002Fdocs\u002Fhttp-api\u002Fkeyword-credits","docs\u002F09.http-api\u002F08.keyword-credits",{"title":1582,"path":1583,"stem":1584,"navTitle":1458,"group":1458,"status":19},"Subscribe user","\u002Fdocs\u002Fhttp-api\u002Fsubscribe-user","docs\u002F09.http-api\u002F09.subscribe-user",{"title":1586,"path":1587,"stem":1588,"navTitle":1458,"group":1458,"status":19},"Send invitation","\u002Fdocs\u002Fhttp-api\u002Fsend-invitation","docs\u002F09.http-api\u002F10.send-invitation",{"title":1590,"navTitle":1458,"group":1458,"status":1474,"path":1591,"stem":1592,"children":1593,"page":1508},"Integrations","\u002Fdocs\u002Fintegrations","docs\u002F10.integrations",[1594,1598],{"title":1595,"path":1596,"stem":1597,"navTitle":1458,"group":1458,"status":1474},"RSA Authentication Manager","\u002Fdocs\u002Fintegrations\u002Frsa-authentication-manager","docs\u002F10.integrations\u002F01.rsa-authentication-manager",{"title":1599,"path":1600,"stem":1601,"navTitle":1458,"group":1458,"status":1474},"Zapier","\u002Fdocs\u002Fintegrations\u002Fzapier","docs\u002F10.integrations\u002F02.zapier",{"title":1603,"path":1604,"stem":1605,"navTitle":1458,"group":1458,"status":1474},"Changelog","\u002Fdocs\u002Fchangelog","docs\u002F11.changelog",[1607,1609],{"title":1551,"path":1552,"stem":1553,"description":1608,"children":-1},"The legacy Wire2Air HTTP API (version 2.0) sends credentials as request parameters and answers in plain text. Hosts, credentials, request and response conventions.",{"title":1558,"path":1559,"stem":1560,"description":1610,"children":-1},"Send a picture message with the legacy HTTP API (submitmms.aspx). Wire2Air fetches the files from your server.",[1612,1616,1619,1622,1625,1628,1631,1634],[1613,1614],"path",{"d":1615},"M3 21l18 0",[1613,1617],{"d":1618},"M3 10l18 0",[1613,1620],{"d":1621},"M5 6l7 -3l7 3",[1613,1623],{"d":1624},"M4 10l0 11",[1613,1626],{"d":1627},"M20 10l0 11",[1613,1629],{"d":1630},"M8 14l0 3",[1613,1632],{"d":1633},"M12 14l0 3",[1613,1635],{"d":1636},"M16 14l0 3",[1638,1640,1643,1646,1649],[1613,1639],{"d":1615},[1613,1641],{"d":1642},"M3 7v1a3 3 0 0 0 6 0v-1m0 1a3 3 0 0 0 6 0v-1m0 1a3 3 0 0 0 6 0v-1h-18l2 -4h14l2 4",[1613,1644],{"d":1645},"M5 21l0 -10.15",[1613,1647],{"d":1648},"M19 21l0 -10.15",[1613,1650],{"d":1651},"M9 21v-4a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v4",[1653,1656,1659,1662],[1613,1654],{"d":1655},"M3 13a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -6",[1613,1657],{"d":1658},"M15 9a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -10",[1613,1660],{"d":1661},"M9 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v14a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -14",[1613,1663],{"d":1664},"M4 20h14",[1666,1669],[1613,1667],{"d":1668},"M10 3.2a9 9 0 1 0 10.8 10.8a1 1 0 0 0 -1 -1h-6.8a2 2 0 0 1 -2 -2v-7a.9 .9 0 0 0 -1 -.8",[1613,1670],{"d":1671},"M15 3.5a9 9 0 0 1 5.5 5.5h-4.5a1 1 0 0 1 -1 -1v-4.5",[1673,1676,1679],[1613,1674],{"d":1675},"M7 8l-4 4l4 4",[1613,1677],{"d":1678},"M17 8l4 4l-4 4",[1613,1680],{"d":1681},"M14 4l-4 16",[1683,1686,1690,1693],[1613,1684],{"d":1685},"M9 15l6 -6",[1613,1687],{"d":1688,"fill":1689},"M9 9.5a.5 .5 0 1 0 1 0a.5 .5 0 1 0 -1 0","currentColor",[1613,1691],{"d":1692,"fill":1689},"M14 14.5a.5 .5 0 1 0 1 0a.5 .5 0 1 0 -1 0",[1613,1694],{"d":1695},"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",[1697,1700,1703,1706],[1613,1698],{"d":1699},"M19.5 12.572l-7.5 7.428l-7.5 -7.428a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572",[1613,1701],{"d":1702},"M12 6l-3.293 3.293a1 1 0 0 0 0 1.414l.543 .543c.69 .69 1.81 .69 2.5 0l1 -1a3.182 3.182 0 0 1 4.5 0l2.25 2.25",[1613,1704],{"d":1705},"M12.5 15.5l2 2",[1613,1707],{"d":1708},"M15 13l2 2",[1710,1713,1716,1719],[1613,1711],{"d":1712},"M12 18h-7a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v7.5",[1613,1714],{"d":1715},"M3 6l9 6l9 -6",[1613,1717],{"d":1718},"M15 18h6",[1613,1720],{"d":1721},"M18 15l3 3l-3 3",[1723,1726],[1613,1724],{"d":1725},"M21 14l-3 -3h-7a1 1 0 0 1 -1 -1v-6a1 1 0 0 1 1 -1h9a1 1 0 0 1 1 1v10",[1613,1727],{"d":1728},"M14 15v2a1 1 0 0 1 -1 1h-7l-3 3v-10a1 1 0 0 1 1 -1h2",[1730,1733],[1613,1731],{"d":1732},"M15 12.9a5 5 0 1 0 -3.902 -3.9",[1613,1734],{"d":1735},"M15 12.9l-3.902 -3.899l-7.513 8.584a2 2 0 1 0 2.827 2.83l8.588 -7.515",[1737,1740,1743,1746],[1613,1738],{"d":1739},"M15 8h.01",[1613,1741],{"d":1742},"M3 6a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v12a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3v-12",[1613,1744],{"d":1745},"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l5 5",[1613,1747],{"d":1748},"M14 14l1 -1c.928 -.893 2.072 -.893 3 0l3 3",[1750,1753,1756,1759,1762,1765],[1613,1751],{"d":1752},"M7 12l5 5l-1.5 1.5a3.536 3.536 0 1 1 -5 -5l1.5 -1.5",[1613,1754],{"d":1755},"M17 12l-5 -5l1.5 -1.5a3.536 3.536 0 1 1 5 5l-1.5 1.5",[1613,1757],{"d":1758},"M3 21l2.5 -2.5",[1613,1760],{"d":1761},"M18.5 5.5l2.5 -2.5",[1613,1763],{"d":1764},"M10 11l-2 2",[1613,1766],{"d":1767},"M13 14l-2 2",[1769,1772],[1613,1770],{"d":1771},"M22 9l-10 -4l-10 4l10 4l10 -4v6",[1613,1773],{"d":1774},"M6 10.6v5.4a6 3 0 0 0 12 0v-5.4",[1776,1779,1782],[1613,1777],{"d":1778},"M18 8a3 3 0 0 1 0 6",[1613,1780],{"d":1781},"M10 8v11a1 1 0 0 1 -1 1h-1a1 1 0 0 1 -1 -1v-5",[1613,1783],{"d":1784},"M12 8l4.524 -3.77a.9 .9 0 0 1 1.476 .692v12.156a.9 .9 0 0 1 -1.476 .692l-4.524 -3.77h-8a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h8",[1786,1789,1792,1795,1798],[1613,1787],{"d":1788},"M6 4h-1a2 2 0 0 0 -2 2v3.5a5.5 5.5 0 0 0 11 0v-3.5a2 2 0 0 0 -2 -2h-1",[1613,1790],{"d":1791},"M8 15a6 6 0 1 0 12 0v-3",[1613,1793],{"d":1794},"M11 3v2",[1613,1796],{"d":1797},"M6 3v2",[1613,1799],{"d":1800},"M18 10a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",[1802,1805,1808,1811,1814,1817],[1613,1803],{"d":1804},"M8 21l8 0",[1613,1806],{"d":1807},"M12 17l0 4",[1613,1809],{"d":1810},"M7 4l10 0",[1613,1812],{"d":1813},"M17 4v8a5 5 0 0 1 -10 0v-8",[1613,1815],{"d":1816},"M3 9a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",[1613,1818],{"d":1819},"M17 9a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",[1821,1824,1827,1830],[1613,1822],{"d":1823},"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0",[1613,1825],{"d":1826},"M16 19h6",[1613,1828],{"d":1829},"M19 16v6",[1613,1831],{"d":1832},"M6 21v-2a4 4 0 0 1 4 -4h4",3529977955]