0

Is there a way to pull a contact's id from infusionsoft using the infusionsoft gem if I have the contact email?

1 Answers1

0
selected_fields = %w(:id)
results = Infusionsoft.contact_find_by_email("johndoe@example.com", selected_fields)

The results from this API call would be:

[{"id" => "9999"}]

See https://developer.infusionsoft.com/docs/xml-rpc/#contact-search-for-a-contact-by-an-email-address