/
SMS Service (java)
NOTE: Trivore ID Documentation has moved to https://trivoreid.com
The content on this site IS OUT OF DATE!
This space has been archived!
Please go ahead to the new site!
SMS Service (java)
List of all options:
Get list of all supported regions
Send SMS message
Send SMS message to a user
Initialize service
TrivoreID sdk = TrivoreID.mgmtApiClient();
SMSServiceImpl smsService = new SMSServiceImpl(sdk.smsService());
Get list of all supported regions
List<Region> regions = smsService.getSupportedRegions();
Send SMS message
SMSMessage message = new SMSMessage();
message.setTo("+3584012345678");
message.setText("Example text body.");
smsService.send(message);
Send SMS message to a user
Send SMS message to all group members
Sending SMS message to all primary (first) mobile numbers of users that belong to the defined groups.