Skip to main content

Until API version 1.4.0 I was able to create users with the same email. For the uniqueness was used user_ID and worked fine, because in some cases I need to share the same email between different users.

After update API 2.0.0 it is not possible to create a `Contact` with the same email.

( "Users API & Leads API are deprecated and replaced with Contacts API. ")

Is there a way (or workaround) to create a `Contact` which can share the same email ?

Is it expected it is not possible to create a new `Contact` with the same email from archived `Contact` ?

Hello @aleksei s11​ , It's possible to create contacts with the same email address only if you are tracking users with "user_id".

 

During creation contacts with API, just put:

 "external_id": "1000" (example) parameter and it will work.

 

More information can be found here:

https://www.intercom.com/help/en/articles/268-what-is-user_id-and-why-would-i-want-to-use-it


Hi Roy, thank you for a quick response.

It works, thanks.👍


It is nice that it is possible to set it via HTTP request, but it would be perfect if we would have this property in latest JAVA SDK 2.8.1 but unfortunately it is not there.

I have created an issue in Github, https://github.com/intercom/intercom-java/issues/286

Maybe it will be added to the next version release?

 

Even More 🙂: I have already created a pull request on Github, I think it should speed up the process:

https://github.com/intercom/intercom-java/pull/272

 

 

Note: I refer to this java code ->

https://github.com/intercom/intercom-java/blob/7303ae2d4701c73f574ccfb32a0e5d4c4d8b36f8/intercom-java/src/main/java/io/intercom/api/Contact.java#L205


Reply