Developer Docs
IsDownPricingHelp Docs
  • Introduction
  • Quick Start
  • Endpoints
    • 3rd-Party Monitors
      • Get List of All Services Available
      • Get Outages from 3rd-party Monitors
      • Get status and outage information of a service
      • Add 3rd-party Monitor to Board
      • Remove 3rd-party Monitor from Board
    • Custom Monitors
      • Get List of your Custom Monitors
      • Get Outages from Custom Monitors
    • Incidents
      • Get incidents from all services (or just one)
  • Boards
    • Get List of your Boards
    • Get specific Board
Powered by GitBook
On this page
  1. Endpoints
  2. Custom Monitors

Get Outages from Custom Monitors

The Incidents endpoint is used to get the outages in the custom monitor for the last month.

Get outages of a custom monitor for the last 30 days

GET https://isdown.app/api/v2/custom_monitors/{custom_monitor_id}/incidents

Path Parameters

Name
Type
Description

custom_monitor_id*

Integer

ID for the custom monitor. Get the id from the url of the custom monitor. E.g., https://isdown.app/all-company/monitors/105 it's 105.

Headers

Name
Type
Description

Authorization*

String

Bearer API_KEY

{
    "data": [
        {
            "id": "9878",
            "type": "custom_monitor_incident",
            "attributes": {
                "description": "Down in North America, Asia with HTTP status code 504",
                "created_at": "2024-08-17T17:22:44.670Z",
                "resolved_at": "2024-08-17T17:23:19.808Z",
                "updated_at": "2024-08-17T17:22:44.670Z",
                "resolved": true,
                "custom_monitor_url": "https://isdown.app/all-company/monitors/1"
            }
        }
    ]
}
{
    "errors": [
        {
            "status": 401,
            "title": "Unauthorized access",
            "detail": "You are not authorized to access this resource"
        }
    ]
}
{
    "errors": [
        {
            "status": 404,
            "title": "Resource not found",
            "detail": "The resource you are looking for does not exist"
        }
    ]
}

PreviousGet List of your Custom MonitorsNextIncidents

Last updated 8 months ago