APIs & Integrations

Jeromecollomb1
Member

Using Clearbit Logo API to fill a form

Hi there,

I'm trying to use the free company logo API from the good folks at Clearbit.
Basically I want users to be able to enter their company and the api will suggest them logos to choose.
At form submission, the info will then be passed on to hubspot as a new contact property.

The API is here but I have no idea how to use it in my form. Any help from the community appreciated!

Thanks,

0 Upvotes
1 Reply 1
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Using Clearbit Logo API to fill a form

Hi @Jeromecollomb,

If the visitor picks a logo before submitting the form, you could use JavaScript to populate a hidden form field with the logo's URL. You'd need to create a custom contact property to store the link, and then add the field to your form. Making calls to the Clearbit API would have to happen before submitting the form, and it'd be a completely separate process.

0 Upvotes