Batch create contacts without email

batch

#1

Hi,

I'm trying to use the batch create or update API and it's look like that I can't create contacts without an email.

Actually I want to create contact if it doesn't exist (with email or not) or let it unchanged if the contact exist.

Is it possible to have this kind of behavior ?


#2

Hi @vvergnolle,

The batch create/update API requires an email address. While it's not recommended, you can create contacts without an email address using the single 'Create a contact' endpoint:


#3

Thanks for your response, actually I've seen this endpoint but is it recommended to call this url a hundred of times (instead of using the batch api) ?


#4

Hi @vvergnolle,

That's a tricky question. Strictly speaking, it's not recommended. But it's not really recommended to create contacts without an email either; there are always some use cases where it's fine to work around those recommendations. I'd be careful to make sure that you're remaining within the API limits detailed below, but other than that it's fine to use the single 'Create a contact' endpoint in lieu of the batch endpoint.