Manage user profiles and communication channels programmatically with the Go 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.
users.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
Unset
Append
Remove
Set Once
Increment
Add/Remove/Unset
methods, don’t forget to call user.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.
limit
, before
, after
limit
, before
, after