Creating contacts with API, Conflict with same email but different external_id

Hello there,
I’m currently upgrading from API V1.0 to V2.2. I’ve always used the “create user” route because it worked as both create and update, but it’s not the case anymore.

When I try to create a new Contact with role User, I always have a different external_id (a custom user_id created for my app, one for each account). And then the email address. But multiple accounts use the same email address. If create causes a conflict, I fallback to update.

But what worked in V1.0 doesn’t work in V2.2, I can’t create a user with the same email as another one even with a new external_id, and from my understanding, it should work.

My payload is as simple as that:
{
“role” : “user”,
“external_id”: “unique_custom_id”,
“email”: “existing@email.com
}

Is it not supposed to work this way? Thanks

Hey there, welcome to the forum! :wave:

Thanks for sharing this information with us. It should work with both an email and user_id in create as long as the user_id is unique. If this isn’t happening though, we’d love to take a closer look at this for you.

Could you please contact us through the Messenger on intercom.com so we can investigate this for you.

Thanks.