Message-ID: <1556398962.15697.1614957662545.JavaMail.confluence@wiki> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_15696_1819876420.1614957662545" ------=_Part_15696_1819876420.1614957662545 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
In your preferred programming l= anguage all you need to do is generate a GET request like this:
https://api.textmarketer.co.uk/gateway/?username= =3Du&password=3Dp&to=3D4477777777&message=3Dtest+message&or= ig=3Dmy_script
=20If you want to send to multiple= numbers, use a comma delimited list. Here is an example:
https://api.textmarketer.co.uk/gateway/?username= =3Du&password=3Dp&to=3D4477777777,4477777778,4477777779&message= =3Dtest+message&orig=3Dmy_script
=20Beware that, due to limitations= on the HTTP protocol, sending to multiple numbers is limited to 500 recipi= ents. So, if you want to send the same SMS to more than 500 recipients, e.g= . 750 recipients, you'll have to send it in two batches: 500 + 250.<= /p>
Pa= rameter | Comment |
---|---|
us= ername | Found in your api settings page |
pa= ssword | Found in your api settings page |
or= ig | Who the message is from (the originator or se= nder ID). This can be 11 alpha-numeric or 16 numeric only characters. = td> |
to= | The recipient (or recipients) you are sending= the message to. If you want to send to multiple numbers, use a comma delim= ited list. Try to include the international code, for example 44 in the UK.= Beware that due to limitations on the HTTP protocol, sending to multiple n= umbers is limited to 500 recipients. So, if you want to send the same SMS t= o 750 recipients, you'll have to send it in two batches: 500 + 250. |
me= ssage | Up to 612 characters, messages above 160 char= acters require more credit. |
va= lidity (optional) | Integer 1-72 this represents the number of ho= urs before the text message will expire in it's undelivered status, the def= ault is 72. |
cu= stom (optional) | String 1-20 chars this is a custom value you = can set to group data together in your delivery reporting, for example you = might want to individually bill / report several of your clients. |
sc= heduled (optional)* | Integer (unixtime stamp) the date and time yo= u want the SMS to be sent. If an unknown value or date in the past is set, = the message will be sent immediately. |
op= tion | Can be blank or set to xml. |
ch= eck_stop | If set to 'true', prior to sending, number(s)= will be checked against the STOP group. |
|
|
*to view your scheduled sends, log in to the customer s= ystem and go to =E2=80=9Creports=E2=80=9D =3D>=E2=80=9Csent= sms=E2=80=9D.
You can also cancel or amend the queued sms.