How do I send an API call via http module?

You can use the HTTP module to send an API call request to generate your media content. This serves as an Action Module that can be placed at the beginning of a scenario, or in conjunction with a scenario to act as an interim handler of data.

  1. Create a new scenario or go to your existing scenario
  2. Add module and select HTTP
  3. Under Actions, choose Make a request
  4. Fill out the settings fields
    1. URL: https://api.bannerbear.com/v2/images
    2. Method: POST
    3. Add Header:
      1. Name: Authorization
      2. Value: Bearer Your_Project_API_Key
    4. Body type: Raw
    5. Content type: JSON (application/json)
    6. Tick Parse response box
  5. Next is to fill the Request content field with your template details. Please ensure that you are using a template associated with the Project API key you used.
    1. Head to your template
    2. Scroll down to the API Console
    3. Copy the entire code
    4. Paste the code in the Request content field
      1. You can manually map the layers, or
      2. Select variables (applicable if HTTP is connected to a trigger module, e.g. Watch RSS feed item ↗)
  6. Click OK to save the settings
  7. Click Run once and go back to your Bannerbear project to view and verify the successful generation of your media content

The next step you can do is set up an API call to retrieve the URL link of the newly generated image so you can connect it to other modules. 

For more tutorials about Integromat integration, you may check our blog page ↗.

Need Help?

Contact us anytime

Customer Support