Viewing Alerts for Apps with the API

When app performance meets the criteria set by a rule for more than 30 seconds, an alert is sent to a configured TIBCO Cloud™ Integration webhook. The alert is also sent to the database and is stored for 24 hours. Use the API to retrieve alerts generated in the last 24 hours for apps in your organization.

Note: Alerts and notifications are supported only for TIBCO BusinessWorks and apps.

To view alerts for apps in your organization, you need the following: 

Subscription Locator — The Subscription Locator of the Organization you want to access. To find Subscription Locators for your organizations use the GET ​/v1​/userinfo method to return a list of all of the organizations for your OAuth Token with their Subscription Locators. You can use 0 as the Subscription Locator for the organization that owns the OAuth token.

Use the GET /v1/subscriptions/{subscriptionLocator}/alerts method to return information for each alert generated in the last 24 hours.

Use the optional appId parameter to return alerts triggered by a specific app.

Use the optional ruleId parameter to return alerts for a specific rule.

Role Requirements

Related Topics

Managing Apps with the TIBCO Cloud™ Integration API

App Alerts and Notifications