# Setting Up Real-Time Error Notifications via API

**URL:** <https://community.hubspot.com/t/setting-up-real-time-error-notifications-via-api/122996>\
**Category:** APIs & Integrations\
**Tags:** free\
**Created:** [December 24, 2024, 11:28pm UTC](https://community.hubspot.com/t/setting-up-real-time-error-notifications-via-api/122996 "2024-12-24T23:28:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NKedar](https://avatars.discourse-cdn.com/v4/letter/n/e99b99/32.png) [@NKedar](https://community.hubspot.com/u/NKedar)\
**Post date:** [December 24, 2024, 11:28pm UTC](https://community.hubspot.com/t/setting-up-real-time-error-notifications-via-api/122996/1 "2024-12-24T23:28:22Z")

</div>

Hi HubSpot Community,

I’m exploring HubSpot’s API capabilities and would like to know if there’s a built-in system or workaround for creating a subscription to real-time error notifications. Specifically, I’m interested in notifications for:

- Campaign or workflow failures
- Automation errors
- Email delivery issues (e.g., bounces, rejections, or spam complaints)
- Integration or API-related errors

Does the platform support this type of subscription? If so, I’d greatly appreciate any documentation or guidance on how to set it up.

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![PamCotton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pamcotton/32/47916_2.png) [@PamCotton](https://community.hubspot.com/u/PamCotton)\
**Post date:** [December 27, 2024, 2:33pm UTC](https://community.hubspot.com/t/setting-up-real-time-error-notifications-via-api/122996/2 "2024-12-27T14:33:44Z")

</div>

Hey @NKedar, happy Friday!

I checked more information, and HubSpot doesn’t currently provide built-in subscriptions specifically for real-time error notifications via API. I would recommend our Email events API ([More information here](https://developers.hubspot.com/docs/guides/api/analytics-and-events/email-analytics#deferred)) use this to track email delivery issues like bounces, rejections, and spam complaints by subscribing to relevant events.

For workflows and automation, you can create custom[webhook notifications](https://developers.hubspot.com/docs/guides/api/app-management/webhooks) triggered by specific errors or conditions.

I hope this helps,

Pam
