Question

How can I make a request to an API and process the response to integrate it into a form in Unbounce

  • 20 April 2024
  • 1 reply
  • 13 views

Badge

Hello, I want to add some checkboxes that are dynamic to my form but I don't know how to make an API call from unbounce to integrate them into the form that I already have previously created there.


1 reply

Userlevel 7
Badge +3

Hey @userGnovus

It depends :)
(my favorite answer) 

But it really does depend on the actual API. 

Most APIs require some form of server-to-server authentication for security reasons. Unbounce being a front-end builder doesn’t give you access to an actual server you can use to authenticate with the API. 

Therefore, you’ll need your own server to call up the API. You can still make the request from your Unbounce page to your server and from there to the API. 

As far as adjusting the actual form… if you are using the native Unbounce forms you’ll need a lot of custom coding to make it work. Again, not impossible, but highly dependent on your actual use case and needs. 

 

Reply