APIs & Integrations

NWilliams9
Participante

Post url Form Data into a 3rd Party Form

I’m trying to post form data TO a 3rd party form via HTTP Post but I can’t find out the first step in how. Please help! Thank you so much in advanced.

0 Me gusta
2 Respuestas 2
dbeau79
Colaborador | Partner nivel Diamond
Colaborador | Partner nivel Diamond

Post url Form Data into a 3rd Party Form

@NWilliams9 , more info would be helpful but I think your first step will  be to setup a global form event like this:

 

window.addEventListener('message', event => {
   if(event.data.type === 'hsFormCallback' && event.data.eventName === 'onFormSubmit') {
       <!-- Code that posts to your 3rd party form here -->
   }
});
dennisedson
Equipo de producto de HubSpot
Equipo de producto de HubSpot

Post url Form Data into a 3rd Party Form

@dbeau79 has been working with the forms API and might be able to add some insight for you, @NWilliams9 

It might be helpful to add some details about your setup.

0 Me gusta