Can I use webhooks to be notified of missing images?

Bannerbear outgoing webhooks have a bannerbear-image-fail flag on its headers.

This flag indicates that a failure happened at some point. This flag gets added even if an external image fails and is subsequently successfully loaded via our internal retry logic.

You can use utilize this flag to build your own notification or retry logic for such cases.

Note: Try to implement some kind of maximum retry count as it could result in an endless loop if the reason for failure is an external image that is non-existing.

Have a question?

Contact our customer support team anytime via chat or email