Hi,
We are currently integrating the chat SDK into our apps, and while reviewing the documentation, we came across the Identify Users page.
We have a few questions regarding the use of userId for identification, as we do not have user phone numbers in all cases and were hoping to use userId instead of email.
Specifically, we would like clarification on the following:
-
What is the
userId?- Is it an ID that we define within our system, or is it the contact ID generated by Front?
-
Behavior when using a custom
userId:- If the
userIdis defined by us, will Front create a new contact when it encounters theuserIdfor the first time, regardless of the email or phone provided in thecontactobject? - If so, how can we prevent the creation of duplicate contacts? We already have a large number of contacts in Front and want to avoid duplication.
- If the
-
Behavior when
userIdis defined by Front:- If the
userIdis generated by Front, will it simply add the email and phone provided in thecontactobject to the existing contact?
- If the
Having complete clarity on how userId works would be extremely helpful for us in implementing this integration effectively.
Thank you in advance for your assistance!
