Skip to end of metadata
Go to start of metadata

 

Below is a list of all the functions currently available in the latest version of the JAVA wrapper library.

NameMeaning
addGroupCreate a new 'send' group 
addNumbersToGroupAdd new numbers to a 'send' group 
createSubAccount

Create a new account that is a sub-account of your main account

getCreditsGet the number of credits available in your account 
getDeliveryReport Get the contents of one/several delivery report(s)
getDeliveryReportsGet a list of the available delivery reports 
getGroupGet the numbers present in a send/merge group 
getGroups Get a list of the available 'send' and 'merge' groups 
getKeyword

Get the availability of a keyword for use on our 88802 short code number

getLastErrorsGet the errors returned from the last call to the API 
isLoginValid 

Check the username/password credentials used are valid

sendSMSSend an SMS to a given recipient
deleteSMSDelete a previously scheduled SMS
transferCreditsToAccountTransfer credits to a specified account number
transferCreditsToUser Transfer credits to a specified account username

 

 

 All function call examples should be placed in a Java try-catch block, as described in Handling errors . Each example assumes you have already instanciated the wrapper object and assigned it to the variable tmClient:

Example