How do I create an animated gif via API?

POST

You can create animated gifs by sending a POST request to /animated_gifs with a template uid (unique ID) and a list of template modifications you want to apply.

GET 

You can poll the GET request to the /animated_gifs/:uid endpoint for status updates and to retrieve the animated gif object referenced by it's uid. Animated gifs are usually rendered within a few seconds. When completed, the status changes to completed.

Using Webhooks

A webhook allows you to be notified when the animated gif is rendered. Use the webhook_url parameter to tell Bannerbear where to POST the full Animated gif object, once the rendering is completed. The animated gif object will be posted to your webhook as JSON.

Check the API Reference ↗ page for more information on this.

Need Help?

Contact us anytime

Customer Support