Existing accounts will have access until June 19th, 2018.
Alerts are triggered using criteria you specify based on the HTTP request and response data for a given API call. These rules are evaluated after the request is completed (successfully or not). If a matching request is found, you are notified you via email, webhook or a connected service (Slack, HipChat, PagerDuty, etc.). Additional notifications will be sent for the 10th, 100th, 1,000th, and 10,000th matches.
For ongoing, proactive monitoring of API endpoints to validate functionality and measure uptime, use Runscope API Tests.
Once signed into your account, go to Alerts and choose an alert template or create your own custom alert from scratch. For this example, we're going to look for API calls that return a 5xx class status code.
After creating an Alert, select the Edit icon to edit the criteria for a matching API call. You can evaluate the HTTP request and response headers, body data (JSON, XML, etc.) and connection info. Add a rule to check for a response status code between 500 and 599.
From the alert editor, choose the Emails tab and chose which people on your team should receive an email when the number of matches passes one of the thresholds.
If you have connected a messaging service to your Runscope account, you can enable notifications in the Integrations tab. Supported services include Slack, HipChat, Flowdock, Grove, PagerDuty and VictorOps.
Once your Alert is created, use a Gateway URL to collect traffic to evaluate against your criteria. When a match is encountered, Runscope will notify you via the configured channels. You can also collect traffic via the gateway agent (for private APIs), Runscope API (integrations with other services), or request captures (webhook calls).