Authentication requires a key, which can be acquired by either of the two options:
If you have access to the Azuga web portal, login and navigate to Admin>Users and look for the API key for your account under the column "Webservices API key"
If you do not have access to the portal, please reach out to [email protected] for the next steps.
You will need to include your 64 bit encoded key in every request.
Using BASIC Authentication.
All request should contain the following header.
Authorization: Basic ^Base64EncodedAPIKey^
byte[] authEncBytes = Base64.encodeBase64("2".getBytes());
String authStringEnc = new String(authEncBytes);