API webhook with Bennabear

Hello everyone,

I am trying to learn API on Bubble with the Bennabear services ( https://app.bannerbear.com/ ).

I have to send my personal images (pictures or whatever) on Bennabear for puting them on a Bennabear template. It is an AP Request and I achieved to make it.

After that, I have to show the template generated on Bubble in asynchronous. So I guess I have to do a webhook. I am blocking at this point. I don’t know how to make it.
Below my API Connector for Bennabear

Below the Bennabear API documentation : $

Thank you so much :slight_smile:

You have to use backend workflows for setting up webhooks. The API connector is setup to communicate with APIs and not to receive requests. Please have a look at this stripe example.

Hello, Thank you for the Youtube Video. I watched it but the main difference with Bennabear that I cannot parameter the API URL in the Bennabear website.
So it means all the parameters, even the webhooks, are on the Bubble side.

Do you have an idea how to make it ?
Thank you

You have to follow the following steps:

  • In the API connector setup a call to "Create a Webhook as per docs.
  • Second, you have to go your Backend WorkflowsNew API WorkflowCheck the 3 checkboxesSet parameter to Detect Data request
  • Click the detect data.

  • Copy the URL as the URL parameter for the Create a Webhook from the first bullet point and add the event parameter as template_created as per the docs.
  • Once you go live you need to setup authentication for your API call and Remove “version-test” from your webhook url.
2 Likes