Message-ID: <1174798600.15735.1614957896744.JavaMail.confluence@wiki> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_15734_434053929.1614957896744" ------=_Part_15734_434053929.1614957896744 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Authentication

Authentication

=20
=20
=20
=20

 

=20
=20
=20
=20
=20
=20

For authentication, you must provide your API username and password. Thi= s is different to the account username and password that you use to log on = to the web interface.

=20
=20
=20
=20
=20
=20

You can find your API username and password via the web interface, Messa= ge Box:

=20
=20
=20
=20
=20
=20
=20

http://messagebox.textmarketer.co.uk/ (Account Setti= ngs > API Config tab)

=20
=20
=20
=20
=20
=20
=20
=20

There are a couple of ways to pass this information to the API. The firs= t is via the GET/POSTvariables. For example you could put them in the GET v= ariables like this:

=20
=20
=20
=20
=20
=20
=20

http://api.textm= arketer.co.uk/services/rest/credits?username=3Du&password=3Dp=20

=20
=20
=20
=20
=20
=20

When using the POST action, you would need to add the username/password = variables to the POST arguments instead.

=20
=20
=20
=20
=20
=20

The second option, for those who prefer it, is to use HTTP Basic Authentication.

=20
=20
=20
=20
=20
=20

Security

=20
=20
=20
=20
=20
=20

All the REST API services are available using an SSL connection, i.e. us= ing https URLs instead of http.

=20
=20
=20
=20 =20
=20
=20

 

=20
=20
=20
=20

 

=20
=20
=20
------=_Part_15734_434053929.1614957896744--