Is there a way to import contacts through the API who do not have an email?


(Josh Hirahara) #1

When importing contacts manually via csv, I can import contacts that only have a phone number (no email), but when we import them through the API, it requires an email. Is there a workaround for this so I can import contacts who do not have an email via the API?


(Tom Scott) #2

So long as you have either an email address or a phone number, you should be able to add a contact via the API.
Contact must contain at least one item in email_addresses or phone_numbers and country_code is required if region is specified.
https://developer.infusionsoft.com/docs/rest/#!/Contact/createContactUsingPOST


(John Borelli) #3

Yeah, creating a contact does not require an email address to be used…it is very rare that it is a good idea, however, given that this is one of the few ways available to uniquely identify contacts, but there are some out side the norm cases.


(Josh Hirahara) #4

Got it. Thanks Tom and John!