APIs & Integrations

vvergnolle
Member

Batch create contacts without email

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 ?

0 Upvotes
3 Replies 3
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Batch create contacts without email

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.

0 Upvotes
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Batch create contacts without email

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:

0 Upvotes
vvergnolle
Member

Batch create contacts without email

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) ?

0 Upvotes