Manage user profiles and communication channels programmatically with the Java SDK.
distinct_id
. It’s best to map the same identifier in your DB with distinct_id
in SuprSend. Do not use identifiers that can be changed like email or phone number. You can view synced users by searching distinct_id
on Users page.
supr_client.user.get_instance
to instantiate user object.
user.save
method.
Add User Channels
user.add_*
method(s) to add user channels.Remove User Channels
user.remove_*
method(s) to remove channels.Remove Channel Types
Set Preferred language
Set preferred timezone
Set
Set Once
Unset
Append
Remove
Increment
add_*/remove_*/unset
methods, don’t forget to call users.save()
since user edit is async update and the changes will be sent to SuprSend only after calling this method.bulk_users
instance.
Use .append()
on bulk_users instance to add however-many-records to call in bulk.
distinct_id
distinct_id
. Delete action will take into immediate effect.
limit
,before
,after
limit
, before
, after