Hi everyone,
In one of my bubble project I needed to integrate a third-party API to store data into my brevo.The goal was to automatically add or update contacts in a Brevo list whenever a user signed up or submitted a form on my app. Integrating Brevo’s API with Bubble’s API Connector was more challenging than thought.
The main issues I faced -
Structuring the JSON body exactly Brevo’s API.
Adding the correct authorization headers using the API key.
To solve this, I first tested the Brevo API separately using Postman and I use the correct post method and set the content type to application/json. I also used Bubble’s dynamic values feature to send user inputs directly into the JSON body.
It worked successfully
Thanks
Sagar