Now put the following code somewhere in a Java file and execute it to send an SMS – don't forget to substitute your own API username and password and a real mobile number to send to!
You can find your API username and password (which may be different to your web interface username/password) via your account: https://messagebox.textmarketer.co.uk/#!accountsettings/
You must know!
Our example code is an illustration of how you might integrate with our systems and is not certified for production environments. You are responsible for testing and QA.