# Get started with Instatus Source: https://instatus.com/help ***Get ready for downtime.*** Instatus helps you monitor your services, fix incidents with your team, and share your status with customers. - **Monitoring**: Be the first to know when there's an outage! Set up alerts, and take actions quickly to avoid downtime. - **Incident response**: Fix incidents with your team! Set up on-call schedules to notify the right person. Manage incidents from our dashboard, Slack and more! - **Status pages**: Create one place for your customers to check your current status and subscribe to updates. Be proactive and build trust. ![Status page created](https://instatus.com/help/get-started.png) Here's the whole setup, start to finish. Each step is broken out below. [Watch the video](https://instatus.com/help/get-started/tour.mp4) ## Sign up to Instatus Go to [Instatus](https://instatus.com/signup) and click **Sign up**. Add your email address, and you'll get a magic link to verify your account. You can also sign up with Google. ![Sign up](https://instatus.com/help/get-started/signup.png) Then you'll add your name and the products you're interested in. We support: - Uptime monitoring - Incident response - Status page ![Let's get to know you](https://instatus.com/help/get-started/1.png) ## 1. Add your first monitor Choose a monitor type, and add your website. Let's put [orbitid.com](https://orbitid.com) as an example. ![Add your first monitor](https://instatus.com/help/get-started/2.png) Then, **run** the monitor to check if it's successful. If everything is working, you'll get a screen to show you that the monitor is ready to go! ![Monitor is ready to go](https://instatus.com/help/get-started/3.png) Click **Add monitor** and it joins your list. ![Monitor added](https://instatus.com/help/get-started/4.png) ## 2. Add a test incident Next, let's add a test incident. You can add a **title**, **description**, select **affected components**, and then click **Add test incident**! ![Create an incident](https://instatus.com/help/get-started/5.png) Let's say you were able to resolve the issue, you can **resolve** the incident by adding a new update. ![Resolve the incident](https://instatus.com/help/get-started/6.png) ## 3. Set up your status page Now you can enter your status page **name** and **subdomain**. ![Setup your status page](https://instatus.com/help/get-started/7.png) Upload your **logo** and **favicon**. Then choose your **brand** and **operational** colors. ![Customize your page](https://instatus.com/help/get-started/8.png) ## 3, 2, 1 liftoff! Congratulations! You're now ready to use Instatus. You'll now be able to monitor different services, respond to incidents with your team and, communicate your status with your customers. ![3, 2, 1 liftoff](https://instatus.com/help/get-started/9.png) You're all set with your Instatus account! 🧑‍🚀 **Jump into a guide:** - [Uptime monitoring](https://instatus.com/help/monitoring) - [Incident response](https://instatus.com/help/incident-response) - [Status pages](https://instatus.com/help/status-page) --- # Get started with Monitoring Source: https://instatus.com/help/monitoring Instatus monitors check your websites, APIs, cron jobs, hosts, ports and DNS records every 30 seconds and alert your team when something breaks. Each monitor also tracks the availability and performance of the service over time. When an incident occurs, you can collaborate with your team to [resolve it](https://instatus.com/help/incident-response). You can also optionally update your [status page](https://instatus.com/help/status-page). | At a glance | Details | | :-- | :-- | | [Monitor types](https://instatus.com/help/monitoring#monitor-type) | Website, API, Cron, Ping, TCP, UDP, DNS | | [Check frequency](https://instatus.com/help/monitoring#advanced-settings) | Every 30 seconds, faster on the Pro plan | | [Check locations](https://instatus.com/help/monitoring#advanced-settings) | US, Canada, Europe and Asia, round robin | | [Assertions](https://instatus.com/help/monitoring#monitor-is-successful-if) | Status code, response time, body, headers, port, DNS | | [Alert channels](https://instatus.com/help/monitoring#what-can-instatus-monitors-do) | Email, SMS, Slack, Teams, phone call, webhook and more | | [User-Agent](https://instatus.com/help/monitoring#how-do-i-allowlist-instatus-checks) | InstatusBot/1.0 | This is how your monitor list looks like: ![List of monitors](https://instatus.com/help/monitors/list.png) ## What can Instatus monitors do? - Check from multiple locations every 30 seconds. - Keep detailed logs of the response body, headers, and more. - Track the availability and performance of your services. - Define multiple conditions to ensure your service is working correctly. Check for status codes, response time, certain keywords, and more. - Send alerts to notify your team through multiple channels, including Slack, email, SMS, phone calls, and more. - Set up on-call schedules to notify the right person when an incident occurs. When you click on a monitor, you can see more details about it: ![Monitor](https://instatus.com/help/monitors/item.png) ## How do I add a monitor? Go to your project → Monitors → Add monitor, pick a monitor type, enter the URL or host, and save. ![Add monitor](https://instatus.com/help/monitors/add.png) ### Monitor type Choose your monitor type. You can choose from Website, API, Cron / Heartbeat, Ping, TCP, UDP or DNS. ![Types of Monitors](https://instatus.com/help/monitors/types.png) Enter the URL you want to monitor. Depending on the monitor type, this can be a specific URL or hostname. ### Monitor is successful if These are conditions that need to be met for the monitor to succeed. Based on monitor type, you have multiple assertions to choose from. - Website (availability, body, status code, JSON body, response header, response time) - API (availability, body, status code, JSON body, response header, response time) - Ping (response) - TCP (port thresholds) - DNS (server response: A or MX) You can set up [alerts](https://instatus.com/help/monitoring/alerts) to notify you when a monitor fails or recovers. ### Advanced settings ![Advanced monitor settings](https://instatus.com/help/monitors/advanced-settings.png) - **Friendly name:** Give your monitor a friendly name, just for your reference. - **Run checks every:** Choose how often to run the monitor. For more frequent checks, you can upgrade to the [Pro plan](https://instatus.com/pricing). - **Run from:** We run checks from one location at a time; round robin. You can choose between United States, Canada, Europe, and Asia. - **Add to status page:** This option allows you to add your monitor to your status page. - **When a monitor fails:** You could create an incident, publish to your status page, or notify page subscribers. - **When a monitor recovers:** You could resolve the incident, publish to your status page, or notify page subscribers. ## How do I allowlist Instatus checks? Allow the `InstatusBot/1.0` User-Agent in your firewall, WAF or bot protection so Instatus checks are not blocked. Every monitor request includes this User-Agent: ```text InstatusBot/1.0 (+https://instatus.com; support@instatus.com) ``` > Allowlisting by IP address is not recommended. Our IPs can change over time, so the User-Agent is the more reliable option. You can also allowlist by IP address using the list at [instatus.com/ips](https://instatus.com/ips). Congrats, you've added your first monitor! - [Set up monitor alerts](https://instatus.com/help/monitoring/alerts): Learn how to set up alerts - [Cron Monitoring](https://instatus.com/help/monitoring/cron): Learn how to set up cron monitors --- # Website Monitoring Source: https://instatus.com/help/monitoring/website Website monitors request a URL every 30 seconds from multiple regions and alert you when the site is unavailable, responds slowly, or returns unexpected content. Each check can assert on the status code, response time, body and headers. Just like with [other monitors](https://instatus.com/help/monitoring), when a website monitor detects a problem, you can collaborate with your team to [resolve the incident](https://instatus.com/help/incident-response) and optionally update your [status page](https://instatus.com/help/status-page). | At a glance | Details | | :-- | :-- | | [Check frequency](https://instatus.com/help/monitoring/website#advanced-settings) | Every 30 seconds | | [Check locations](https://instatus.com/help/monitoring/website#advanced-settings) | United States, Canada, Europe, Asia | | [Assertions](https://instatus.com/help/monitoring/website#monitor-is-successful-if) | Status code, response time, body, headers | | [Alert channels](https://instatus.com/help/monitoring/website#what-does-a-website-monitor-check) | Slack, email, SMS, phone call and more | | [On failure](https://instatus.com/help/monitoring/website#advanced-settings) | Create an incident, publish, notify subscribers | | [On recovery](https://instatus.com/help/monitoring/website#advanced-settings) | Resolve the incident and update your page | ![Monitor](https://instatus.com/help/monitors/item.png) ## What does a website monitor check? - Automatically check your websites from multiple global locations every 30 seconds. - Get notified if your site is down, slow, or returning the wrong content. - Verify status codes, response time, keywords, and headers. - Integrate with Slack, email, SMS, phone calls, and more for alerts. - Track uptime and response performance over time. ## How do I add a website monitor? Go to your project → Monitors → Add monitor, choose **Website**, enter the full URL and set the conditions that mean the site is healthy. ![Add monitor](https://instatus.com/help/monitors/website.png) ### Monitor type Select **Website** as the monitor type. ![Website monitor type](https://instatus.com/help/monitors/type-website.png) Enter the full URL of the website you want to monitor — for example, `https://yourwebsite.com`. ### Monitor is successful if A website monitor succeeds when all configured conditions are met. You can define one or more of the following assertions: - **Status code:** e.g. response is `200 OK` - **Response time:** e.g. under `2 seconds` - **Body contains:** e.g. “Welcome to our site” - **Header contains:** e.g. `Content-Type: text/html` If any of these conditions fail, the monitor will be marked as **down** and alerts will be triggered according to your [alert settings](https://instatus.com/help/monitoring/alerts). ### Advanced settings ![Advanced monitor settings](https://instatus.com/help/monitors/advanced-settings.png) - **Friendly name:** Give your monitor a descriptive name. - **Run checks every:** Choose how frequently your website should be checked. - **Run from:** Select geographic regions for testing (United States, Canada, Europe, Asia). - **Add to status page:** Show your website’s uptime and performance on your public status page. - **When a monitor fails:** Create an incident, publish to your status page, or notify subscribers. - **When a monitor recovers:** Resolve incidents and update your status page automatically. Congrats, you've added your first website monitor! - [API Monitoring](https://instatus.com/help/monitoring/api): Learn how to monitor your API endpoints for uptime, performance and data accuracy --- # API Monitoring Source: https://instatus.com/help/monitoring/api API monitors send a configurable HTTP request to an endpoint every 30 seconds and alert you when it is unreachable, slow, or returns the wrong data. You control the method, headers, body and auth, and assert on the status code, JSON body, headers and response time. Similar to [other monitors](https://instatus.com/help/monitoring), if an API monitor identifies an issue, you can work with your team to [resolve the incident](https://instatus.com/help/incident-response) and optionally update your [status page](https://instatus.com/help/status-page). | At a glance | Details | | :-- | :-- | | [Check frequency](https://instatus.com/help/monitoring/api#advanced-settings) | Every 30 seconds | | [HTTP methods](https://instatus.com/help/monitoring/api#request-configuration) | GET, POST, PUT, PATCH, DELETE, OPTIONS, HEAD | | [Request body](https://instatus.com/help/monitoring/api#request-configuration) | JSON, form data, GraphQL, plain text | | [Auth](https://instatus.com/help/monitoring/api#request-configuration) | Basic auth, API key, Bearer token | | [Assertions](https://instatus.com/help/monitoring/api#monitor-is-successful-if) | Status code, response time, body, JSON path, headers | | [Check locations](https://instatus.com/help/monitoring/api#advanced-settings) | United States, Canada, Europe, Asia | ![Monitor](https://instatus.com/help/monitors/item.png) ## What does an API monitor check? - Test your API endpoints from various global locations every 30 seconds. - Validate HTTP status codes, JSON body, headers, and response times. - Include custom headers, query parameters, or JSON payloads. - Receive immediate notifications if an endpoint is down, slow, or returning unexpected results. - Integrate with Slack, email, SMS, phone calls, webhooks, and more. ## How do I add an API monitor? Go to your project → Monitors → Add monitor, choose **API**, enter the endpoint URL, configure the request and set the assertions that mean the endpoint is healthy. ![Add API monitor](https://instatus.com/help/monitors/API.png) ### Monitor type Choose **API** as the monitor type. ![API monitor type](https://instatus.com/help/monitors/type-api.png) Input the endpoint URL you want to monitor — for example, `https://api.yourservice.com/v1/users`. ### Request configuration You can fully tailor your API request: - **HTTP method:** `GET`, `POST`, `PUT`, `PATCH`, `DELETE`, `OPTIONS`, or `HEAD` - **Body:** Send JSON, form data, GraphQL, or plain text with your request - **Auth:** Add basic authentication, API key, or Bearer token authorization - **Query parameters:** Append key/value pairs to your request URL - **Headers:** Add custom headers required for your API request ### Monitor is successful if An API monitor is successful when all specified assertions are satisfied. You can set one or more of the following assertions: - **Status code:** e.g. response is `200 OK` - **Response time:** e.g. under `1 second` - **Body contains:** e.g. `"success": true` - **JSON path:** e.g. `data.status` equals `"active"` - **Header contains:** e.g. `Content-Type: application/json` If any of these conditions are not met, the monitor will be marked as **down**, and alerts will be sent based on your [alert settings](https://instatus.com/help/monitoring/alerts). ### Advanced settings ![Advanced monitor settings](https://instatus.com/help/monitors/advanced-settings.png) - **Friendly name:** Assign a descriptive name to your monitor for easier identification. - **Run checks every:** Decide how frequently to test the endpoint. - **Run from:** Choose testing locations (United States, Canada, Europe, Asia). - **Add to status page:** Display API uptime and response statistics publicly. - **When a monitor fails:** Initiate an incident, notify subscribers, or publish to your status page. - **When a monitor recovers:** Resolve incidents and automatically update your status page. Congrats, you've added your first API monitor! - [Cron Monitoring](https://instatus.com/help/monitoring/cron): Learn how to monitor scheduled tasks and background jobs --- # Cron Monitoring Source: https://instatus.com/help/monitoring/cron Cron monitors give each scheduled job (a backup, batch process or recurring script) a unique URL to ping, and alert you when a ping is late or missing. The job is marked degraded when it misses its period and down when it also misses the grace time. Just like with [other monitors](https://instatus.com/help/monitoring), when a cron job fails, you can collaborate with your team to [resolve the incident](https://instatus.com/help/incident-response) and optionally update your [status page](https://instatus.com/help/status-page). | At a glance | Details | | :-- | :-- | | [How it works](https://instatus.com/help/monitoring/cron#monitor-type) | Your job pings a unique URL each time it runs | | [Period time](https://instatus.com/help/monitoring/cron#monitor-is-successful-if) | How often the job should run | | [Grace time](https://instatus.com/help/monitoring/cron#monitor-is-successful-if) | Extra time before a late job is marked down | | [Late ping](https://instatus.com/help/monitoring/cron#monitor-is-successful-if) | Degraded after the period, down after the grace time | | [Failure signal](https://instatus.com/help/monitoring/cron#signaling-a-failure) | Request the URL with /fail appended | | [Execution time](https://instatus.com/help/monitoring/cron#measuring-job-execution-time) | Ping /start when the job begins, the URL when it ends | Here’s an example of how your cron monitor list looks: ![List of cron monitors](https://instatus.com/help/monitors/cron-list.png) ## What does a cron monitor do? - Verify that your cron jobs run on time (using pings from your jobs). - Get alerted if a job is late or doesn't finish. - Integrate with Slack, email, SMS, phone calls, and more for alerts. When you click on a cron monitor, you can see more details: ![Cron monitor details](https://instatus.com/help/monitors/cron-item.png) ## How do I add a cron monitor? Go to your project → Monitors → Add monitor, choose **Cron/Heartbeat**, then point your job at the generated URL and set its period and grace time. ![Add monitor](https://instatus.com/help/monitors/cron-add.png) ### Monitor type Select **Cron/Heartbeat** as the monitor type. ![Cron monitor type](https://instatus.com/help/monitors/type-cron.png) A unique URL will be generated for you. Your cron job should send an HTTP request (`HEAD`, `GET` or `POST`) to this URL each time it runs. ### Monitor is successful if A cron monitor succeeds when your job pings the generated URL on schedule. You can configure: - **Period time:** How often the job should run (e.g. every 15 minutes). - **Grace time:** Extra time allowed before the job is considered down. If the period time is reached and the job doesn't ping, the monitor will be marked as degraded. If the grace time is reached and the job doesn't ping, the monitor will be marked as down. You can set up [alerts](https://instatus.com/help/monitoring/alerts) to get notified when a job fails, degrades or recovers. ## Signaling a failure Send a request to the monitor’s URL with `/fail` appended to mark the job as failed, even if it ran and pinged the monitor. This is useful if your script encounters an error and you want Instatus to record the job as failed right away. - **Success ping**: `https://cron.instatus.com/your-unique-url` - **Failure ping**: `https://cron.instatus.com/your-unique-url/fail` When a failure signal is received, the monitor will be marked as down, and alerts will be sent immediately according to your [alert settings](https://instatus.com/help/monitoring/alerts). ## Measuring job execution time Send two requests, `/start` when your job begins and the success or failure ping when it ends, and Instatus records the time between them as the job's execution time: 1. **Start signal**: Send a request to `/start` when your job begins 2. **Success/Failure signal**: Send a request to the base URL when your job completes or fails - **Start ping**: `https://cron.instatus.com/your-unique-url/start` - **Success ping**: `https://cron.instatus.com/your-unique-url` - **Failure ping**: `https://cron.instatus.com/your-unique-url/fail` The time between the start and success signals will be recorded as the job's execution time. This helps you track performance and identify jobs that are taking longer than expected. If your job fails after sending the start signal, send a failure signal instead of the success signal to mark it as failed while still recording the execution time. Congrats, you've added your first cron monitor! - [Ping Monitors](https://instatus.com/help/monitoring/ping): Learn how to monitor your ping endpoints for uptime and performance --- # Ping Monitors Source: https://instatus.com/help/monitoring/ping Ping monitors send ICMP echo requests to a hostname or IP address, like the `ping` command in your terminal, and mark the host down when it stops replying or replies too slowly. They suit physical servers, routers, or any device connected to the internet. As with [other monitor types](https://instatus.com/help/monitoring), when a ping monitor detects a problem, your team can [investigate and resolve it](https://instatus.com/help/incident-response) and optionally reflect the issue on your [status page](https://instatus.com/help/status-page). | At a glance | Details | | :-- | :-- | | [Protocol](https://instatus.com/help/monitoring/ping#how-does-a-ping-monitor-work) | ICMP echo request | | [Target](https://instatus.com/help/monitoring/ping#choose-monitor-type) | Any hostname or IP address | | [Check locations](https://instatus.com/help/monitoring/ping#advanced-options) | United States, Canada, Europe, Asia | | [Check frequency](https://instatus.com/help/monitoring/ping#advanced-options) | Configurable, faster on the Pro plan | | [Alert channels](https://instatus.com/help/monitoring/ping#what-can-a-ping-monitor-do) | Slack, email, SMS, phone call | | [On failure](https://instatus.com/help/monitoring/ping#advanced-options) | Create an incident, notify subscribers, publish | ![Monitor](https://instatus.com/help/monitors/item.png) ## What can a ping monitor do? - Test network reachability for any host or IP address. - Monitor uptime and packet loss from multiple locations. - Detect outages or degraded performance within seconds. - Receive alerts through Slack, email, SMS, or phone calls when a host becomes unreachable. - Display uptime on your public status page to keep users informed. ## How do I add a ping monitor? Open your project → Monitors → Add monitor, choose **Ping**, and enter the hostname or IP address to check. ![Add ping monitor](https://instatus.com/help/monitors/ping.png) ### Choose monitor type Select **Ping** from the available monitor types. ![Ping monitor type](https://instatus.com/help/monitors/type-ping.png) Enter the hostname or IP address you want to check. For example: `8.8.8.8` or `server.yourcompany.com` ### How does a ping monitor work? Ping monitors send ICMP echo requests to your target at regular intervals. The monitor succeeds if a reply is received within the allowed time. If the server doesn’t respond or responds too slowly, the monitor is marked as **down**. ### Advanced options ![Advanced monitor settings](https://instatus.com/help/monitors/advanced-settings.png) - **Friendly name:** Add a descriptive name for your host. - **Run checks every:** Choose how often to run the monitor. For more frequent checks, you can upgrade to the [Pro plan](https://instatus.com/pricing). - **Run from:** Select testing regions (United States, Canada, Europe, Asia). - **Add to status page:** Show this monitor’s uptime on your public status page. - **When a monitor fails:** Initiate an incident, notify subscribers, or publish to your status page. - **When a monitor recovers:** Resolve incidents and automatically update your status page. Nice work — your first ping monitor is up and running! - [TCP & UDP Monitoring](https://instatus.com/help/monitoring/tcp-udp): Monitor network ports and services by testing TCP and UDP connections --- # TCP & UDP Monitoring Source: https://instatus.com/help/monitoring/tcp-udp TCP and UDP monitors allow you to verify that your servers and applications are reachable over specific network ports. They're ideal for monitoring databases, mail servers, application backends, DNS servers, game servers, VoIP gateways, or any service that listens on a TCP or UDP port. Just like with [other monitors](https://instatus.com/help/monitoring), if a TCP or UDP monitor detects a problem, your team can quickly [investigate and resolve it](https://instatus.com/help/incident-response) and keep users informed via your [status page](https://instatus.com/help/status-page). ![Monitor](https://instatus.com/help/monitors/item.png) ## What TCP Monitors Do - Test whether a host and port are reachable from multiple global locations. - Detect when a service goes offline, becomes slow to respond, or drops connections. - Measure connection time and latency. - Send alerts to your preferred communication channels when connectivity issues occur. - Display uptime statistics on your status page. ## What UDP Monitors Do - Check if a target host and UDP port are reachable. - Measure packet loss and response latency. - Detect when a UDP-based service stops responding or becomes unstable. - Track uptime and reliability across multiple global locations. - Display performance metrics on your public or internal status page. ## Setting Up a TCP Monitor To create a new monitor, go to your project → Monitors → Add monitor. ![Add TCP monitor](https://instatus.com/help/monitors/tcp.png) ### Monitor type Choose **TCP** from the monitor type list. ![TCP monitor type](https://instatus.com/help/monitors/type-tcp.png) Then enter the **host:port** you want to monitor. For example: `db.yourcompany.com:5432` or `mail.example.com:25` ### How TCP checks work A TCP monitor attempts to open a socket connection to the target host and port at regular intervals. If the connection succeeds, the monitor is marked as **successful**. If the connection fails or is refused, the monitor is marked as **down**. ## Setting Up a UDP Monitor To add one, go to your project → Monitors → Add monitor. ![Add UDP monitor](https://instatus.com/help/monitors/udp.png) ### Monitor type Select **UDP** from the list of available monitor types. ![UDP monitor type](https://instatus.com/help/monitors/type-udp.png) Enter the **hostname or IP address** and **port** you want to monitor. For example: `8.8.8.8:53` or `192.168.1.1:53` ### How UDP checks work UDP monitors send packets to the configured host and port at set intervals. If a valid response is received within the timeout period, the monitor is considered **healthy**. If there's no response or too much packet loss, it's marked as **down** or **degraded**. ## Advanced Options ![Advanced monitor settings](https://instatus.com/help/monitors/advanced-settings.png) - **Friendly name:** Add a label so you can easily identify your monitor. - **Run checks every:** Decide how frequently to test the connection. - **Run from:** Choose where to test from (United States, Canada, Europe, Asia). - **Add to status page:** Display this service's uptime and response time publicly. - **When a monitor fails:** Initiate an incident, notify subscribers, or publish to your status page. - **When a monitor recovers:** Resolve incidents and automatically update your status page. Your TCP or UDP monitor is now keeping an eye on your ports! - [DNS Monitoring](https://instatus.com/help/monitoring/dns): Learn how to monitor DNS servers and services by testing DNS queries --- # DNS Monitoring Source: https://instatus.com/help/monitoring/dns DNS monitors query a domain's A or MX record from multiple regions and mark it down when the record is missing, points to the wrong value, or fails to resolve. They catch propagation issues, DNS outages and unexpected record changes early. Just like with [other monitors](https://instatus.com/help/monitoring), when a DNS check fails, your team can [investigate and resolve it](https://instatus.com/help/incident-response) and update your [status page](https://instatus.com/help/status-page) if it affects users. | At a glance | Details | | :-- | :-- | | [Record types](https://instatus.com/help/monitoring/dns#monitor-type) | A (IP address) and MX (mail server) | | [Expected value](https://instatus.com/help/monitoring/dns#how-do-dns-checks-work) | An IP for A records, a mail host for MX | | [Check locations](https://instatus.com/help/monitoring/dns#advanced-settings) | United States, Canada, Europe, Asia | | [Marked down when](https://instatus.com/help/monitoring/dns#how-do-dns-checks-work) | Record missing, wrong, or failing to resolve | | [On failure](https://instatus.com/help/monitoring/dns#advanced-settings) | Create an incident, notify subscribers, publish | ![Monitor](https://instatus.com/help/monitors/item.png) ## What does a DNS monitor check? - Verify that your domains resolve to the correct IP addresses or mail servers. - Detect DNS outages, slow resolutions, or record mismatches. - Track DNS performance and reliability from multiple global regions. - Get visibility into your record values directly from monitoring logs. - Keep your public or internal status pages up to date automatically. ## How do I add a DNS monitor? Open your project → Monitors → Add monitor, choose **DNS**, enter the hostname, pick the record type and set the value you expect. ![Add DNS monitor](https://instatus.com/help/monitors/dns.png) ### Monitor type Select **DNS** from the list of monitor types. ![DNS monitor type](https://instatus.com/help/monitors/type-dns.png) Enter the **hostname** you want to monitor — for example, `example.com` — and choose the **record type** you want to check. Supported record types include: - **A record** → verifies the IP address of a domain - **MX record** → verifies the mail exchange server for a domain ### How do DNS checks work? A DNS monitor queries your domain’s record at regular intervals from multiple locations. It compares the result with the expected value you’ve configured. The monitor is considered **successful** when the returned record matches your expected value. If the record is missing, points to the wrong host, or fails to resolve, the monitor is marked as **down**. You can configure: - **Record type:** `A` or `MX` - **Expected value:** e.g. `192.0.2.1` for A record or `mail.example.com` for MX ### Advanced settings ![Advanced monitor settings](https://instatus.com/help/monitors/advanced-settings.png) - **Friendly name:** Assign a descriptive name to your monitor for easier identification. - **Run checks every:** Decide how frequently to test the endpoint. - **Run from:** Choose testing locations (United States, Canada, Europe, Asia). - **Add to status page:** Display your domain's uptime and response statistics publicly. - **When a monitor fails:** Initiate an incident, notify subscribers, or publish to your status page. - **When a monitor recovers:** Resolve incidents and automatically update your status page. Your DNS monitor is ready — you’ll know right away if your records ever go missing or change! - [Set up monitor alerts](https://instatus.com/help/monitoring/alerts): Learn how to set up monitor alerts --- # Set up monitor alerts Source: https://instatus.com/help/monitoring/alerts Monitor alerts notify you by email, SMS, Slack, Discord, Microsoft Teams, phone call, webhook, WhatsApp or the mobile app when a monitor fails, degrades, recovers, or its SSL certificate is about to expire. You can create several alerts, each with its own channel, monitors and triggers, so the right people hear about the right issues. | At a glance | Details | | :-- | :-- | | [Channels](https://instatus.com/help/monitoring/alerts#which-alert-channels-are-available) | Email, SMS, Slack, Discord, Teams, phone, webhook, WhatsApp | | [Triggers](https://instatus.com/help/monitoring/alerts#when-is-an-alert-sent) | Fails, recovers, degrades, SSL expiring | | [Scope](https://instatus.com/help/monitoring/alerts#monitors) | One alert can cover any number of monitors | ## How do I add a monitor alert? Create an alert by choosing a channel, selecting the monitors it covers, and picking the monitor states that should send it. ![Alert settings](https://instatus.com/help/monitors/alert.png) ### Which alert channels are available? Alerts can be sent through any of these channels: - Email - SMS - Slack - Discord - Microsoft Teams - Phone call - Webhook - WhatsApp - [Mobile app](https://instatus.com/help/monitoring/mobile-app) ### Monitors Select the monitors that will trigger your new alert. ### When is an alert sent? An alert is sent when a selected monitor enters one of the states you pick: - **Fails** - Your service is completely down or unreachable - **Recovers** - Your service has returned to normal operation after a failure - **Degrades** - Your service's performance has decreased below acceptable thresholds - **SSL expires** - Your SSL certificate will expire in a specified number of days You just added your first monitor alert! 🚨 - [Get the Instatus mobile app](https://instatus.com/help/monitoring/mobile-app): Get monitor alerts as push notifications on your phone. --- # Get the Instatus mobile app Source: https://instatus.com/help/monitoring/mobile-app The Instatus mobile app gives you push notifications for your monitor alerts, and lets you manage your monitors, incidents, and status pages from your phone. ## Download the app - [Instatus on the App Store](https://apps.apple.com/app/instatus-updates/id6477760956) (iOS) - [Instatus on Google Play](https://play.google.com/store/apps/details?id=com.instatus.app) (Android) ## Sign in Open the app and sign in with your Instatus account. Once you're signed in, you'll have access to the same dashboard you use on the web. ## Allow notifications During setup, the app asks for permission to send you notifications. Allow it so you can receive alerts on your phone. Then add **Mobile app** as an alert channel in your [monitor alerts](https://instatus.com/help/monitoring/alerts) to get notified the moment a monitor fails, degrades, or recovers. You'll now get monitor alerts right on your phone 📱 - [Observability](https://instatus.com/help/observability): Send your application logs to Instatus and search them next to your monitors. --- # Get started with incident response Source: https://instatus.com/help/incident-response You can use Instatus to respond to incidents quickly with your team. You can manage incidents from our dashboard, Slack or Microsoft Teams. You can also schedule maintenance periods, and notify people before they start. ![Incidents list](https://instatus.com/help/incidents/list.png) You can also prepare templates ahead of time to quickly add incidents and maintenance periods. You can also set up on-call schedules to notify the right person if an incident occurs. ![Incident item](https://instatus.com/help/incidents/item.png) **Jump into a guide:** - [Add an incident](https://instatus.com/help/incident-response/incidents) - [Schedule a maintenance](https://instatus.com/help/incident-response/maintenance) - [Create a template](https://instatus.com/help/incident-response/templates) - [Add a general notice](https://instatus.com/help/incident-response/general-notices) - [Set up on-call](https://instatus.com/help/incident-response/on-call) - [Use Instatus for Slack](https://instatus.com/help/incident-response/slack) --- # Get started with Incidents Source: https://instatus.com/help/incident-response/incidents Incidents tell customers and teammates what is broken, carry updates as you work, and end with an optional postmortem. You can manage them from the dashboard, Slack or Microsoft Teams. | At a glance | Details | | :-- | :-- | | [Statuses](https://instatus.com/help/incident-response/incidents#how-do-i-add-an-incident) | Investigating, Identified, Monitoring, Resolved | | [Manage from](https://instatus.com/help/incident-response/incidents#how-do-i-add-an-incident) | Dashboard, Slack, Microsoft Teams | | [Incident fields](https://instatus.com/help/incident-response/incidents#how-do-i-add-an-incident) | Title, description, status, components, date | | [Updates](https://instatus.com/help/incident-response/incidents#how-do-i-add-an-incident-update) | New status, message, components, date, notify | | [Postmortem](https://instatus.com/help/incident-response/incidents#how-do-i-add-a-postmortem) | Markdown, dated after the last update, optional notify | ![Incidents list](https://instatus.com/help/incidents/list.png) ## How do I add an incident? Log in at [instatus.com/login](https://dashboard.instatus.com/login), choose your project, go to **Incidents** and click **Add incident**. Then set the status, title, description and affected components, and choose whether to publish it to your status page. ![Add a new incident](https://instatus.com/help/incidents/add-incident.png) - Checkmark to select if the incident started in the past. - Status: Could be `Investigating`, `Identified`, `Monitoring` or `Resolved`. - The title of the incident. - A detailed description of the incident. - Components that are affected by the incident. - Checkmark to publish the incident to your status page. Click **Add incident**, and your incident will be created. Congrats, you just added your first incident. 🏄‍♂️ ## How do I add an incident update? Open the incident and click **Add an update** to change its status, description, affected components or date, and optionally notify subscribers. ![Add a new incident update](https://instatus.com/help/incidents/add-incident-update.png) Finally, click **Add update** to publish it. Update is now added 🏄‍♀️ ---- ## How do I add a postmortem? Open a resolved incident and click **Add postmortem**, then write it in Markdown and pick a date after the incident's last update. A postmortem is a final review that documents lessons learned, root causes and long-term fixes. When you add one: - Write your postmortem in markdown. Code blocks are supported, so you can include logs or configuration snippets. - Pick a date for the postmortem. It must be after the incident's last update. - Choose whether to notify subscribers about the postmortem. You can also fine-tune exactly who gets notified. The postmortem appears on your status page as the final entry in the incident's timeline. If you use [Instatus for Slack](https://instatus.com/help/incident-response/slack), you can also add a postmortem by running `/incident postmortem` in the incident channel. - [Schedule maintenance periods](https://instatus.com/help/incident-response/maintenance): Learn how to add and update maintenances. --- # Schedule maintenance periods Source: https://instatus.com/help/incident-response/maintenance Maintenance periods announce planned downtime on your status page, notify subscribers before it starts, and carry updates until it completes. | At a glance | Details | | :-- | :-- | | [Fields](https://instatus.com/help/incident-response/maintenance#how-do-i-schedule-a-maintenance) | Title, status, message, components, date, notify | | [Updates](https://instatus.com/help/incident-response/maintenance#how-do-i-add-a-maintenance-update) | Status, message, components, date, notify | | [Where to find](https://instatus.com/help/incident-response/maintenance#how-do-i-schedule-a-maintenance) | Maintenance → Schedule a maintenance | ## How do I schedule a maintenance? Log in at [instatus.com/login](https://dashboard.instatus.com/login), choose your status page, go to **Maintenance** and click **Schedule a maintenance**. Fill in the title, status, message, affected components and date, and choose whether to notify customers. Once you click it, a new form will appear. Here you can enter: - Maintenance title. - Current maintenance status. - Your message. - Components affected by the maintenance. - Scheduled date - Whether to notify your customers about it. Click **Add maintenance**, and it will be added to your page. ![Add a new maintenance](https://instatus.com/help/incidents/add-maintenance.png) Maintenance is now added 🕰️ ## How do I add a maintenance update? Open the maintenance under **Maintenance** and click **Add an update** to change its status, message, affected components or date, and optionally notify customers. Once you click it, a new form will appear. Here you can enter: - Current maintenance status. - Your message. - Components affected by the maintenance. - Date - Whether to notify your customers about it. ![Add a new maintenance update](https://instatus.com/help/incidents/add-maintenance-update.png) Update is now added 👩🏾‍💻 - [Prepare your templates](https://instatus.com/help/incident-response/templates): Learn how to use templates to add incidents and schedule maintenances. --- # Prepare your templates Source: https://instatus.com/help/incident-response/templates Templates pre-fill the incident, maintenance and update forms with a saved title, status, description, affected components and notification setting, so your team communicates consistently under pressure. | At a glance | Details | | :-- | :-- | | [Used for](https://instatus.com/help/incident-response/templates#how-do-i-use-a-template) | Incidents, maintenances and their updates | | [Fields](https://instatus.com/help/incident-response/templates#how-do-i-create-a-template) | Title, status, description, components, notify | | [Where to find](https://instatus.com/help/incident-response/templates#how-do-i-create-a-template) | Templates → Add a template | ## How do I create a template? Log in at [instatus.com/login](https://dashboard.instatus.com/login), choose your status page, go to **Templates** and click **Add a template**. Once you click it, a new form will appear. Here you can enter: - A template title. - Status, this will also specify if it can be used with incidents or maintenance periods. - Description. - Affected components. - Whether to notify subscribers about it. Click **Add Template**. ![Add a new template](https://instatus.com/help/incidents/add-template.png) Template is now added! 🙌 ## How do I use a template? Click **Use a template** in the incident, maintenance or update form and the saved fields fill in, ready to edit. ### How do I add an incident from a template? To create an incident using a template, go to Incidents, then click on **Add an incident** button: Once you click it, a new form will appear where you can click on **Use a template** and select the template you want to use. You can freely edit the filled-in information from the template, and you can specify the exact date of the incident. ![Add a new incident using template](https://instatus.com/help/incidents/add-incident.png) Incident is now added using your template! 💁🏻‍♂️ You can also use templates to add incident updates, schedule maintenances, and add maintenance updates. - [General notices](https://instatus.com/help/incident-response/general-notices): Learn how to pin announcements to your status page. --- # General notices Source: https://instatus.com/help/incident-response/general-notices General notices let you pin persistent announcements to your status page. Use them for policy updates, scheduled changes, or any information that isn't tied to a specific incident or maintenance window. ## Add a general notice Login to your Instatus at [instatus.com/login](https://dashboard.instatus.com/login) then choose your status page. Go to **Maintenance → General notices** and click **Add a general notice**. - **Title**: A short headline for the notice. - **Message**: A detailed description in markdown. - **Collapse this notice**: Optionally collapse the notice so it takes up less space on your status page. Click **Add notice**, and it will appear on your public status page right away. Your general notice is now live on your status page. ## Manage notices From the dashboard you can: - **Search**: Find notices by title or content. - **Edit**: Update the title, message, or collapsed state at any time. - **Delete**: Remove one or multiple notices at once. - **Export**: Download your notices as a CSV file. ## How notices appear on your status page - **Expanded notices** show inline alongside active incidents and maintenances. - **Collapsed notices** are grouped behind a collapsible header so visitors can expand them when needed. - Notices are sorted by creation date, newest first. - [Get started with Incidents](https://instatus.com/help/incident-response/incidents): Learn how to add and manage incidents. - [Schedule maintenance periods](https://instatus.com/help/incident-response/maintenance): Learn how to schedule maintenance periods. --- # Get started with Instatus On-call Source: https://instatus.com/help/incident-response/on-call Instatus On-call rotates your team through shifts so someone is always on call, and escalation policies re-route an incident to the next people when it is not acknowledged in time. | At a glance | Details | | :-- | :-- | | [Schedule settings](https://instatus.com/help/incident-response/on-call#how-do-i-add-an-on-call-schedule) | Title, members, rotation, period, restrictions | | [Escalation policies](https://instatus.com/help/incident-response/on-call#what-happens-if-nobody-acknowledges-an-incident) | Escalate unacknowledged incidents on a timer | | [Routing rules](https://instatus.com/help/incident-response/on-call#how-are-incidents-routed-to-a-schedule) | Route by impact, content, affected components | ![On-call schedule](https://instatus.com/help/incidents/on-call-schedule.png) ## Where do I see my own on-call shifts? The **Your schedule** view shows whether you are on call right now and lists your upcoming shifts. ![Your on-call schedule](https://instatus.com/help/incidents/your-on-call.png) ## What are on-call schedules? On-call schedules are team rotations shown as calendars, where you create and manage who is on call and when. ![On-call schedule](https://instatus.com/help/incidents/on-call-schedule.png) ## How do I add an on-call schedule? In **On-call schedules** click **Add schedule**, then set the title, the members on call, the rotation, the on-call period and any restrictions. You'll see a preview in real-time of your schedule whenever you change any of these settings. Finally, click **Save** to add your schedule. ![Add a new on-call schedule](https://instatus.com/help/incidents/add-on-call.png) ## What happens if nobody acknowledges an incident? Escalation policies escalate an unacknowledged incident to the next people, with repeats and time-based rules. Learn how to set them up in [Escalation policies](https://instatus.com/help/incident-response/escalation-policies). ## How are incidents routed to a schedule? Routing rules send triggered incidents to the right on-call schedules or escalation policies, filtering by impact, content, affected components and more. Learn how to set them up in [Routing rules](https://instatus.com/help/incident-response/routing-rules). Congrats, you're now ready to use Instatus On-call! - [Escalation policies](https://instatus.com/help/incident-response/escalation-policies): Escalate unacknowledged incidents automatically. - [Routing rules](https://instatus.com/help/incident-response/routing-rules): Route incidents to the right schedules and policies. --- # Escalation policies Source: https://instatus.com/help/incident-response/escalation-policies Escalation policies make sure an incident never goes unhandled. If the first responder doesn't acknowledge an incident in time, the policy escalates it to the next person or team. ![Add a new escalation policy](https://instatus.com/help/incidents/add-escalation.png) ## Add a policy Go to **On-call**, open the **Escalation** tab, and click **Add policy**. Then give your policy a name and build its escalation rules. Each rule says who to notify and when: - **When**: how many minutes after the incident is created the rule fires. Rules must be ordered by time, earliest to latest. - **Who**: a specific member, a group, the current on-call user in a schedule, the next on-call user, or all members of an on-call schedule. Rules after the first one fire only **if the incident still isn't acknowledged**, so each step escalates further. ## Repeat the escalation You can repeat the whole escalation if nobody acknowledges the incident: - Choose how many times to repeat, and how many minutes to wait between repeats. - Optionally auto-resolve the incident once all repeats are completed. ## Link it to a routing rule An escalation policy won't be triggered until it's linked to a [routing rule](https://instatus.com/help/incident-response/routing-rules). Create a routing rule that targets your policy so triggered incidents actually reach it. Your escalation policy is ready 🚨 - [Routing rules](https://instatus.com/help/incident-response/routing-rules): Route incidents to the right schedules and policies. --- # Routing rules Source: https://instatus.com/help/incident-response/routing-rules Every triggered incident starts at your routing rules. They decide who gets notified: a teammate, a group, an on-call schedule, or an escalation policy. ![Add a new routing rule](https://instatus.com/help/incidents/add-routing.png) ## Add a rule Go to **On-call**, find the routing rules section, and click **Add routing rule**. A rule has two parts: **Conditions** — what the incident must match. You can filter on: - **Impact**: the incident's severity. - **Title** and **Description**: match on the incident's content. - **Incident affects**: which components are affected. - **Triggered by**: what created the incident, like a specific team member. Add multiple conditions and choose whether the rule fires when **all** conditions are met or when **any** condition is met. **Target** — who to notify when the rule matches: - A specific **member** or **group** - The on-call user in an **on-call schedule** - An **escalation policy** ## Rule order and the fallback Rules are evaluated in order, and you can drag them to reorder. Add one **ELSE** rule at the end as a fallback, so incidents that match nothing still reach someone. Your incidents now route themselves to the right people 🧭 - [Manage incidents from Slack](https://instatus.com/help/incident-response/slack): Learn how to declare and manage incidents from Slack. --- # Manage incidents from Slack Source: https://instatus.com/help/incident-response/slack You can use our Instatus for Slack integration to access all incident response features right from Slack: declare incidents, coordinate responders, track action items, and post updates without leaving your workspace. ## Install Instatus for Slack Go to **Integrations → Slack**, then click **Add to Slack** [Add Slack to Instatus](https://dashboard.instatus.com/integrations/slack) Congrats, you just added the Instatus for Slack app. 🏄‍♂️ ## Receive incident announcements After install, we create an `instatus-incidents` channel. All incident announcements post there so teammates can follow and join. Keep this channel public to increase visibility. ## Add an incident Run `/incident` in any channel to open the modal. Fill status and title (description, components, and time are optional). Submit to create the incident and its dedicated Slack channel. ![Declare an incident from Slack](https://instatus.com/help/slack/add-incident.png) You can declare an incident with just a status and title to get started quickly. Declaring small incidents helps share knowledge, builds better practices, and prepares your team for bigger issues, leading to lower MTTR and operational excellence. ## Work in the incident channel Join the new incident channel to coordinate all things related to that incident. Use the welcome message to assign a lead, manage responders, and post updates. The announcement card auto-updates with the latest status. ![Incident channel summary](https://instatus.com/help/slack/add-incident-msg-welcome.png) ## Open the command palette Click Commands in the welcome message or run `/incident` inside the incident channel. Pick any action: update, assign, view action items, and more. ![Incident command palette](https://instatus.com/help/slack/view-command-palette.png) ## Assign a lead and responders Open Lead & Responders to set one lead and multiple responders. The lead must also be a responder, so removing the lead from the list of responders will show an error. Ask each responder to run `/incident ack` in the incident channel to confirm ownership and start time. ## Action items Action items help coordinate who does what, and by when. Open Action Items from the palette or run `/incident actions`. From there you can: - **Add** an item — keep it brief: title, assignee, due (others optional). - **View** items — switch between All and Mine, and use filters to track priority and status. - **Edit** items — use the overflow menu to edit, delete, or mark as done. ![View action items](https://instatus.com/help/slack/view-action-items.png) ## Add an incident update Share new information as soon as it’s available. Use any entry point: `/incident update`, Command Palette, or Update from the welcome message. ## Add a postmortem When the incident is resolved, add a postmortem from the palette or run `/incident postmortem`. Capture lessons, root cause, and long-term fixes. ![Add a postmortem](https://instatus.com/help/slack/add-postmortem.png) ## Schedule maintenance Create planned work and keep everyone informed. Run `/maintenance` to schedule and `/maintenance update` to post updates. ![Schedule maintenance](https://instatus.com/help/slack/add-maintenance.png) ## Use app-wide commands Adjust settings, switch pages, and send feedback from anywhere by running `/instatus settings`. You can also subscribe/unsubscribe to external pages and incidents. ## Get more help Run `/instatus help` to see a detailed reference of all available commands. Click on view more to open a modal with even more options. - [Get started with your status page](https://instatus.com/help/status-page): Learn how to set up your status page. --- # Get started with your status page Source: https://instatus.com/help/status-page A status page is one place where customers check whether your service is up, read about incidents and planned maintenance, and subscribe to updates. When you communicate early, it helps you build trust and avoid possible customer frustration. It also limits duplicate support requests when there is an issue with your service. | At a glance | Details | | :-- | :-- | | [Page types](https://instatus.com/help/status-page#which-page-type-should-i-choose) | Public, Private, Select audience | | [Shows](https://instatus.com/help/status-page/components) | Components, incidents, maintenances, notices | | [Subscriptions](https://instatus.com/help/status-page/subscribers) | Email, SMS, Slack, Teams, webhook, X, RSS and more | ![Instatus status page](https://instatus.com/help/status-page/instatus-page.png) ## Which page type should I choose? Public pages are open to anyone on the internet, private pages are limited to your organization, and select-audience pages give groups of teammates access to a subset of your components. - [Public](https://instatus.com/help/status-page/public-page): Your page is available for anyone on the internet - [Private](https://instatus.com/help/status-page/private-page): Your page is available inside your organization - [Select Audience](https://instatus.com/help/status-page/select-audience): Assign teammates to components they care about If you plan to use a public status page, feel free to skip to another guide: - [Manage your components](https://instatus.com/help/status-page/components) - [Customize your status page](https://instatus.com/help/status-page/customize) - [Set up a custom domain](https://instatus.com/help/status-page/custom-domain) - [Manage your subscribers](https://instatus.com/help/status-page/subscribers) - [Add an incident](https://instatus.com/help/incident-response/incidents) - [Schedule a maintenance](https://instatus.com/help/incident-response/maintenance) - [Add a general notice](https://instatus.com/help/incident-response/general-notices) --- # Get started with public status pages Source: https://instatus.com/help/status-page/public-page Public status pages are open to anyone on the internet, are the default when you create a page, and let visitors subscribe to updates through any channel you enable. ## Who can see a public status page? Anyone with the link, no login needed, and every new status page starts public. You’re able to [customize your page](https://instatus.com/help/status-page/customize) to fit your brand and communicate in all the languages of your customers. You can be proactive and communicate issues so that you can be transparent, build trust and reduce support requests. | At a glance | Details | | :-- | :-- | | [Visibility](https://instatus.com/help/status-page/public-page#who-can-see-a-public-status-page) | Anyone on the internet | | [Default](https://instatus.com/help/status-page/public-page#who-can-see-a-public-status-page) | Every new status page starts public | | [Branding](https://instatus.com/help/status-page/public-page#what-can-i-customize-on-a-public-page) | Your logo, colors and custom domain | | [Languages](https://instatus.com/help/status-page/multi-language) | All the languages of your customers | | [Other page types](https://instatus.com/help/status-page/private-page) | Private and select audience | ![Graphite's status page](https://instatus.com/help/graphite.png) ## What can I customize on a public page? Our status pages are fully customizable to your branding. You can use your own logo, colors, and custom domain. ![Sketch's status page](https://instatus.com/help/sketch.png) If you plan to use a public status page, feel free to skip to another guide: - [Manage your components](https://instatus.com/help/status-page/components) - [Customize your status page](https://instatus.com/help/status-page/customize) - [Setup a custom domain](https://instatus.com/help/status-page/custom-domain) - [Manage your subscribers](https://instatus.com/help/status-page/subscribers) If you need more control on your page visibility and privacy, you can make your page private or select-audience. - [Get started with private status pages](https://instatus.com/help/status-page/private-page): Learn how to set up and customize your Private page. --- # Get started with private status pages Source: https://instatus.com/help/status-page/private-page Private status pages are visible only to people who pass one of the access methods you enable: email login, Google SSO, an IP allowlist, a single password, a secure link, or SAML SSO. They work as an internal dashboard for your teams, or as a status page for partners and clients. | At a glance | Details | | :-- | :-- | | [Plan required](https://instatus.com/help/status-page/private-page#how-do-i-make-my-status-page-private) | Private Pro or Business | | [Access methods](https://instatus.com/help/status-page/private-page#which-access-methods-are-available-for-a-private-page) | Email, Google SSO, IP allowlist, password, link, SAML | | [SAML SSO](https://instatus.com/help/status-page/private-page#saml-sso) | Business plan only | | [IP allowlist](https://instatus.com/help/status-page/private-page#allowed-ip-addresses) | Single addresses or regex ranges, no CIDR | | [Multiple methods](https://instatus.com/help/status-page/private-page#how-do-i-make-my-status-page-private) | Teammates can use any enabled method | You may limit access to your page by allowing only: - Email login - Google SSO - IP Allowlist - Single password - Secure link - SAML SSO (only available to Business plan) ## How do I make my status page private? Upgrade to a Private Pro or Business plan, go to **Status page → Page type**, select **Private**, then enable at least one access method and save. 1. Login to Instatus from [instatus.com/login](https://dashboard.instatus.com/login) then choose your status page. You'll need to have a Private Pro or Business plan in order to be able to make your status page private. If you already have a Pro or Business plan you may skip the next step. 2. Open the workspace menu in the sidebar, choose **Billing**, and switch to either a Private Pro or Business plan. ![Switch plan](https://instatus.com/help/page-type/private-page/1.png) 3. After upgrading go to **Status page → Page type**. 4. Select 'Private' from 'Page Type' panel and save. ![Change Settings](https://instatus.com/help/page-type/private-page/2.png) 5. This unlocks Privacy Setting, where you can choose one of these options: - **Email login:** Allow members of your team to login to your status page using their email address. - **Google SSO:** Allow members of your team to use Google Auth to access your status page. - **Allowed IP addresses:** allow certain IPs to access the page and you'll be able to add Allowed IP addresses. - **Single Password:** Allows you to create a single password and share it to all members of your team. - **Secure link:** Create an authenticated link that you can share with clients. You can always regenerate it using [our API](https://instatus.com/help/api/private-pages) or the dashboard. - **SAML SSO** will only allow members of your team to access the status page using SAML SSO (only available to Business plan) If you choose multiple options, your teammates will be able choose any of them to access the page. ![Choose privacy option](https://instatus.com/help/page-type/private-page/3.png) 6. Choose how you want to make your status page private and click **Save**, it may take a couple of minutes for changes to take effect. Congrats! Now your status page is private 🥳 ## Which access methods are available for a private page? Each method changes what the login page looks like: ![Different access methods](https://instatus.com/help/page-type/private-page/9.png) ### Google SSO Members of your team will be able to use Google Auth to access your status page. ### Email login Members of your team will be able to login to your status page using their email address. They will receive an email with a link to login. ![Email login](https://instatus.com/help/page-type/private-page/10.png) ### Allowed IP addresses Members of your team will be able to access the page only from the allowed IP addresses. You can allow: - **A single IP address** — add it as is, for example `203.0.113.7`. - **A range of IP addresses** — add it as a regex pattern, for example `203\.0\.113\..*` to allow every address starting with `203.0.113.`. CIDR notation (like `203.0.113.0/24`) isn't supported directly, but you can convert it to a regex: 1. Convert the CIDR block to an IP range using [this tool](https://www.ipaddressguide.com/cidr). 2. Convert that range to a regex using [this tool](https://www.analyticsmarket.com/freetools/ipregex). 3. Paste the resulting regex into your allowlist. ![Allowed IP addresses](https://instatus.com/help/page-type/private-page/7.png) ### Single Password Members of your team will be able to access the page using a single password. You can set that password and share with them. ![Single Password](https://instatus.com/help/page-type/private-page/5.png) ### Secure link If you want to share your status page in an internal dashboard for people to be automatically authenticated, you can use the secure link option. You can get the link via the API or the dashboard, and use it to link to your private status page. ![Secure link](https://instatus.com/help/page-type/private-page/8.png) ### SAML SSO You can use your own identity provider to authenticate your team members. This is only available for the Business plan. We support all major identity providers like Okta, OneLogin, Azure AD, and much more. ![SAML SSO](https://instatus.com/help/page-type/private-page/11.png) - [Get started with Select-audience](https://instatus.com/help/status-page/select-audience): Learn how to set up and customize your Select Audience page. --- # Get started with Select-audience Source: https://instatus.com/help/status-page/select-audience If you need to group teammates and give them access to a subset of your components, Select Audience is for you! ## How to make your status page Select Audience? 1. Login to Instatus from [instatus.com/login](https://dashboard.instatus.com/login) then choose your status page. You'll need to have a Select Audience or Business plan in order to be able to make your status page for select audience. If you already have a Select Audience or Business plan you may skip the first step. 2. Open the workspace menu in the sidebar, choose **Billing**, and switch to a Business plan. ![Switch plan](https://instatus.com/help/page-type/select-audience/1.png) 3. After upgrading go to **Status page → Page type**. 4. Select 'Select Audience' from 'Page Type' panel and save. ![Change Settings](https://instatus.com/help/page-type/select-audience/2.png) 5. This unlocks Privacy Setting, where you can choose one of these options: - **Email login** will only allow members of your team to access the status page using their email addresses. - **Google SSO** will only allow members of your team to access the status page using Google SSO. - **Allowed IP addresses** will only allow certain IPs to access the page and you'll be able to add Allowed IP addresses. - **Single Password** will only allow members of your team to access the status page using a single password shared between them. - **Secure link:** Create an authenticated link that you can share with clients. You can always regenerate it using [our API](https://instatus.com/help/api/private-pages) or the dashboard. - **SAML SSO** will only allow members of your team to access the status page using SAML SSO (only available to Business plan) If you choose multiple options, only one of them will be needed to access the status page. ![Choose privacy option](https://instatus.com/help/page-type/private-page/3.png) 6. Choose how you want to make your status page private and click 'Save', it may take a couple of minutes for changes to take effect. ![Different access methods](https://instatus.com/help/page-type/private-page/9.png) 7. Now that the page is Select Audience, a new Audience tab is unlocked and you can use it to create audience groups to control which teammates get to see which components. ![Change Settings](https://instatus.com/help/page-type/select-audience/4.png) Congrats! Now your status page is Select Audience 🥳 - [Manage your components](https://instatus.com/help/status-page/components): Learn how to add and organize your components --- # Manage your components Source: https://instatus.com/help/status-page/components Components are the parts of your service shown on your status page, such as your website, mobile app or API, each with its own status and optional uptime history. | At a glance | Details | | :-- | :-- | | [Component fields](https://instatus.com/help/status-page/components#how-do-i-add-a-component) | Name, group, show historical uptime | | [Groups](https://instatus.com/help/status-page/components#how-do-i-create-a-component-group) | Created from the component form | | [Archiving](https://instatus.com/help/status-page/components#how-do-i-archive-or-restore-a-component) | Hidden unless affected or not operational | | [Ordering](https://instatus.com/help/status-page/components#how-do-i-re-order-components-and-groups) | Drag with the re-order handle | | [Third party](https://instatus.com/help/status-page/components#can-i-show-third-party-services-on-my-status-page) | AWS, Stripe and other services you depend on | ## How do I add a component? Log in at [instatus.com/login](https://dashboard.instatus.com/login), choose your status page, go to **Components** and click **Add component**. Enter a name, pick or create a group, choose whether to show historical uptime, and save. Once you click it, the "Add a component" form will appear. Here you can enter: - Component name. - Component group. - Whether to show historical uptime. Click **add component**, and it will be added to your page. ![Add a new component](https://instatus.com/help/components-1.png) Component is now added! 🚀 ## How do I edit a component or change its status? Click the component or its edit button to change the name, status, group or uptime display, then click **Save**. Then you can: - Edit the name. - Edit the status. - Edit the group. - Edit displaying historical uptime. After you're done with edits, click the **Save** button. ![Edit component](https://instatus.com/help/components-2.png) Component is now updated! 🍻 ## How do I archive or restore a component? Click the bin icon and confirm with **ARCHIVE**; the **RESTORE** button brings it back later. [Watch the video](https://instatus.com/help/components-archive.mp4) An archived component will not appear on the status page, it will only appear when it's affected by an active incident or maintenance or it's status is not operational. ## How do I create a component group? A component group is created from the component form, in one of two ways: 1. Add a component and select **create new group** and enter group's name. 2. Edit a component and select **create new group** and enter group's name. Group is now added! 🎉 ## How do I re-order components and groups? Hover over a component or group, grab the re-order handle on the right and drag it into place. ![Reorder component](https://instatus.com/help/components-3.png) ## How do I delete a group? Move or delete every component in the group and it disappears from your status page; there is no explicit delete. ## Can I show third-party services on my status page? Yes. You can add third party services you depend on (like AWS or Stripe) to your status page. Learn how in [Third party components](https://instatus.com/help/status-page/third-party-components). - [Third party components](https://instatus.com/help/status-page/third-party-components): Show the status of services you depend on. - [Customize your status page](https://instatus.com/help/status-page/customize): Learn how to customize your status page. --- # Third party components Source: https://instatus.com/help/status-page/third-party-components Third-party components show the status of services you depend on, like AWS or Stripe, on your status page, so you and your customers can see when an issue is outside your control. They never affect your own uptime or overall status. | At a glance | Details | | :-- | :-- | | [Source](https://instatus.com/help/status-page/third-party-components#how-do-i-add-a-third-party-component) | The Instatus catalog of third-party services | | [Missing a service](https://instatus.com/help/status-page/third-party-components#how-do-i-add-a-third-party-component) | Click Suggest a service | | [Uptime](https://instatus.com/help/status-page/third-party-components#how-do-third-party-components-affect-my-status) | Not shown for third-party components | | [Effect on your status](https://instatus.com/help/status-page/third-party-components#how-do-third-party-components-affect-my-status) | None, your status and uptime are unchanged | ## How do I add a third-party component? Log in at [instatus.com/login](https://dashboard.instatus.com/login), choose your status page, go to **Components → Third party**, pick a service and enable the components you want on your page. - Here you'll find a wide range of services that you can add to your status page. ![Third party services](https://instatus.com/help/components-4.png) - If you didn't find a service that you're looking for you can always **Suggest a service** and we'll be on it. - Simply click on a service and enable the components that you want to appear on your status page. ![Adding a third party service](https://instatus.com/help/components-5.png) ## How do third-party components affect my status? When a third party component is added to your status page, it'll appear without showing the uptime, and whenever a third party component is down it'll be updated on your status page without affecting your general status and your uptime. ![Appearance on status page](https://instatus.com/help/components-6.png) - [Get started with Incidents](https://instatus.com/help/incident-response/incidents): Learn how to add and manage incidents. --- # Customize your status page Source: https://instatus.com/help/status-page/customize You can change your status page's logo, colors, header design, dark mode, language, date formats and social preview, and add custom HTML, CSS and JavaScript, all from the **Status page** settings. | At a glance | Details | | :-- | :-- | | [Brand](https://instatus.com/help/status-page/customize#how-do-i-add-my-logo-and-colors) | Logo, dark-mode logo, favicon, brand and status colors | | [Design](https://instatus.com/help/status-page/customize#how-do-i-change-the-design-or-dark-mode) | 3 header designs, dark or light mode, component layout | | [Custom code](https://instatus.com/help/status-page/customize#can-i-add-custom-html-css-or-javascript) | HTML, CSS and JavaScript in 5 areas | | [Language](https://instatus.com/help/status-page/customize#how-do-i-change-the-language-of-my-status-page) | Default language, multi-lingual on Pro | | [Timeline](https://instatus.com/help/status-page/customize#how-do-i-change-date-time-and-timezone-formats) | Date and time formats, timezone, start date | | [Search & social](https://instatus.com/help/status-page/customize#how-do-i-control-the-google-and-social-media-preview) | Title, description and image for previews | ## How do I add my logo and colors? Log in at [instatus.com/login](https://dashboard.instatus.com/login), choose your status page, then go to **Status page → Look & feel**. In the brand section you can change: - Brand logo, including a separate logo for dark mode. - Favicon. - Brand color to match your logo. - Status colors. After customizing your status page click **SAVE**, and it will update your page. ![Brand settings](https://instatus.com/help/customize/1.png) ## How do I change the design or dark mode? In the design section of **Look & feel** you can change: - Header design and choose from our 3 designs. - Whether you want your status page to appear in dark mode, light mode or switchable through a button. - How you want your components to appear. After changing your design click **SAVE**, and it will update your page. ![Design settings](https://instatus.com/help/customize/2.png) ## Can I add custom HTML, CSS or JavaScript? Yes. In **Status page → HTML** you can insert your own HTML, CSS and JavaScript in five areas: - Above the header of your status page. - Below the header. - Below the components of your status page. - Above the status page's footer. - Below the footer. After adding your custom HTML click **SAVE**, and it will update your page. ![Custom HTML settings](https://instatus.com/help/customize/3.png) ## How do I change the language of my status page? In **Status page → Language** you can change: - The default language for your status page. **Pro plan features:** - A multi-lingual status page. - Use your custom language. You can read a step-by-step guide to setting up multiple languages in our [Multi-language support](https://instatus.com/help/status-page/multi-language) article. ![Language settings](https://instatus.com/help/customize/4.png) After changing the language of your status page click **SAVE**, and it will update your page. ## How do I change date, time and timezone formats? In **Status page → Timeline** you can change: - Date and time formats, you can [find more about date & time formats here](https://date-fns.org/v2.16.1/docs/format). - Timezone. - Service start date. After changing the date and time of your status page click **SAVE**, and it will update your page. ![Date and time format settings](https://instatus.com/help/customize/5.png) ## How do I control the Google and social media preview? In **Status page → Search & Social** you can set: - Change your title. - Add a custom description for Google and social media. - Upload an image. After customizing your search & social settings, click **SAVE** for the changes to take effect. ![Search and social settings](https://instatus.com/help/customize/6.png) - [Multi-language support](https://instatus.com/help/status-page/multi-language): Learn how to offer your status page in multiple languages. --- # Multi-language support Source: https://instatus.com/help/status-page/multi-language Instatus lets you communicate in the languages of your customers. You can choose a default language and offer additional languages for visitors to switch between. ## Enable multiple languages 1. Open your status page and go to **Status page → Language**. 2. Select your default language from the list. 3. Click **Add language** to include extra languages on your page. 4. (Optional) Upload a custom translation file if you need a language we don't provide. Your page will now include a language switcher so visitors can view your status in their preferred language. - [Add a widget to your website](https://instatus.com/help/status-page/widgets): Learn how to add a status widget to your website. --- # Add a widget to your website Source: https://instatus.com/help/status-page/widgets Instatus offers three ways to show your status on your own website: a floating widget that pops up during incidents, a badge for your footer, and a `summary.json` endpoint for building a custom widget. To add one, go to [dashboard.instatus.com](https://dashboard.instatus.com), choose your status page, open **Widget**, pick the widget type and copy the code. | At a glance | Details | | :-- | :-- | | [Floating widget](https://instatus.com/help/status-page/widgets#how-do-i-add-a-floating-widget) | Colors and position, script in your page body | | [Badge](https://instatus.com/help/status-page/widgets#how-do-i-add-a-status-badge-to-my-footer) | Light or dark, three sizes, footer embed | | [Custom widget](https://instatus.com/help/status-page/widgets#how-do-i-build-a-custom-widget) | summary.json with status, incidents, maintenances | --- ## How do I add a floating widget? 1. Login to Instatus from [instatus.com/login](https://dashboard.instatus.com/login) then choose your status page. 2. Go to **Widget → Floating**. 3. Customize your widget to your liking by choosing: - Background color - Foreground color - Position of your widget relative to the page 4. Copy your widget script and paste it in the body of your HTML page. ![](https://instatus.com/help/widget-floating-1.png) The widget will pop up when there's a new incident 🙀 --- ## How do I add a status badge to my footer? 1. Login to Instatus from [instatus.com/login](https://dashboard.instatus.com/login) then choose your status page. 2. Go to **Widget → Badge**. 3. Choose light or dark mode 4. Choose your size (small, medium or large) 🤏 5. Embed the code in your HTML page ![](https://instatus.com/help/widget-badge-1.png) You should see a badge in your footer 🥳 --- ## How do I open widget links in the same tab? Links in the floating widget and the badge open your status page in a new tab. To open it in the same tab instead, choose **Same tab** next to **Open links in** before you copy the code. If the code is already on your site, add `target=self` to it. For the floating widget, add it to the end of the script `src`: ```markup ``` For the badge, add it to the end of the iframe `src`: ```markup ``` --- ## How do I build a custom widget? Fetch `summary.json` from your status page to get the current status, active incidents and maintenances as live data for your own widget: ```markup https://[YOUR-STATUS-PAGE]/summary.json ``` **Sample response:** ```json { "page": { "name": "Instatus", "url": "https://instat.us", "status": "HASISSUES" }, "activeIncidents": [ { "name": "We're facing an issue with our API", "started": "Sat Jun 11 2022 18:55:50 (Coordinated Universal Time)", "status": "INVESTIGATING", "impact": "MAJOROUTAGE", "url": "https://testing-widget.instatus.com/incident/cl4a" } ], "activeMaintenances": [ { "name": "Database maintenance", "start": "Sat Jun 11 2022 18:55:54 (Coordinated Universal Time)", "status": "NOTSTARTEDYET", "duration": "60", "url": "https://testing-widget.instatus.com/maintenance/cl4" } ] } ``` Possible page statuses: - `UP` - `HASISSUES` - `UNDERMAINTENANCE` Possible incident statuses: - `INVESTIGATING` - `IDENTIFIED` - `MONITORING` - `RESOLVED` Possible maintenance statuses: - `NOTSTARTEDYET` - `INPROGRESS` - `COMPLETED` Now you can have a custom widget! 🥳 - [Use a custom domain for your Instatus page](https://instatus.com/help/status-page/custom-domain): Learn how to use a custom domain for your status page. --- # Use a custom domain for your Instatus page Source: https://instatus.com/help/status-page/custom-domain Point a CNAME record for a domain like **status.company.com** or **companystatus.com** at `cname.instatus.com` and Instatus generates the SSL certificate for you ✨. Custom domains need the Pro plan. | At a glance | Details | | :-- | :-- | | [Plan required](https://instatus.com/help/status-page/custom-domain#upgrade-to-pro) | Pro | | [DNS record](https://instatus.com/help/status-page/custom-domain#set-up-your-dns) | CNAME status → cname.instatus.com | | [SSL](https://instatus.com/help/status-page/custom-domain#set-up-your-dns) | Generated automatically | | [Cloudflare](https://instatus.com/help/status-page/custom-domain#does-a-custom-domain-work-with-cloudflare) | DNS only recommended, proxy needs HTTP /.well-known | | [Where to find](https://instatus.com/help/status-page/custom-domain#add-your-custom-domain) | Settings → Domains | 1. ### Login to Instatus Login to your Instatus at [instatus.com/login](https://dashboard.instatus.com/login). Then, select your status page. 2. ### Upgrade to Pro Using your custom domain is a Pro feature. If you're not on a Pro plan, click **Upgrade** on your status page navigation. ![Switch plan](https://instatus.com/help/page-type/private-page/1.png) 3. ### Add your custom domain On your page's dashboard, go to **Settings** and select **Domains** from the sub-menu. Add your custom domain and click save. ![Domains tab in settings page](https://instatus.com/help/custom-domains/1.png) 4. ### Set up your DNS A DNS configuration will be displayed when you save your custom domain. Add the configuration record that appears on the domain settings page to your DNS provider. Typically, it will look like this: | HOST \(NAME\) | POINTS TO \(VALUE\) | TTL | | :------------ | :----------------------- | :---------------- | | **`status`** | **`cname.instatus.com`** | Leave the default | You can do this on most registrars by doing the following steps: - Go to your domain settings page. - Manage DNS. - Add a record. - Choose CNAME record type. - Choose the HOST. Typically **`status`,** but you can choose any host, and it'll be your subdomain. - Points to will be: **`cname.instatus.com`** - Leave the TTL as the default value Congrats! You can now start to use your custom domain 🚀 ## Does a custom domain work with Cloudflare? Yes. If Cloudflare serves your nameservers, add the CNAME as DNS only, or if you must keep the proxy on, allow plain HTTP requests to `/.well-known/*` so the certificate can be issued. ### Without proxy (DNS only) This is the recommended way to guarantee the speed and reliability of your domain since the DNS resolution will go directly to Vercel ([Instatus](https://instatus.com) host) without an intermediary. | HOST \(NAME\) | POINTS TO \(VALUE\) | TTL | | :------------ | :----------------------- | :---------------- | | **`status`** | **`cname.instatus.com`** | Leave the default | You can do this on most registrars by doing the following steps: - Go to your domain settings page. - Manage DNS. - Add a record. - Choose CNAME record type. - Choose the HOST. Typically **`status`,** but you can choose any host, and it'll be your subdomain. - Points to will be: **`cname.instatus.com`** - Leave the TTL as the default value ### With proxy A Cloudflare proxy works as an intermediary between your domain and Vercel, which is Instatus's hosting provider. We don't recommend that you enable the Cloudflare proxy unless you have specific constraints for your project since it will introduce a minor performance penalty to your website due to the additional hop. You need to insert a CNAME or ALIAS record with the value `cname.instatus.com` If your domain requires the Cloudflare proxy to be turned on by default, only one requirement is needed: The domain must allow HTTP requests (without HTTPS) to the path **/.well-known/\***. To verify if that is possible with your domain, you can run the following command (notice the http:// part in the URL): ```bash curl http://example.com/.well-known/acme-challenge -I ``` A configuration that does allow Vercel (Instatus host) to run smoothly would return the following: ```bash curl http://example.com/.well-known/acme-challenge -I HTTP/1.1 404 Not Found ``` If you run the `curl` command and receive a `3XX` redirect instead, Cloudflare is preventing this route from being accessed, and the domain won't be configured correctly: ```bash curl http://example.com/.well-known/acme-challenge -I HTTP/1.1 308 Moved Permanently ``` You need to explore the following configuration in the Cloudflare dashboard: [Page Rules](https://support.cloudflare.com/hc/en-us/articles/218411427-Understanding-and-Configuring-Cloudflare-Page-Rules-Page-Rules-Tutorial-) — You can disable HTTPS for the path `/.well-known/**`. [Always use HTTPS](https://support.cloudflare.com/hc/en-us/articles/204144518-SSL-FAQ) — This configuration is under the "SSL/TLS" tab and may affect your page rules. **Other Configurations** — Cloudflare can offer multiple settings and this will directly affect the ability to generate certificates. Congrats! You can now start to use your custom domain 🛳️ - [Manage your status page subscribers](https://instatus.com/help/status-page/subscribers): Learn how to manage status page subscribers. --- # Manage your status page subscribers Source: https://instatus.com/help/status-page/subscribers Subscribers are the people and channels that get notified when you post an incident, maintenance, or update. To manage them, log in to Instatus at [instatus.com/login](https://dashboard.instatus.com/login), choose your status page, then go to **Subscribers**. Each channel has its own tab where you can add, search, export, and unsubscribe subscribers. | At a glance | Details | | :-- | :-- | | [Channels](https://instatus.com/help/status-page/subscribers#which-channels-can-subscribers-use) | Email, SMS, webhook, Slack, Teams, Discord, X, RSS, API | | [Manage](https://instatus.com/help/status-page/subscribers#how-do-i-remove-a-subscriber) | Add, search, export and unsubscribe per channel | | [Bulk import](https://instatus.com/help/status-page/notifications/email) | Email subscribers from a CSV file | ## Which channels can subscribers use? You can subscribe people through: - [Email](https://instatus.com/help/status-page/notifications/email) — add subscribers one by one or import them from a CSV file. - [SMS](https://instatus.com/help/status-page/notifications/sms) — connect an SMS provider and notify subscribers by text. - [Webhook](https://instatus.com/help/status-page/notifications/webhook) — send signed JSON payloads to any endpoint. - [Slack](https://instatus.com/help/status-page/notifications/slack), [Microsoft Teams](https://instatus.com/help/status-page/notifications/ms-teams), [Discord](https://instatus.com/help/status-page/notifications/discord), and [Google Chat](https://instatus.com/help/status-page/notifications/google-chat) — post updates into team channels. - [X](https://instatus.com/help/status-page/notifications/x) — tweet updates automatically. - [RSS & Atom](https://instatus.com/help/status-page/notifications/rss) and the [public API](https://instatus.com/help/status-page/notifications/api) — let customers follow your page from their own tools. ## How do I remove a subscriber? Open the subscriber's entry in any channel and click **Unsubscribe**. - [Add metrics and charts to your status page](https://instatus.com/help/status-page/metrics): Learn how to add metrics and charts to your status page. --- # Add metrics and charts to your status page Source: https://instatus.com/help/status-page/metrics Include metrics about your service performance or any other graph data you want to communicate through your status page. ## Add a metric Login to Instatus from [instatus.com/login](https://dashboard.instatus.com/login) then choose your status page. Go to **Status page → Metrics** and click **Add Metric**. A new form will appear where you can: - Enter a name for the metric. - Enter a suffix, which is the unit of the metric (like `ms` or `%`). - Choose whether to display the metric on your status page or not. ![Add metric form](https://instatus.com/help/metrics-images/1.png) Added metrics can be updated by clicking **Edit** on the metric and saving the updates. [Find out how to add your metric's data here](https://instatus.com/help/api/metrics) Congrats! You've added a metric 🥳 ### Import metrics through: - [Datadog Metrics](https://instatus.com/help/integrations/metrics/datadog): Import Datadog metrics to your status page - [Pingdom Metrics](https://instatus.com/help/integrations/metrics/pingdom): Import Pingdom metrics to your status page - [New Relic Metrics](https://instatus.com/help/integrations/metrics/new-relic): Import New Relic metrics to your status page - [Prometheus Metrics](https://instatus.com/help/integrations/metrics/prometheus): Import Prometheus metrics to your status page - [Notify your subscribers](https://instatus.com/help/status-page/notifications): Learn how to notify subscribers about status updates. --- # Notify your subscribers Source: https://instatus.com/help/status-page/notifications You can set up multiple ways to send notifications and status updates to your subscribers and customers, you'll find how in this section. ### Keep customers updated through: - [Email](https://instatus.com/help/status-page/notifications/email): Send emails notifiying your subscribers. - [Webhook](https://instatus.com/help/status-page/notifications/webhook): How to setup Webhook notifications. - [SMS](https://instatus.com/help/status-page/notifications/sms): How to integrate an SMS service. - [X](https://instatus.com/help/status-page/notifications/x): How to send X notifications. - [Slack](https://instatus.com/help/status-page/notifications/slack): Add updates to your slack workspace. - [Microsoft Teams](https://instatus.com/help/status-page/notifications/ms-teams): Add to your Microsoft Teams channel. - [Discord](https://instatus.com/help/status-page/notifications/discord): Add to your Discord server. - [Google Chat](https://instatus.com/help/status-page/notifications/google-chat): Add to you Google Chat. - [RSS & Atom](https://instatus.com/help/status-page/notifications/rss): Let customers follow your page in a feed reader. - [API](https://instatus.com/help/status-page/notifications/api): Let customers read your status programmatically. - [Email notifications](https://instatus.com/help/status-page/notifications/email): Learn how to add and manage email subscribers. --- # Email notifications Source: https://instatus.com/help/status-page/notifications/email ## Add email subscribers Login to Instatus from [instatus.com/login](https://dashboard.instatus.com/login) then choose your status page. Go to **Subscribers**, then **Email**, here you'll find a list of all your email subscribers, which you can export as a CSV file. Click **Add email subscriber** A new form will appear where you can enter the email of your subscriber and choose whether to notify them about all updates or only updates for specific components. ![Add Subscriber](https://instatus.com/help/notification/email1.png) ## Manage your email subscribers If you want to unsubscribe someone, just click on the **Unsubscribe** button. ![Manage Subscriber](https://instatus.com/help/notification/email2.png) ## Import email subscribers Instatus Pro allows you to import subscribers from a CSV file rather than manually inputting each email subscriber. If you are already a Pro member, skip the first step. 1. Open the workspace menu in the sidebar, choose **Billing**, and upgrade to a Pro plan. ![Switch plan](https://instatus.com/help/page-type/private-page/1.png) 2. Get your spreadsheet ready To import subscribers, your CSV _must_ contain **Name**, **Email** and **Phone** in the first row. 3. Go to **Subscribers** 4. Click on **Import Subscribers** ![Switch plan](https://instatus.com/help/notification/import.png) 5. Click on the **Upload Subscribers** button and select the CSV file you want to import subscribers from ![Switch plan](https://instatus.com/help/notification/import-modal.png) ## Setup custom email address We send emails from your-subdomain@instatus.com, but you can setup your custom email address using the following steps: ![Custom Email](https://instatus.com/help/notification/email3.png) 1. Go to **Status page → Notifications**, then the **Email** section 2. Enable **Send from a custom email address** 3. Add the email addresses you want to send from and be replied to 4. Select an integration service from Mailgun, Sendgrid, Postmark or Amazon SES - If you choose Mailgun, you'll need your Mailgun API key and domain - If you choose SendGrid, you'll need your API key and domain - If you choose Postmark, you'll need to add your API key - If you choose Amazon SES, you'll need to add your region, access key id and secret access key - [SMS notifications](https://instatus.com/help/status-page/notifications/sms): Learn how to integrate an SMS service to setup SMS alerts. --- # SMS notifications Source: https://instatus.com/help/status-page/notifications/sms Login to Instatus from [instatus.com/login](https://dashboard.instatus.com/login) then choose your status page. 1. Go to **Status page → Notifications** ![Enable SMS](https://instatus.com/help/notification/sms/enable.png) 2. Enable subscribe by SMS 3. Click Save 4. On the same page, scroll to the **SMS setup** section ![Set up SMS](https://instatus.com/help/notification/sms/sms2.png) 5. Select either Twilio, Esendex, Vonage, Bird or SNS as your service 6. Click Setup Twilio, Esendex, Vonage, Bird or SNS - If you choose Twilio, you'll need to add your Account SID, Auth token, and Sender phone number - If you choose Vonage, you'll need to add your API Key, API secret, and Sender phone number - If you choose Esendex, you'll need to add your Username, API password, and Account Reference - If you choose Bird, you'll need to add your API Key and Sender phone Number - If you choose AWS SNS, you'll need to add your region, AWS Access key Id and Secret access key 7. Send a test SMS to ensure that you successfully integrated your SMS service We're done! You can now notify your customers by SMS 🥳 ## Add SMS subscribers Go to **Subscribers**, then **SMS**, you'll find a list of your SMS subscribers which you can export as a CSV file. To add a new subscriber click **Add SMS subscriber**. A new form will appear where you can enter the number of your subscriber and choose whether to notify them about all updates or only updates for specific components. ![Add SMS Subscriber](https://instatus.com/help/notification/sms3.png) ## Manage your SMS subscribers Go to **Subscribers**, then **SMS**. If you want to unsubscribe someone, just click on the **Unsubscribe** button. ![Manage Sms Subscriber](https://instatus.com/help/notification/sms4.png) ## Import SMS subscribers Instatus Pro allows you to import subscribers from a CSV file rather than manually inputting each sms subscriber. If you are already a Pro member, skip the first step. 1. Open the workspace menu in the sidebar, choose **Billing**, and upgrade to a Pro plan. ![Switch plan](https://instatus.com/help/page-type/private-page/1.png) 2. Get your spreadsheet ready To import subscribers, your CSV _must_ contain **Name**, **Email** and **Phone** in the first row. 3. Go to **Subscribers** 4. Click on **Import Subscribers** ![Switch plan](https://instatus.com/help/notification/import.png) 5. Click on the **Upload Subscribers** button and select the CSV file you want to import subscribers from ![Switch plan](https://instatus.com/help/notification/import-modal.png) - [Webhook notifications](https://instatus.com/help/status-page/notifications/webhook): Learn how to setup Webhook notifications. --- # Webhook notifications Source: https://instatus.com/help/status-page/notifications/webhook ## Add webhook subscriber Login to Instatus from [instatus.com/login](https://dashboard.instatus.com/login) then choose your status page. Go to **Subscribers**, then **Webhook**. Click **Add webhook subscriber**, A new form will appear where you can enter: - Webhook URL - Email address ![Webhook Subscriber](https://instatus.com/help/notification/webhook1.png) We will send a requests to your URL using this [format](https://instatus.com/help/webhooks) and an email will be sent to the specified email address when there is an issue with the URL. You can give a name to your webhook subscriber by clicking on it and typing a name in the form, you could also delete this subscriber by clicking Unsubscribe. ## Webhook Payload Verification **It is Highly recommended to validate the webhook payload in the webhook endpoint.** We sign webhook payloads with a secret and include the signature as a header named `x-instatus-webhook-signature`. This signature allows you to verify the webhook came from Instatus. ### Steps To Verify Webhook 1. Retrieve your **Webhook Secret** from the dashboard (You can find it while editing or creating a webhook, you can also customize it there). ![Webhook Secret](https://instatus.com/help/notification/webhook-secret-example.png) 2. Create a new endpoint on your server that will receive the webhook. 3. Compare the signature with your server's generated signature to validate. 4. If the signatures match, process the webhook. #### Code Example ```javascript import crypto from 'crypto' import express from 'express' const app = express() app.use(express.json()) const WEBHOOK_SECRET = 'your-webhook-secret' function isVerifiedPayload(payload, signature, secret) { const hmac = crypto.createHmac('sha256', secret) const digest = hmac.update(JSON.stringify(payload)).digest('hex') return crypto.timingSafeEqual(Buffer.from(digest), Buffer.from(signature)) } app.post('/endpoint/to/webhook', (req, res) => { const payload = req.body const signature = req.header('x-instatus-webhook-signature') if (!signature) { return res.status(400).send('Signature missing') } if (!isVerifiedPayload(payload, signature, WEBHOOK_SECRET)) { return res.status(401).send('Invalid signature') } // Process the valid webhook res.status(200).send('Webhook received') }) app.listen(3000, () => console.log('Server running on port 3000')) ``` ### Why Verification Matters - **Ensures Authenticity**: Guarantees that the webhook originates from our platform. - **Prevents Tampering**: Detects changes to the payload. - **Improves Security**: Protects against replay attacks and unauthorized access. - [X notifications](https://instatus.com/help/status-page/notifications/x): Learn how to send X notifications. --- # X notifications Source: https://instatus.com/help/status-page/notifications/x ## Add X account Login to Instatus from [instatus.com/login](https://dashboard.instatus.com/login) then choose your status page. Go to **Subscribers**, then **X**. Click **Add X account** You'll be redirected to X where you'll be asked to authorize Instatus Tweets, and by doing so it'll post an automated tweet when you add a new incident, maintenance or update to keep your X followers updated. ![X integrations](https://instatus.com/help/notification/x1.png) - [Slack notifications](https://instatus.com/help/status-page/notifications/slack): Learn how to send Slack notifications. --- # Slack notifications Source: https://instatus.com/help/status-page/notifications/slack ## Add to Slack workspace Login to Instatus from [instatus.com/login](https://dashboard.instatus.com/login) then choose your status page. Go to **Subscribers**, then **Slack** where you'll find all the Slack workspaces that were added. Click **Add a Slack workspace** You'll be redirected to Slack where you'll be asked to enter your workspace's Slack URL, then your team members will be alerted to any notifications. ![Slack integration](https://instatus.com/help/notification/slack1.png) - [Microsoft Teams](https://instatus.com/help/status-page/notifications/ms-teams): Learn how to add Instatus to your Microsoft Teams channel. --- # Microsoft Teams Source: https://instatus.com/help/status-page/notifications/ms-teams ## Add a Microsoft Teams Log in to Instatus at [instatus.com/login](https://dashboard.instatus.com/login) then choose your status page. Go to **Subscribers**, then **Microsoft Teams** Click **Add a Microsoft Teams channel**, A new form will appear where you can enter your Microsoft Teams Webhook URL, and specify which components should this channel be notified about. ![Microsoft Teams integration](https://instatus.com/help/notification/ms-teams1.png) You can give a name to your integrated Teams channel by clicking on it and typing a name in the form, you could also delete this integration by clicking Unsubscribe. - [Discord notifications](https://instatus.com/help/status-page/notifications/discord): Learn how to send notifications in your Discord server. --- # Discord notifications Source: https://instatus.com/help/status-page/notifications/discord Login to Instatus from [instatus.com/login](https://dashboard.instatus.com/login) then choose your status page. 1. Go to **Status page → Notifications** ![Enable Discord](https://instatus.com/help/notification/sms/enable.png) 2. Enable Discord 3. Click Save We're done! You can now notify your customers in your Discord server 🥳 ## Add a Discord server Go to **Subscribers**, then **Discord**. Click **Add a discord server**, You'll be redirected to Discord where you'll be asked to authorize Instatus and add it to a server that you have Manage Server permission in, then members of your server can be alerted to any notifications. You could delete this integration by clicking on it then clicking Unsubscribe. ![Discord integration](https://instatus.com/help/notification/discord2.png) - [Google Chat](https://instatus.com/help/status-page/notifications/google-chat): Learn how to add Instatus to your Google Chat space. --- # Google Chat Source: https://instatus.com/help/status-page/notifications/google-chat ## Add a Google Chat Login to Instatus from [instatus.com/login](https://dashboard.instatus.com/login) then choose your status page. Go to **Subscribers**, then **Google Chat** Click **Add a Google Chat Space**, You'll be redirected to Google where you'll be asked to authorize Instatus. ![Google Chat integration](https://instatus.com/help/notification/google-chat1.png) You can give a name to your integrated Google space by clicking on it and typing a name in the form, you could also delete this integration by clicking Unsubscribe. - [RSS & Atom feeds](https://instatus.com/help/status-page/notifications/rss): Let customers follow your page from a feed reader. --- # RSS & Atom feeds Source: https://instatus.com/help/status-page/notifications/rss Your status page can publish incidents and maintenances as a feed, so customers can follow updates in a feed reader without subscribing with their email or phone number. Both formats carry the same history — pick whichever your feed reader or internal tooling prefers. ## Enable the feeds Login to Instatus from [instatus.com/login](https://dashboard.instatus.com/login) then choose your status page. 1. Go to **Status page → Notifications** 2. Turn on **RSS & Atom** 3. Click **Save** One toggle controls both formats. **RSS** and **Atom** will now show up in the **Get updates** menu on your status page. ## Feed URLs ```bash your-status-page-url/history.rss your-status-page-url/history.atom ``` Examples are [https://instat.us/history.rss](https://instat.us/history.rss) and [https://instat.us/history.atom](https://instat.us/history.atom) Each item is one incident or maintenance, newest first, and includes its affected components, its duration once it's over, and every update posted to it. If **RSS & Atom** is turned off, both feeds return a 404. On a private page, they're only served to visitors who can already access the page. - [Public API](https://instatus.com/help/status-page/notifications/api): Let customers read your status programmatically. --- # Public API Source: https://instatus.com/help/status-page/notifications/api Every status page can expose a small read-only API so customers can pull your current status into their own dashboards, scripts or health checks. ## Enable the public API Login to Instatus from [instatus.com/login](https://dashboard.instatus.com/login) then choose your status page. 1. Go to **Status page → Notifications** 2. Turn on **API** 3. Click **Save** **API** will now show up in the **Get updates** menu on your status page, linking to a reference page that documents the endpoints with live responses from your own page. ## Endpoints ```bash your-status-page-url/v3/summary.json your-status-page-url/v3/components.json ``` `summary.json` returns the overall page status plus any active incidents and maintenances. `components.json` returns each component and its current status. See [Publicly available data](https://instatus.com/help/api/public-data) for the response format and the list of possible statuses. - [Manage your teammates](https://instatus.com/help/team): Learn how to manage teammates. --- # Observability Source: https://instatus.com/help/observability Observability shows what is happening inside your app, next to the monitors and incidents of the same status page. Your services send logs, traces and metrics over [OpenTelemetry](https://opentelemetry.io), the open standard every language supports. There is no Instatus agent or library to install. ![A dashboard in Observability, with requests, error rate, latency and the latest errors](https://instatus.com/help/observability/overview.png) Open **Observability** in the sidebar of a status page. It has four views: | At a glance | Details | | :-- | :-- | | [Logs](https://instatus.com/help/observability/logs) | Search, filter and tail every log line | | [Traces](https://instatus.com/help/observability/traces) | See where each request spends its time | | [Metrics](https://instatus.com/help/observability/metrics) | Spot what changed, biggest change first | | [Dashboards](https://instatus.com/help/observability/dashboards) | Describe a dashboard and Instatus builds it | | [Plans](https://instatus.com/help/observability#plans-and-limits) | Data, retention and dashboards per plan | ## Get started in 3 steps 1. Open **Observability** on your status page. Until data arrives, each view shows a setup card. 2. Click **Copy prompt** and paste it into your coding agent, such as Claude Code, Cursor or Copilot. It adds OpenTelemetry to your app and sends a test log. Prefer to do it yourself? Click **Set up by hand** instead. 3. Run your app. The first logs show up within a few seconds, and the setup card turns into the explorer. ![The setup card, with Logs, Traces and Metrics to include and a Copy prompt button](https://instatus.com/help/observability/setup.png) The prompt already contains your page ID, so the only thing you add is your API key. [Send data](https://instatus.com/help/observability/send-logs) covers both ways in detail, with copy-paste examples. That’s it. Your app now reports to Instatus. ## Plans and limits Each status page has a monthly data allowance, counted from what your services send. The meter at the top of every Observability view shows how much you have used. | Plan | Data per month | Kept for | Dashboards | AI chart requests per month | | ---------- | -------------- | -------- | ---------- | --------------------------- | | Free | 1 GB | 7 days | 3 | 25 | | Pro | 100 GB | 30 days | 20 | 300 | | Business | 1 TB | 90 days | Unlimited | 3,000 | | Enterprise | 1 TB | 90 days | Unlimited | 3,000 | **Temporary.** These limits apply until usage-based pricing arrives. - At 80% of the allowance, a banner warns you. - Past the allowance, new data is paused until the 1st of next month. Everything already stored stays searchable. - Data is deleted after the number of days your plan keeps it. The period is set when the data arrives, so upgrading applies to new data. ## Send less data **Observability › Usage** shows how much each service sent this month, split into traces, logs and metrics. - Select **Reduce** next to a service to see its biggest sources, each with a suggested rule. - Or select **Add rule** to write one: keep 1 in 2, 4, 10, 20 or 100 traces or logs, drop logs below a level, or drop spans and metrics by name. Rules run as data arrives, so whatever they drop or skip never counts toward your allowance. When a rule keeps 1 in 10 traces, all the spans of a trace are kept or skipped together, and charts count each kept span 10 times. Request counts and error rates stay accurate. A rule for one span name samples only those spans and keeps the rest of each trace. You can also sample in your app, which cuts what it sends over the network too. Set `OTEL_TRACES_SAMPLER=parentbased_traceidratio` and `OTEL_TRACES_SAMPLER_ARG=0.1` to keep 1 in 10 traces. For charts to scale this back up, add a `SampleRate` attribute set to `10` on each span, or use an SDK that writes OpenTelemetry's sampling threshold (`ot=th`) into `tracestate`. ## Who can send and search - **Sending** needs the API key of a team member who can edit the page: an owner, admin or editor. - **Searching** is open to every member of the team, including read-only members. An API key belongs to one person. If they leave the team, their key stops working, so for production use the key of a shared or service account. - [Send data](https://instatus.com/help/observability/send-logs): Connect your app with a prompt or by hand - [Logs](https://instatus.com/help/observability/logs): Search, filter and tail your logs --- # Send data Source: https://instatus.com/help/observability/send-logs Instatus receives logs, traces and metrics over OpenTelemetry (OTLP over HTTPS). There are two ways to connect an app. Pick one. | At a glance | Details | | :-- | :-- | | [Fastest](https://instatus.com/help/observability/send-logs#option-1-copy-a-prompt) | Copy a prompt for your coding agent | | [By hand](https://instatus.com/help/observability/send-logs#option-2-set-up-by-hand) | Pick your language and paste the code | | [Endpoint](https://instatus.com/help/observability/send-logs#what-every-request-needs) | https://otel.instatus.com, plus two headers | | [Test](https://instatus.com/help/observability/send-logs#send-a-test-log) | One curl request | | [Not showing up?](https://instatus.com/help/observability/send-logs#troubleshooting) | Fix the common problems | ## Option 1: Copy a prompt The quickest way, if you use a coding agent such as Claude Code, Cursor or Copilot. 1. Open **Observability** on your status page. 2. Under **Include**, tick what you want to send: **Logs**, **Traces**, **Metrics**. Tick **Starter dashboard** too if you want ready-made dashboards for your services later. 3. Click **Copy prompt**. 4. Paste it into your coding agent, in your app’s project. 5. Put your [API key](#find-your-api-key) in the `INSTATUS_API_KEY` environment variable, then run the test the agent suggests. ![The setup card, with Logs, Traces and Metrics to include and a Copy prompt button](https://instatus.com/help/observability/setup.png) The prompt tells the agent to use the official OpenTelemetry SDK for your language, keep your existing logging library, read the key from an environment variable and never commit it. Your page ID is already in it. ## Option 2: Set up by hand 1. Open **Observability** on your status page. 2. Click **Set up by hand**. 3. Pick your language: Node.js, Python, Go, Java, .NET, Ruby, PHP, or the OpenTelemetry Collector. 4. Copy the **Install** command and run it, then copy the **Configure** code into your app. 5. Set the `INSTATUS_API_KEY` environment variable to your [API key](#find-your-api-key) and start your app. ![Set up by hand with Node.js selected, showing the install command and the configuration code](https://instatus.com/help/observability/setup-by-hand.png) The code in the dashboard already has your page ID filled in. The same examples are below if you’d rather copy them from here. ## What every request needs | What | Value | | -------------------- | --------------------------------------------------------------------------------------------- | | Endpoint | `https://otel.instatus.com`. Logs go to `/v1/logs`, traces to `/v1/traces`, metrics to `/v1/metrics`. | | `Authorization` | `Bearer `, with the key of an owner, admin or editor of the page. | | `X-Instatus-Site-Id` | The ID of the status page the data belongs to. | | Protocol | OTLP over HTTP, as protobuf or JSON. If your SDK defaults to gRPC, switch it to HTTP. | > Your API key gives access to your whole account. Keep it on your servers, in an environment variable. Never put it in a browser, a mobile app or a public repository. ### Find your API key Open your avatar menu, choose **User settings**, then **Developer**, or go straight to [Developer settings](https://dashboard.instatus.com/developer). Click **Copy** next to the key. ![The API key in Developer settings, with a Copy button](https://instatus.com/help/observability/api-key.png) ### Find your page ID You rarely need to: the prompt and the code in the dashboard already contain it. To copy it yourself, right-click the project name at the top of the dashboard and choose **Copy Project ID**. ![Copy Project ID in the menu of the project name](https://instatus.com/help/observability/copy-page-id.png) ## Send a test log One request from a terminal is enough to check your key and page ID: ```bash curl -X POST https://otel.instatus.com/v1/logs \ -H "Authorization: Bearer $INSTATUS_API_KEY" \ -H "X-Instatus-Site-Id: $INSTATUS_PAGE_ID" \ -H "Content-Type: application/json" \ -d '{ "resourceLogs": [{ "resource": { "attributes": [ { "key": "service.name", "value": { "stringValue": "api" } } ] }, "scopeLogs": [{ "logRecords": [{ "timeUnixNano": "'$(date +%s)'000000000", "severityText": "INFO", "body": { "stringValue": "Hello from Instatus" } }] }] }] }' ``` A `200` response means the log was accepted. Open **Observability** → **Logs**, and it is there within a few seconds. ## Any language, no code changes Every OpenTelemetry SDK reads the same environment variables. With them, auto-instrumentation sends traces, metrics and logs without touching your code: ```bash export OTEL_SERVICE_NAME="api" export OTEL_EXPORTER_OTLP_ENDPOINT="https://otel.instatus.com" export OTEL_EXPORTER_OTLP_PROTOCOL="http/protobuf" export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer%20${INSTATUS_API_KEY},X-Instatus-Site-Id=${INSTATUS_PAGE_ID}" export OTEL_TRACES_EXPORTER="otlp" export OTEL_METRICS_EXPORTER="otlp" export OTEL_LOGS_EXPORTER="otlp" ``` The space after `Bearer` is written as `%20`, because the headers variable is URL-encoded. Then start your app with the auto-instrumentation for its language: ```bash # Node.js npm install @opentelemetry/api @opentelemetry/auto-instrumentations-node node --require @opentelemetry/auto-instrumentations-node/register app.js # Python pip install opentelemetry-distro opentelemetry-exporter-otlp opentelemetry-bootstrap -a install OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED=true opentelemetry-instrument python app.py ``` Java, .NET, Go, Ruby and PHP have their own auto-instrumentation and read the same variables. See [OpenTelemetry’s zero-code guides](https://opentelemetry.io/docs/zero-code/). ## Node.js To send logs from your code, install the logs SDK: ```bash npm install @opentelemetry/api-logs @opentelemetry/sdk-logs \ @opentelemetry/exporter-logs-otlp-http @opentelemetry/resources ``` Set it up once when your app starts: ```js import { SeverityNumber } from '@opentelemetry/api-logs' import { OTLPLogExporter } from '@opentelemetry/exporter-logs-otlp-http' import { resourceFromAttributes } from '@opentelemetry/resources' import { BatchLogRecordProcessor, LoggerProvider } from '@opentelemetry/sdk-logs' const provider = new LoggerProvider({ resource: resourceFromAttributes({ 'service.name': 'api' }), processors: [ new BatchLogRecordProcessor( new OTLPLogExporter({ url: 'https://otel.instatus.com/v1/logs', headers: { Authorization: `Bearer ${process.env.INSTATUS_API_KEY}`, 'X-Instatus-Site-Id': process.env.INSTATUS_PAGE_ID } }) ) ] }) const logger = provider.getLogger('api') logger.emit({ severityNumber: SeverityNumber.ERROR, severityText: 'ERROR', body: 'Payment failed: card declined', attributes: { 'customer.id': 'cus_123', route: '/v2/charges' } }) process.on('beforeExit', () => provider.shutdown()) ``` Already logging with **pino** or **winston**? Keep them. [`pino-opentelemetry-transport`](https://www.npmjs.com/package/pino-opentelemetry-transport) and [`@opentelemetry/winston-transport`](https://www.npmjs.com/package/@opentelemetry/winston-transport) send every existing log line as it is. ## Python ```bash pip install opentelemetry-sdk opentelemetry-exporter-otlp-proto-http ``` The SDK plugs into Python’s `logging` module, so your existing `logging` calls are sent as they are: ```python import logging import os from opentelemetry._logs import set_logger_provider from opentelemetry.exporter.otlp.proto.http._log_exporter import OTLPLogExporter from opentelemetry.sdk._logs import LoggerProvider, LoggingHandler from opentelemetry.sdk._logs.export import BatchLogRecordProcessor from opentelemetry.sdk.resources import Resource provider = LoggerProvider(resource=Resource.create({"service.name": "worker"})) provider.add_log_record_processor( BatchLogRecordProcessor( OTLPLogExporter( endpoint="https://otel.instatus.com/v1/logs", headers={ "Authorization": f"Bearer {os.environ['INSTATUS_API_KEY']}", "X-Instatus-Site-Id": os.environ["INSTATUS_PAGE_ID"], }, ) ) ) set_logger_provider(provider) logging.getLogger().addHandler(LoggingHandler(level=logging.INFO, logger_provider=provider)) logging.getLogger().setLevel(logging.INFO) logging.warning("Card declined for customer %s", "cus_123") ``` ## OpenTelemetry Collector Already running the OpenTelemetry Collector? Add Instatus as an exporter and leave your apps as they are: ```yaml exporters: otlphttp/instatus: endpoint: https://otel.instatus.com headers: Authorization: Bearer ${env:INSTATUS_API_KEY} X-Instatus-Site-Id: ${env:INSTATUS_PAGE_ID} service: pipelines: logs: receivers: [otlp] processors: [batch] exporters: [otlphttp/instatus] traces: receivers: [otlp] processors: [batch] exporters: [otlphttp/instatus] metrics: receivers: [otlp] processors: [batch] exporters: [otlphttp/instatus] ``` The exporter adds `/v1/logs`, `/v1/traces` and `/v1/metrics` itself, so the endpoint is the host only. To ship log files, add a `filelog` receiver to the logs pipeline. ## What to send Instatus reads these fields. Everything else is kept as an attribute you can search and filter on. | Field | Used for | | ---------------------------------- | ------------------------------------------------------------------------------------------------- | | `service.name` (resource) | The **Service** column and filter. Set it in every app, worker and job. | | `body` | The log message, matched by free-text search. | | `severityText` or `severityNumber` | The level: `fatal`, `error`, `warn`, `info`, `debug` or `trace`. | | `traceId` and `spanId` | Links a log to its trace, so you can jump between them. | | Attributes | Anything you add, such as `customer.id` or `http.route`. Each one becomes a filter. | Attributes starting with `instatus.` are reserved and replaced when data arrives. ## Troubleshooting | You see | Fix | | --------------------------- | ----------------------------------------------------------------------------------------------------------------------- | | `401` | Check the key and the `X-Instatus-Site-Id` header. The key’s owner must be an owner, admin or editor of the page. | | `400` | The body isn’t valid OTLP. Check `Content-Type` and the JSON structure in the [test log](#send-a-test-log). | | `429` | This month’s data allowance is used up. See [plans and limits](https://instatus.com/help/observability#plans-and-limits). | | `200`, but nothing shows up | Wait a few seconds, then check the time range. A log with a timestamp in the past only shows when the range covers it. | | Nothing at all | SDKs send in batches. Make sure your app flushes or shuts down the provider before it exits. | Regenerating your API key in Developer settings stops the old one at once, so update every app that uses it first. - [Logs](https://instatus.com/help/observability/logs): Search, filter and tail your logs - [Traces](https://instatus.com/help/observability/traces): See where each request spends its time --- # Logs Source: https://instatus.com/help/observability/logs Open **Observability** → **Logs** on your status page. The newest logs are at the top, with a chart of log volume above them. The red line in the chart is errors, so you can see when something started at a glance. ![The logs explorer, with counts by level, the volume chart and the newest logs](https://instatus.com/help/observability/logs.png) | At a glance | Details | | :-- | :-- | | [Search](https://instatus.com/help/observability/logs#search) | Type words, press Enter | | [Filter](https://instatus.com/help/observability/logs#filter) | level:, service:, trace_id: or any attribute | | [Time range](https://instatus.com/help/observability/logs#change-the-time-range) | Presets, custom, or drag on the chart | | [Read a log](https://instatus.com/help/observability/logs#read-a-log) | Click a row | | [Live tail](https://instatus.com/help/observability/logs#live-tail) | Press L | | [Export](https://instatus.com/help/observability/logs#export) | CSV, JSON or copy | ## Search Type words in the search box and press **Enter**. Words match anywhere in the message, in any order. Put a phrase in quotes to match it exactly, such as `"rate limited"`. The chart, the counts and the list all update with your search. ![A search for a quoted phrase combined with a service filter](https://instatus.com/help/observability/logs-search.png) ## Filter Click the empty search box to see what you can filter on. Pick a field, then a value. Each field lists its most common values, with how often they appear. ![The list of fields to filter on, below the search box](https://instatus.com/help/observability/logs-suggestions.png) | Filter | Finds | | ------------ | -------------------------------------------------------------------------- | | `level:` | A level: `fatal`, `error`, `warn`, `info`, `debug` or `trace` | | `service:` | Logs from one service | | `trace_id:` | Every log from one request, across all services | | Any attribute | Type its name, such as `http.route:` or `customer.id:` | A filter becomes a chip in the search box. Click its **×** to remove it. Put `-` in front of a filter to exclude it, such as `-level:debug`. ### Filter by level Type `level:` to open the level picker. It shows how many logs each level has. Press **Space** to pick several, then **Enter**. Two shortcuts cover the usual cases: `level:>=warn` keeps warnings and anything worse, and `-level:debug` hides debug noise. ![The level picker, with a count per level and two shortcuts](https://instatus.com/help/observability/logs-levels.png) The **Service** button next to the search box is a shortcut for `service:`. Clicking a level above the chart turns that level on or off. ### Search syntax | Write | Finds | | -------------------------------------- | ------------------------------------------- | | `timeout` | Logs that contain the word | | `"connection pool"` | That exact phrase | | `timeout retry` | Both words, in any order | | `timeout OR refused` | Either word | | `-timeout` or `NOT timeout` | Logs without the word | | `level:error service:api` | Both filters | | `(timeout OR refused) AND service:api` | Grouped with parentheses | | `service:"billing worker"` | A value with spaces, in quotes | `AND`, `OR` and `NOT` are written in capitals. If a search can’t be read, for example because a quote is never closed, the explorer says so and keeps the previous results. Your recent searches are listed when you open the search box, so a search you use often is one click away. ## Change the time range Click the time range button to pick the last 15 minutes up to the last 7 days, or set a custom range with **From** and **To**. ![The time range menu, with presets and a custom range](https://instatus.com/help/observability/logs-time-range.png) To zoom into a spike, drag across it on the chart. The back button returns to the range you had before. ## Read a log Click a row, or move to it with **↑** **↓** and press **Enter**. The detail pane opens with: - The full message, with **Copy message**. - **Logs like this**, to search for similar messages. - **N logs in this trace**, when the log belongs to a request. It shows every log of that request, across services. - The log’s attributes and its resource (the service, host and version it came from). Click a value to filter by it, exclude it or copy it. ![An error log open in the detail pane, with its message, trace link and attributes](https://instatus.com/help/observability/logs-detail.png) The arrows at the top of the pane move to the previous and next log. ## Live tail Press **L**, or click **Live**, to watch logs as they arrive. New logs appear at the top, and the header shows how many arrive per second. Your search and filters still apply, so `level:error` in live mode is a live error feed. ![Live tail, with new logs streaming in and the rate per second](https://instatus.com/help/observability/logs-live.png) Click the pause button, or press **L** again, to stop. The chart keeps the time range you had before going live. If logs arrive faster than live tail can show, a notice says so: pause and search to see all of them. ## Export Tick the logs you want with the checkboxes. A bar appears above the list with **Export CSV**, **Export JSON** and **Copy**. ![Three logs selected, with Export CSV, Export JSON and Copy above the list](https://instatus.com/help/observability/logs-export.png) The download button at the end of the search bar exports every log loaded in the list as CSV. Exports contain the time, service, level and message of each log. To get a log’s attributes, open it and use **Copy as JSON** in the detail pane. ## Keyboard shortcuts | Key | Does | | ----------------- | ------------------------------------ | | `↓` `↑` or `J` `K` | Move between logs | | `Enter` | Open the selected log | | `Esc` | Close the detail pane or a menu | | `L` | Start or stop live tail | | `Space` | Pick several values in a picker | - [Traces](https://instatus.com/help/observability/traces): See where each request spends its time - [Dashboards](https://instatus.com/help/observability/dashboards): Put your key numbers on one page --- # Traces Source: https://instatus.com/help/observability/traces A trace is one request, followed through every service it touches. Each step is a span: an HTTP call, a database query, a call to another service. Traces show you where a slow request spent its time and where a failing one broke. Open **Observability** → **Traces** on your status page. Each row is one request. ![The traces explorer, with request durations plotted over time and one row per request](https://instatus.com/help/observability/traces.png) | At a glance | Details | | :-- | :-- | | [Find](https://instatus.com/help/observability/traces#find-slow-and-failing-requests) | status:error, duration:>1s, service: | | [Open](https://instatus.com/help/observability/traces#open-a-trace) | Click a row to see its waterfall | | [Fix](https://instatus.com/help/observability/traces#fix-a-failing-request) | Copy prompt to fix, for your coding agent | | [Logs](https://instatus.com/help/observability/traces#open-a-trace) | Jump to the logs of a request | Traces arrive once your app sends them: tick **Traces** when you [copy the setup prompt](https://instatus.com/help/observability/send-logs#option-1-copy-a-prompt), or use auto-instrumentation. ## Read the chart Every dot is a request, placed by when it happened and how long it took. Red dots failed. Above the chart: - **Traces**: how many requests the search found. - **Errors**: how many failed, and their share. - **p50**, **p95**, **p99**: half, 95% and 99% of requests were faster than this. Drag across the chart to zoom into a time window. ## Find slow and failing requests Use the search box like on the [Logs](https://instatus.com/help/observability/logs#filter) page. These filters are made for traces: | Filter | Finds | | --------------- | --------------------------------------------------- | | `status:error` | Requests that failed | | `duration:>1s` | Requests slower than one second. Also `>500ms`, `<100ms` | | `service:api` | Requests handled by one service | | `span.name:` | Spans with a given name, such as `GET /v1/users` | | Any attribute | Such as `http.route:` or `http.response.status_code:` | Free text searches span names. **Root spans** is on by default, so each request shows once. Turn it off to list every span on its own. The download button exports the list as CSV. ## Open a trace Click a row. The trace opens with every span on a timeline, nested under the span that called it. Long bars are where the time went. ![A trace that crosses three services, with a slow call to Okta at the bottom of the waterfall](https://instatus.com/help/observability/trace-waterfall.png) In this example a page load takes 842 ms. The waterfall shows why: `web` calls `api`, `api` calls `sso`, and `sso` waits 468 ms on Okta. - Click a span to see its attributes, such as the route, status code or database query. - **N logs from this span** opens the logs written during that span. - **N logs** at the top opens every log of the request, across services. - **Copy trace ID** copies the ID, to share or to search with `trace_id:`. - Use **↑** **↓** or **J** **K** to move to the previous or next trace, and **Esc** to close. ## Fix a failing request Failed spans are red. **Only errors** hides the spans that worked, so the failure stands out in a long trace. ![A failed request, with the failing spans in red and a Copy prompt to fix button](https://instatus.com/help/observability/trace-error.png) **Copy prompt to fix** copies a description of the failing request: the spans, their errors and attributes. Paste it into your coding agent, in your app’s project, and it has what it needs to find the cause. - [Metrics](https://instatus.com/help/observability/metrics): Spot what changed, biggest change first - [Logs](https://instatus.com/help/observability/logs): Search, filter and tail your logs --- # Metrics Source: https://instatus.com/help/observability/metrics Metrics are numbers your services report over time: request duration, memory, CPU, queue depth, anything you count. Instatus shows them biggest change first, so what moved recently is at the top. Open **Observability** → **Metrics** on your status page. ![Metrics as cards, each with its current value, its change against the previous hour and a chart](https://instatus.com/help/observability/metrics.png) Metrics arrive once your app sends them: tick **Metrics** when you [copy the setup prompt](https://instatus.com/help/observability/send-logs#option-1-copy-a-prompt), or use auto-instrumentation, which reports request duration, memory and CPU for you. ## Read the cards Each card shows a metric’s current value and how much it changed against the previous period. With **Last 1 hour** selected, that’s the hour before. A red change is worth a look. - **Sort** switches between **Biggest change** and **Name**. - **Service** shows only the metrics of one service. - The search box finds a metric by name, such as `http.server.duration`. Press **/** to jump to it. - The time range sets both the chart and the period it is compared with. ## Open a metric Click a card. The chart shows the metric over the time range, with one line per service, and a table below compares them: the value now, the average, the peak, and the change. ![A metric with one line per service, a highlighted spike and a link to the slow traces behind it](https://instatus.com/help/observability/metric-detail.png) - **Show** picks how values are combined. Durations offer `p50`, `p90`, `p95`, `p99`, average and max. Gauges such as memory offer average, min and max. Counters offer rate per second and sum. - **Split by** draws one line per **service**, or a single line for **none**. - Point at a service in the table to highlight its line. Click it to keep it highlighted. ## Follow a spike When a metric more than doubles for a while, Instatus highlights the window on the chart and says which service caused most of it. If the metric is a request duration, **View N slow traces** opens [Traces](https://instatus.com/help/observability/traces) on the slow requests from that window. Open one to see which step was slow. - [Dashboards](https://instatus.com/help/observability/dashboards): Put your key numbers on one page - [Traces](https://instatus.com/help/observability/traces): See where each request spends its time --- # Dashboards Source: https://instatus.com/help/observability/dashboards A dashboard puts the numbers you check every day on one page: request rate, errors, latency, the latest failures. You don’t have to build it chart by chart. Describe what you want to see, and Instatus builds it from your logs, traces and metrics. Open **Observability** → **Dashboards** on your status page. ## Create your first dashboard The first time you open Dashboards, you have three ways to start: 1. **Describe it.** Type what you want to watch, such as “How is checkout doing? Latency, errors and failed Stripe calls”, and click **Build dashboard**. 2. **Start from one made for your services.** Instatus suggests dashboards based on the services, routes and metrics it has seen, such as the health of a service or API latency by route. 3. **Start with a blank dashboard** and add charts yourself. ![Describe the dashboard you want, with ready-made dashboards for your services below](https://instatus.com/help/observability/dashboards-new.png) Whichever you pick, you can change everything afterwards. ![A dashboard with requests, error rate, latency, latency by route and errors by service](https://instatus.com/help/observability/dashboard.png) ## Add a chart 1. Click **Add chart**. 2. Describe the chart, such as “p95 latency of POST /charges by service”, and press **Enter**. Or click one of the suggestions below the box. 3. Check the preview, then click **Add to dashboard**. ![The Add chart panel, with a box to describe the chart, the settings and a preview](https://instatus.com/help/observability/dashboard-add-chart.png) To build the chart yourself instead, set the fields under **or adjust it yourself**: | Field | What it does | | -------------- | ------------------------------------------------------------------------------- | | **Data** | Logs, Traces or a Metric. | | **Show** | What to count: count, per second, error rate, p50, p95, p99, average, or a metric’s value. | | **Filter** | Which data to include, written like a search, such as `level:error service:web`. | | **Split by** | One line or bar per service, route, level or status, or nothing. | | **Chart type** | Line, Bars, Number, Table, or Stream for a live list of logs. | The new chart appears at the top of the dashboard. ## Change a dashboard - **Move** a chart by dragging its title. **Resize** it from its bottom-right corner. - Point at a chart to see its actions: expand, **Edit**, **Duplicate** and **Remove**. A removed chart comes back with **Undo**. - **Edit with AI**: describe a change to one chart, such as “only 5xx errors”. - To change the whole dashboard, type in the box at the bottom, such as “put errors first and add memory by host”. - Click the dashboard name to rename it, delete it, switch to another one, or choose **New dashboard**. ## Use a dashboard - **Service** shows every chart for one service only. - The time range applies to every chart. Each number is compared with the period before. - Point at a line to read its values. Click to pin them, drag to zoom in. - Click a row or a point to open the matching logs or traces. - **Share** copies the dashboard’s link. Teammates with access to the page can open it. ## Limits | Plan | Dashboards | AI chart requests per month | | ---------- | ---------- | --------------------------- | | Free | 3 | 25 | | Pro | 20 | 300 | | Business | Unlimited | 3,000 | | Enterprise | Unlimited | 3,000 | An AI chart request is one description sent: building a dashboard, adding or editing a chart with a sentence, or changing the dashboard from the box at the bottom. When you run out, you can still add and edit charts by hand. The count resets on the 1st of each month. - [Manage your teammates](https://instatus.com/help/team): Learn how to manage teammates. --- # Manage your teammates Source: https://instatus.com/help/team ## Add your teammates Login to your Instatus at [instatus.com/login](https://dashboard.instatus.com/login) then choose your status page. Open the workspace menu in the sidebar, choose **Team members**, then click the **Invite team members** button: Add your teammate's email, pick their role and group, then click **Invite user**. ![Add a new teammate](https://instatus.com/help/teammates/1.png) **Our teammate roles:** - Owner: Full access - Member: Nearly full access, except high-level team and billing settings. - Editor: Can add, update and delete status page content. - Read only: Can view your private status pages. Your teammate is now added! 👩‍💻👨🏻‍💻👩🏼‍💻👨🏽‍💻👩🏾‍💻👨🏿‍💻 ## Remove your teammate Go to team Choose a teammate, and click on remove. Your teammate is now removed 😿 - [Upgrade your status page](https://instatus.com/help/team/upgrade): Learn about our pricing and features. --- # Upgrade your status page Source: https://instatus.com/help/team/upgrade Upgrade from the workspace menu → **Billing**. The Pro plan adds a custom domain, private pages and unlimited teammates and subscribers; the Business plan adds SAML SSO, select-audience pages and yearly invoicing. | At a glance | Details | | :-- | :-- | | [Free](https://instatus.com/help/team/upgrade#how-do-i-upgrade-my-plan) | Most features | | [Pro](https://instatus.com/help/team/upgrade#how-do-i-upgrade-my-plan) | Custom domain, private pages, unlimited teammates | | [Business](https://instatus.com/help/team/upgrade#how-do-i-upgrade-my-plan) | SAML SSO, select-audience pages, yearly invoicing | | [Where to find](https://instatus.com/help/team/upgrade#how-do-i-upgrade-my-plan) | Workspace menu → Billing | | [Full comparison](https://instatus.com/pricing) | instatus.com/pricing | ## How do I upgrade my plan? 1. Login to your Instatus at [instatus.com/login](https://dashboard.instatus.com/login) then choose your status page. 2. Open the workspace menu in the sidebar, then choose **Billing**. ![Workspace menu with Billing](https://instatus.com/help/upgrade/1.png) 3. The billing page opens on your current plan and the plans you can move to. ![Compare plans](https://instatus.com/help/upgrade/2.png) 4. Compare the plans and pick the one you need. The Pro plan unlocks features like a custom domain, unlimited teammates and subscribers, and private pages. The Business plan adds SAML SSO, select-audience pages, and yearly invoicing. See the full feature comparison on our [pricing page](https://instatus.com/pricing). Congrats! Now your status page has been upgraded 🥳 - [Set up Single Sign-on](https://instatus.com/help/team/sso): Learn how to enable SAML-based SSO for your team --- # Set up Single Sign-on Source: https://instatus.com/help/team/sso SAML single sign-on lets your team sign in to the Instatus dashboard or your private status page through your own identity provider. It requires the Business plan and is configured through OrbitID. | At a glance | Details | | :-- | :-- | | [Plan required](https://instatus.com/help/team/sso#how-do-i-set-up-sso) | Business | | [Protocol](https://instatus.com/help/team/sso#which-identity-providers-are-supported) | SAML, plus OpenID and CAS through OrbitID | | [Applies to](https://instatus.com/help/team/sso#how-do-i-set-up-sso) | Dashboard login, private status page login | | [Setup](https://instatus.com/help/team/sso#how-do-i-set-up-sso) | Single Sign-On → Setup SSO, then OrbitID | | [Providers](https://instatus.com/help/team/sso#which-identity-providers-are-supported) | Okta, Google, Microsoft, OneLogin, Auth0 and more | ## How do I set up SSO? Upgrade to the Business plan, open **Single Sign-On** in your team dashboard, click **Setup SSO**, enter your organization's email domains, then finish the configuration in OrbitID with your identity provider. Log in at [instatus.com/login](https://dashboard.instatus.com/login) and select your team. If you already have a Business plan, skip the first step. 1. Open the workspace menu in the sidebar, choose **Billing**, and upgrade to a Business plan. ![Switch plan](https://instatus.com/help/upgrade/2.png) 2. In the team's dashboard, select Single Sign-On and click on **Setup SSO**. ![Single Sign-On tab](https://instatus.com/help/sso/1.png) 3. Enter the domains that your organization frequently uses and select **Setup SSO**. ![Organization email domains](https://instatus.com/help/sso/setup-domains.png) 4. You will be redirected to [OrbitID](https://instatus.com/help/sso/orbitid), our identity platform. On OrbitID, choose your identity provider. 5. Following the selection of a provider, a guide will walk you through the SSO configuration process. Congrats! You have set Single Sign-On 🥳 ## Which identity providers are supported? Instatus supports these identity providers through OrbitID: - Okta - Google SAML - Microsoft Azure - Microsoft ADFS - SAML - Duo - ADP - Jump Cloud - Keycloak - LastPass - miniOrange - NetIQ - OneLogin - Oracle Cloud - PingOne - PingFederate - Salesforce - VMware - OpenID - CAS - ClassLink - Cloudflare - CyberArk - SimpleSAMLphp - Auth0 - [Activity Log](https://instatus.com/help/team/activity): Discover Instatus activity log. --- # Activity Log Source: https://instatus.com/help/team/activity Company administrators can use activity logs to keep track of all changes made to their team, status pages, and issue activity (incidents, maintenances, templates, etc.). ![Admin activity log](https://instatus.com/help/activity/1.png) ## Overview Instatus automatically records team-related events and status page modifications. Incidents, maintenances, templates, subscriptions, and the status page updates (display, notifications, and credentials changes). They are extremely useful when you need to quickly troubleshoot an issue or get a complete report of important events. ## Activity Displays Currently, Instatus supports two display modes for activities: 1. ### Per-issue Activity This display mode is available to all users, regardless of whether they have a paid or free plan, and their permission level. This log, which can be located at the bottom of the issue page, provides basic information about the changes that occur to a specific issue. This is currently only supported for incidents, maintenances, and templates. ![Per-issue activity log](https://instatus.com/help/activity/2.png) 2. ### Admin Display Business plan subscribers can access the admin display. Due to the sensitive information, only team admins have access to it. The admin display can be found by opening the workspace menu in the sidebar and choosing **Activity**. ![Admin activity log](https://instatus.com/help/activity/3.png) - [Delete your Instatus account](https://instatus.com/help/team/delete): Learn how to permanently delete your Instatus account. --- # Delete your Instatus account Source: https://instatus.com/help/team/delete ## Delete Your Account Navigate to [dashboard.instatus.com/settings](https://dashboard.instatus.com/settings) and click on Delete your Account button then follow the prompts. ![Delete your Account](https://instatus.com/help/delete.png) --- # Get started with integrations Source: https://instatus.com/help/integrations Integrate your monitoring service to automatically update your status page with the current status of your application. Import metrics from Pingdom, Datadog, New Relic or Prometheus to display them on your status page. Send notifications through Slack, Discord, Email, SMS, Webhook or API. To start automating a component status, go to [dashboard.instatus.com](https://dashboard.instatus.com), then choose your status page. Go to Integration, then select your service, and click add to instatus. Follow the steps and you're done! ### Integrate monitoring services: - [Email to Incident](https://instatus.com/help/integrations/custom-service-email): Send emails to update your status page. - [Webhook to Incident](https://instatus.com/help/integrations/custom-service-webhook): Send webhooks to update your status page. - [API](https://instatus.com/help/api): Use the API to automate your status page. - [Better Uptime](https://instatus.com/help/integrations/betteruptime): Use Better Uptime to automate your status page. - [Checkly](https://instatus.com/help/integrations/checkly): Use Checkly to automate your status page. - [Datadog](https://instatus.com/help/integrations/datadog): Use Datadog to automate your status page. - [Freshping](https://instatus.com/help/integrations/freshping): Use Freshping to automate your status page. - [Grafana](https://instatus.com/help/integrations/grafana): Use Grafana Alertmanager to automate your status page. - [HetrixTools](https://instatus.com/help/integrations/hetrixtools): Use HetrixTools to automate your status page. - [Jira](https://instatus.com/help/integrations/jira): Update your status page through Jira issues. - [New Relic](https://instatus.com/help/integrations/new-relic): Use New Relic monitoring to automate your status page. - [PagerDuty](https://instatus.com/help/integrations/pagerduty): Use PagerDuty to automate your status page. - [Pingdom](https://instatus.com/help/integrations/pingdom): Use Pingdom monitoring to automate your status page. - [Runscope](https://instatus.com/help/integrations/runscope): Use BlazeMeter Runscope to automate your status page. - [Site24x7](https://instatus.com/help/integrations/site24x7): Use Site24x7 to automate your status page. - [StatusCake](https://instatus.com/help/integrations/statuscake): Use StatusCake to automate your status page. - [Uptime Robot](https://instatus.com/help/integrations/uptime-robot): Use Uptime Robot monitoring to automate your status page. - [Updown.io](https://instatus.com/help/integrations/updown): Use Updown.io checks to automate your status page. - [Google Cloud Monitoring](https://instatus.com/help/integrations/google-cloud-monitoring): Use Google Cloud alerts to automate your status page. ### Send notifications through: - [Email](https://instatus.com/help/status-page/notifications/email): Send emails notifiying your subscribers. - [Webhook](https://instatus.com/help/status-page/notifications/webhook): How to setup Webhook notifications. - [SMS](https://instatus.com/help/status-page/notifications/sms): How to integrate an SMS service. - [X](https://instatus.com/help/status-page/notifications/x): How to send X notifications. - [Slack](https://instatus.com/help/status-page/notifications/slack): Add updates to your slack workspace. - [Microsoft Teams](https://instatus.com/help/status-page/notifications/ms-teams): Add to your Microsoft Teams channel. - [Discord](https://instatus.com/help/status-page/notifications/discord): Add to your Discord server. - [Google Chat](https://instatus.com/help/status-page/notifications/google-chat): Add to you Google Chat. - [RSS & Atom](https://instatus.com/help/status-page/notifications/rss): Let customers follow your page in a feed reader. - [API](https://instatus.com/help/status-page/notifications/api): Let customers read your status programmatically. ### Import metrics from: - [Datadog Metrics](https://instatus.com/help/integrations/metrics/datadog): Import Datadog metrics to your status page - [Pingdom Metrics](https://instatus.com/help/integrations/metrics/pingdom): Import Pingdom metrics to your status page - [New Relic Metrics](https://instatus.com/help/integrations/metrics/new-relic): Import New Relic metrics to your status page - [Prometheus Metrics](https://instatus.com/help/integrations/metrics/prometheus): Import Prometheus metrics to your status page --- # Webhook to Incident Source: https://instatus.com/help/integrations/custom-service-webhook 1. Go to [Instatus](https://instatus.com), under Integrations, select Webhook to Incident 2. Open the integration and copy its webhook URL. Every integration has its own URL, shown in the dashboard. 3. If you want to open a new incident, send a POST request to the URL with the following body. Encode it as JSON with the `Content-Type: application/json` header. ```json { "trigger": "down" } ``` The incident text and affected components come from the integration's trigger template. 4. If you want to resolve an incident, send a POST request to the URL with the following body ```json { "trigger": "up" } ``` The resolve message and the components to restore come from the integration's resolve template. We're done! 👏 --- # Email to Incident Source: https://instatus.com/help/integrations/custom-service-email 1. Go to [Instatus](https://instatus.com), under Integrations, select Email to Incident 2. Copy your component's email address 3. To test it, send an email to address you just copied with UP or DOWN in the subject. The component's status will be updated. ![Send email](https://instatus.com/help/integrations/custom-1.jpg) 4. Configure your custom service to send UP or DOWN to that email whenever you detect a change in status. We're done! 👏 --- # Better Uptime + Instatus Source: https://instatus.com/help/integrations/betteruptime 1. Go to [Instatus](https://instatus.com), under Integrations, select Better Uptime 2. Select the templates to use when creating and resolving automated incidents 3. Copy your page's webhook URL 4. Go to your Better Uptime dashboard ![](https://instatus.com/help/integrations/betteruptime-1.jpg) 5. Add a Better Uptime Incident Webhook ![](https://instatus.com/help/integrations/betteruptime-2.jpg) ![](https://instatus.com/help/integrations/betteruptime-3.jpg) We're done! 👏 --- # Checkly + Instatus Source: https://instatus.com/help/integrations/checkly 1. Go to [Instatus](https://instatus.com), under Integrations, select Checkly 2. Select the templates to use when creating and resolving automated incidents 3. Copy your page's webhook URL 4. Go to your Checkly dashboard ![](https://instatus.com/help/integrations/checkly-1.png) 5. Add a webhook alert ![](https://instatus.com/help/integrations/checkly-2.png) 6. Add any name, and use the copied webhook URL. Make sure to add `alert` to the body Example: ```json { "alert": "{{ALERT_TYPE}}", "event": "{{ALERT_TITLE}}", "link": "{{RESULT_LINK}}" } ``` ![](https://instatus.com/help/integrations/checkly-3.png) We're done! 👏 --- # Datadog + Instatus Source: https://instatus.com/help/integrations/datadog 1. Go to [Instatus](https://instatus.com), under Integrations, select Datadog 2. Select the templates to use when creating and resolving automated incidents 3. Copy your page's webhook URL 4. Log in to your Datadog account and go to Integrations. 5. Create a new Webhook integration ![Datadog webhook integration](https://instatus.com/help/integrations/datadog-1.png) 6. Add a name and your copied Instatus Webhook URL 7. Make sure to add `alert` value to your payload: ```json { "alert": "$ALERT_TRANSITION", "body": "$EVENT_MSG", "last_updated": "$LAST_UPDATED", "event_type": "$EVENT_TYPE", "title": "$EVENT_TITLE", "date": "$DATE", "org": { "id": "$ORG_ID", "name": "$ORG_NAME" }, "id": "$ID" } ``` 8. Click Save ![Datadog add webhook](https://instatus.com/help/integrations/datadog-2.png) 9. Create a new API test ![Datadog API test](https://instatus.com/help/integrations/datadog-3.png) 10. Make sure to notify your created webhook integration ![Datadog API test notifications](https://instatus.com/help/integrations/datadog-4.png) We're done! 🙌 --- # Freshping + Instatus Source: https://instatus.com/help/integrations/freshping 1. Go to [Instatus](https://instatus.com), under Integrations, select Freshping 2. Select the templates to use when creating and resolving automated incidents 3. Copy your page's webhook URL 4. Open your Freshping dashboard. Click on Settings → Integrations, then in the Webhook section click on Create Integration ![Freshping dashboard](https://instatus.com/help/integrations/freshping-webhook-1.png) 5. Enter a name for your Webhook, select Up/Down event type, select the checks that you want notify this webhook, paste your Webhook URL, then click save.. ![Freshping webhook settings](https://instatus.com/help/integrations/freshping-webhook-2.png) We're done! 👏 --- # Grafana + Instatus Source: https://instatus.com/help/integrations/grafana 1. In the Instatus dashboard, go to Apps, select Grafana, and generate a Grafana webhook URL. 2. In Grafana, create a new Contact point using the generated webhook URL. 3. Create (or update) an alert rule to send notifications to that contact point. 4. Ensure the contact point is referenced in your Notification policies. We're done! 👏 --- # HetrixTools + Instatus Source: https://instatus.com/help/integrations/hetrixtools 1. Go to [Instatus](https://instatus.com), under Integrations, select HetrixTools 2. Select the templates to use when creating and resolving automated incidents 3. Copy your page's webhook URL 4. Open your HetrixTools dashboard. Select your user avatar & contact lists. ![HetrixTools dashboard](https://instatus.com/help/integrations/hetrixtools-1.png) 5. Add a contact name & your Webhook URL ![HetrixTools webhooks](https://instatus.com/help/integrations/hetrixtools-2.png) We're done! 🍪 --- # Jira + Instatus Source: https://instatus.com/help/integrations/jira 1. Go to [Instatus Jira Integration](https://dashboard.instatus.com/integrations/jira) 2. Select the templates to use when creating and resolving automated incidents 3. Copy your page's webhook URL 4. In your Jira dashboard, go to your Space Settings → Automation → Create rule → Create from scratch ![Jira Space Settings Automation](https://instatus.com/help/integrations/jira-1.png) ![Jira Create rule from scratch](https://instatus.com/help/integrations/jira-2.png) To apply automation rules to all spaces, you need to switch to _Global administration_ and apply the same following rules: 5. Create a rule to create incidents when Jira issues are created Add a trigger → search & choose _Work item created_ ![Jira Work item created trigger](https://instatus.com/help/integrations/jira-3.png) 6. Click _Add condition_ then choose _Work item fields condition_. Select the Field to be _Issue type_ and the value to be an issue type of your choice. You can create a new issue type for this purpose. ![Jira Work item fields condition for Issue type](https://instatus.com/help/integrations/jira-4.png) 7. Add a new action component and choose _Send web request_ 8. Paste the webhook URL from step 1 in the request URL field. Choose the `POST` HTTP method and select Custom data for the request body & paste the following: ```json { "trigger": "down" } ``` ![Jira Send web request action with POST method](https://instatus.com/help/integrations/jira-5.png) 9. Make sure that the Actor for this automation rule is set to _Automation for Jira_ to avoid any permission issues. You can check this in Rule details → Actor 10. Click next → Turn on rule & give it a name We have created the create incident rule. Now, let's create the resolve incident rule: 11. Add a trigger → search & choose _Work item transitioned_ → set the To status to be _Done_ or any status that indicates resolution ![Jira Work item transitioned trigger with Done status](https://instatus.com/help/integrations/jira-6.png) 12. Click add condition then choose Work item fields condition. Select the Field to be _Issue type_ and the value to be the same as the issue type used in the create incident rule (Step 6) ![Jira Issue type condition](https://instatus.com/help/integrations/jira-7.png) 13. Add an action component and choose _Send web request_ 14. Paste the same webhook URL from step 1 in the request URL field. Choose the `POST` HTTP method and select Custom data for the request body & paste the following: ```json { "trigger": "up" } ``` ![Jira Send web request action for resolve incident rule](https://instatus.com/help/integrations/jira-8.png) 15. Make sure that the Actor for this automation rule is set to _Automation for Jira_ to avoid any permission issues. You can check this in Rule details → Actor 16. Click next → Turn on rule & give it a name. That's the resolve incident rule created. You're done! 🎉 --- # Zendesk + Instatus Source: https://instatus.com/help/integrations/zendesk ## Integration for Zendesk Support We will integrate by adding a custom app in the support dashboard that displays current incidents and maintenances to inform customers through their tickets 1. Go to our custom app on the Zendesk marketplace here and click install 2. After clicking install, you will be redirected to the app's settings page. Make sure to enter your page URL under _Status page URL_ and then finally click Install ![Instatus app installation page in Zendesk Marketplace showing Status page URL configuration field](https://instatus.com/help/integrations/zendesk-support-1.png) 3. Now that the app is uploaded successfully to your Zendesk dashboard, you can use it when you view tickets ![Zendesk ticket view showing Instatus app sidebar with current incidents and maintenances displayed](https://instatus.com/help/integrations/zendesk-support-2.png) 4. Each active incident or maintenance has an _Insert reply_ button. Choose _Public reply_ to add a short note for the customer in their language, or _Internal note_ to add the full details for your team. _Link ticket_ tags the ticket so you can find every affected ticket once the issue is fixed. ![Instatus app in a Zendesk ticket with a public reply added to the composer](https://instatus.com/help/integrations/zendesk-support-3.png) We're done! 👏 --- # New Relic + Instatus Source: https://instatus.com/help/integrations/new-relic 1. Go to [Instatus](https://instatus.com), under Integrations, select New Relic 2. Select the templates to use when creating and resolving automated incidents 3. Copy your page's webhook URL 4. Log in to your New Relic account and go to Synthetics. 5. Click on Create a new Monitor. ![New Relic Synthetics](https://instatus.com/help/integrations/new-relic-1.png) 6. Select any type of availability monitor you want ![New Relic Synthetics](https://instatus.com/help/integrations/new-relic-2.png) 7. Input a monitor name, the url you'd like to monitor, period, and preferred locations. ![New Relic Synthetics](https://instatus.com/help/integrations/new-relic-3.png) ![New Relic Synthetics](https://instatus.com/help/integrations/new-relic-4.png) ![New Relic Synthetics](https://instatus.com/help/integrations/new-relic-5.png) 8. Click manage alerts, create a policy ![New Relic Synthetics](https://instatus.com/help/integrations/new-relic-6.png) ![New Relic Synthetics](https://instatus.com/help/integrations/new-relic-7.png) 9. Create a condition ![Create a condition](https://instatus.com/help/integrations/new-relic-8.png) ![Create a condition (1)](https://instatus.com/help/integrations/new-relic-9.png) ![Create a condition (2)](https://instatus.com/help/integrations/new-relic-10.png) ![Create a condition (3)](https://instatus.com/help/integrations/new-relic-11.png) 10. Add a new Webhook notification channel ![Add a new webhook notification channel](https://instatus.com/help/integrations/new-relic-14.png) 11. Enter your webhook URL you copied from Instatus 12. Connect the alert policy you've created earlier ![Connect the alert policy you've created earlier](https://instatus.com/help/integrations/new-relic-16.png) We're done! 🙌 - [PagerDuty + Instatus](https://instatus.com/help/integrations/pagerduty): Create incidents automatically from your PagerDuty services. --- # PagerDuty + Instatus Source: https://instatus.com/help/integrations/pagerduty 1. Go to [Instatus](https://instatus.com), under Integrations, select PagerDuty 2. Select the templates to use when creating and resolving automated incidents 3. Copy your page's webhook URL 4. Open your PagerDuty dashboard. Under Service Directory, select the service you'd like to automate, or create a new one. ![Service Directory](https://instatus.com/help/integrations/pagerduty-1.jpg) 5. Click on the Integrations tab → Add or manage extensions → New extension → Generic V2 Webhook Choose any name and add the webhook URL you copied from your Instatus dashboard ![Add your webhook to PagerDuty](https://instatus.com/help/integrations/pagerduty-2.jpg) We're done! 🍪 --- # Pingdom + Instatus Source: https://instatus.com/help/integrations/pingdom 1. Go to [Instatus](https://instatus.com), under Integrations, select Pingdom 2. Select the templates to use when creating and resolving automated incidents 3. Copy your page's webhook URL 4. Open your Pingdom dashboard. Click on Settings → Integrations ![Pingdom dashboard](https://instatus.com/help/integrations/pingdom-1.png) 5. Click Add integration button with Type: Webhook 6. Add a name and the webhook URL of the component you just copied ![Add webhook to integrations](https://instatus.com/help/integrations/pingdom-2.png) 7. Go to Synthetics → Uptime ![Pingdom uptime](https://instatus.com/help/integrations/pingdom-3.png) 8. Edit the Uptime check that's related to the component you want to get automated. 9. Under Connect Integrations, check the integration you just created, and click modify check! ![Update uptime check](https://instatus.com/help/integrations/pingdom-4.png) We're done! 🍪 --- # Prometheus + Instatus Source: https://instatus.com/help/integrations/prometheus 1. Go to [Instatus](https://instatus.com), under Integrations, select Prometheus 2. Select the templates to use when creating and resolving automated incidents 3. Copy your page's webhook URL 4. Set up Alertmanager with a webhook receiver in the `alertmanager.yml` file. ```yaml global: resolve_timeout: 5m route: receiver: webhook_receiver receivers: - name: webhook_receiver webhook_configs: - url: "" send_resolved: true ``` 5. Replace `` with the webhook that you generated earlier in the alertmanager.yml file and run the Alertmanager using the following command. 6. Run the Alert manager using the following command `alertmanager --config.file=alertmanager.yml` We're done! 👏 --- # Runscope + Instatus Source: https://instatus.com/help/integrations/runscope 1. Go to [Instatus](https://instatus.com), under Integrations, select Runscope 2. Select the templates to use when creating and resolving automated incidents 3. Copy your page's webhook URL 4. Open your Runscope dashboard. Open your API test. ![Runscope dashboard](https://instatus.com/help/integrations/runscope-1.jpg) 5. Click Edit test → Test Settings → Webhooks → Paste your Webhook URL ![Runscope webhooks](https://instatus.com/help/integrations/runscope-2.jpg) We're done! 👏 --- # Site24x7 + Instatus Source: https://instatus.com/help/integrations/site24x7 1. Go to [Instatus](https://instatus.com), under Integrations, select Site24x7 2. Select the templates to use when creating and resolving automated incidents 3. Copy your page's webhook URL 4. Open your Site24x7 dashboard. Click on Admin, then Third-Party integrations ![Site24x7 dashboard](https://instatus.com/help/integrations/site24x7-1.jpg) 5. Click Add Third-Party Integration, then click Webhooks (Integrate Now). ![Site24x7 users](https://instatus.com/help/integrations/site24x7-2.jpg) 6. Fill the form - Add any integration name - The webhook URL you copied earlier - HTTP method `POST` - Make sure these checkboxes are selected: - Post as JSON and Send Incident Parameters - Integration level: select the monitor corresponding to this component - For trigger incidents when my monitor is Critical or in Trouble, select yes or no as desired{' '} 7. Click save! We're done! 🎉 --- # StatusCake + Instatus Source: https://instatus.com/help/integrations/statuscake 1. Go to [Instatus](https://instatus.com), under Integrations, select StatusCake 2. Select the templates to use when creating and resolving automated incidents 3. Copy your page's webhook URL 4. Open your StatusCake dashboard. 5. Under contact groups, add a new contact group. 6. Paste your copied component URL under webhook URL, then click save ![StatusCake dashboard](https://instatus.com/help/integrations/statuscake-1.png) 7. Edit the uptime test you want to associate with the component ![StatusCake Edit uptime test](https://instatus.com/help/integrations/statuscake-2.png) 8. Edit contact groups list 9. Add the group you just created ![StatusCake Add contact group](https://instatus.com/help/integrations/statuscake-3.png) We're done! 🍰 --- # Uptime Robot + Instatus Source: https://instatus.com/help/integrations/uptime-robot 1. Go to [Instatus](https://instatus.com), under Integrations, select Uptime Robot 2. Select the templates to use when creating and resolving automated incidents 3. Copy your page's webhook URL 4. Open your Uptime Robot dashboard. Click on My settings in navigation. ![Uptime Robot dashboard](https://instatus.com/help/integrations/uptime-robot-1.jpg) 5. Click Add Alert Contact. ![Add alert contact](https://instatus.com/help/integrations/uptime-robot-2.jpg) 6. Select alert contact type: "Webhook" and add copied webhook URL address. 7. Add this POST value: ```json { "trigger": "*alertTypeFriendlyName*", "status": "MAJOROUTAGE" } ``` `status` is an optional field 8. Make sure to **check** Send as JSON We're done! 👌 --- # Updown.io + Instatus Source: https://instatus.com/help/integrations/updown 1. Go to [Instatus](https://instatus.com), under Integrations, select Updown.io 2. Select the templates to use when creating and resolving automated incidents 3. Copy your page's webhook URL 4. In Updown.io, go to your settings and add the copied webhook URL to the **Webhook endpoint URLs** 5. Make sure you only enable the correct webhook alert(s) for the corresponding check(s) When a check goes down, we'll create an incident on your status page using your create template. When it recovers, we'll resolve it using your resolve template. We're done! 👏 - [Use Dynatrace to automate your status page](https://instatus.com/help/integrations/dynatrace): Create incidents automatically from Dynatrace problem notifications. --- # Use Dynatrace to automate your status page Source: https://instatus.com/help/integrations/dynatrace 1. Go to [Instatus](https://instatus.com), under Integrations, select Dynatrace 2. Select the templates to use when creating and resolving automated incidents 3. Copy your page's webhook URL 4. In your Dynatrace dashboard, go to Settings Classic → Integrations → Problem notifications ![Dynatrace problem notifications settings](https://instatus.com/help/integrations/dynatrace-1.png) 5. Click the **Add notification** button ![Add notification in Dynatrace](https://instatus.com/help/integrations/dynatrace-2.png) 6. Choose **Custom integration**, and add your copied webhook URL ![Dynatrace custom integration webhook URL](https://instatus.com/help/integrations/dynatrace-3.png) We're done! 👏 - [Google Cloud Monitoring + Instatus](https://instatus.com/help/integrations/google-cloud-monitoring): Create incidents automatically from Google Cloud Monitoring alerts. --- # Google Cloud Monitoring + Instatus Source: https://instatus.com/help/integrations/google-cloud-monitoring 1. Go to [Instatus](https://instatus.com), under Integrations, select Google Cloud Monitoring 2. Select the templates to use when creating and resolving automated incidents 3. Copy your page's webhook URL 4. In the Google Cloud console, go to **Alerting** and create a new **Webhook** notification channel using the copied webhook URL 5. Add the notification channel to the alerting policies you want reflected on your status page When an alerting policy fires, we'll create an incident on your status page using your create template. When it resolves, we'll resolve the incident using your resolve template. We're done! 👏 - [Add metrics and charts to your status page](https://instatus.com/help/status-page/metrics): Learn how to add metrics and charts to your status page. --- # Import your Datadog checks Source: https://instatus.com/help/integrations/metrics/datadog You can import your datadog checks directly to be displayed as metrics on your status page. 1. To do this, head to **Status page → Metrics → Datadog**. 2. You'll need your Datadog API key and Datadog Application key. ![Datadog API key and Application key input](https://instatus.com/help/metrics-images/datadog1.png) 3. After entering it and clicking **Save** you'll be able to see your Datadog checks. ![Datadog checks selection](https://instatus.com/help/metrics-images/datadog2.png) 4. You can now select the checks you want to display on your status page. 5. Go to your status page and you can find your metric displayed. ![Metric displayed on status page](https://instatus.com/help/metrics-images/3.png) --- # Import your Pingdom checks Source: https://instatus.com/help/integrations/metrics/pingdom You can import your pingdom checks directly to be displayed as metrics on your status page. 1. To do this, head to **Status page → Metrics → Pingdom**. 2. You'll need your Pingdom API Token. ![Pingdom API Token input](https://instatus.com/help/metrics-images/pingdom1.png) 3. After entering it and clicking **Save** you'll be able to see your Pingdom checks. ![Pingdom checks selection](https://instatus.com/help/metrics-images/pingdom2.png) 4. You can now select the checks you want to display on your status page. 5. Go to your status page and you can find your metric displayed. ![Metric displayed on status page](https://instatus.com/help/metrics-images/3.png) --- # Import your New Relic metrics Source: https://instatus.com/help/integrations/metrics/new-relic You can import your New Relic metrics directly to be displayed as metrics on your status page. 1. To do this, head to **Status page → Metrics → New Relic**. 2. You'll need your New Relic User key. ![New Relic User key input](https://instatus.com/help/metrics-images/new-relic1.png) 3. After entering it and clicking **Save** you'll be able to see your New Relic apps metric. 4. **Note:** You can only import metrics from New Relic apps, we will support synthetic monitors soon. ![New Relic metrics selection](https://instatus.com/help/metrics-images/new-relic2.png) 5. You can now select the checks you want to display on your status page. 6. Go to your status page and you can find your metric displayed. ![Metric displayed on status page](https://instatus.com/help/metrics-images/3.png) --- # Import your Prometheus metrics Source: https://instatus.com/help/integrations/metrics/prometheus You can display Prometheus metrics directly on your status page. We pull the latest data automatically every 5 minutes. 1. Log in to Instatus at [instatus.com/login](https://dashboard.instatus.com/login) then choose your status page. 2. Go to **Status page → Metrics → Prometheus**. 3. Add your Prometheus server URL. 4. Choose how to authenticate: **No auth**, **Basic auth** (username and password), or **Bearer token** (API token). 5. After connecting, select the Prometheus metrics you want to display and add them to your status page. Your selected metrics will appear as charts on your status page and refresh automatically. Congrats! Your Prometheus metrics are on your status page 🥳 - [Get started with Instatus API](https://instatus.com/help/api): Learn how to authenticate and use the Instatus API. --- # Connect AI assistants with MCP Source: https://instatus.com/help/mcp Instatus has a hosted MCP server, so an AI assistant can read and update your status pages from a chat. It can check what's broken and why, measure uptime, post and resolve incidents, schedule maintenance, post general notices, see who's on call, and manage components and subscribers. ## Connect Server URL: ``` https://mcp.instatus.com/mcp ``` When your assistant connects, Instatus opens in your browser. Sign in, choose the **Role it uses**, then **View and change** or **View only**, pick **All projects** or only the projects it should use, and click **Allow**. You don't need an API key. ### Claude 1. Open **Customize → Connectors**, click **Add** and choose **Add custom connector** 2. Paste the server URL and add it 3. Click **Connect**, sign in to Instatus and allow access ### Claude Code ```bash claude mcp add --transport http instatus https://mcp.instatus.com/mcp ``` Then run `/mcp` in Claude Code and choose **instatus** to sign in. ### Cursor Add this to `~/.cursor/mcp.json`: ```json { "mcpServers": { "instatus": { "url": "https://mcp.instatus.com/mcp" } } } ``` ### ChatGPT and other assistants Add a custom MCP server or connector with the server URL. Any client that supports remote MCP servers with OAuth sign-in works. ## Choose what it can do The assistant works as you and never does more than you can in the dashboard. - **Role it uses**: **Same as you** gives it your own role. Choose **Member**, **Editor** or one of your team's custom roles to give it less. - **View only** lets it look at your pages, incidents, maintenance, components and subscribers. Instatus refuses every change, so this holds whatever the assistant tries. - **View and change** also lets it post and edit incidents, maintenance and general notices, change components, manage subscribers and acknowledge incidents, as far as its role allows. - **All projects** includes projects you add later. **Only selected projects** limits it to the ones you tick: it can't see the others or create new ones. To change the list, disconnect the app and connect it again. ## Assistants that can't sign in CI jobs, scripts and the MCP server running locally over stdio can't open a browser to sign in. Give them an API key instead: 1. In Dashboard › [Developer](https://dashboard.instatus.com/developer), create a key with **View only** access, unless the assistant needs to change things. 2. For the hosted server, send the key in the header `Authorization: Bearer inst_sk_…`. For a local stdio server, set it as `INSTATUS_API_KEY`. ```bash claude mcp add --transport http instatus https://mcp.instatus.com/mcp --header "Authorization: Bearer inst_sk_…" ``` The key's role, projects and View only setting apply to everything the assistant does. In Developer, each key shows which assistant used it, such as "Claude Code via MCP". ## What you can ask - "Is anything broken on our status page?" - "Open an incident: the API is returning errors in Europe. Don't notify subscribers yet." - "Post an update that the fix is deploying." - "Resolve the incident and set the API back to operational." - "Schedule database maintenance on Sunday from 2 to 4am UTC." - "Log yesterday's email outage from 14:00 to 15:00." - "How many subscribers do we have?" - "Why is the payments webhook monitor down?" - "What was our uptime in October?" - "What went down last week, and for how long?" - "Who's on call? I'm taking the API incident, acknowledge it." - "Put a banner on the page about holiday support hours." ## Safeguards - **Notifying subscribers is a separate choice.** Every post says whether subscribers are notified, and nothing is sent to them unless the assistant asks for it. - **No accidental duplicates.** If an incident with the same title is already open on the same components, a new one is refused and the assistant is pointed to the open one. - **Permanent actions are marked.** Deleting an incident or a component and cancelling maintenance are marked as destructive, so your assistant can check with you first. ## Disconnect Go to [Developer settings](https://dashboard.instatus.com/developer), find the app under **AI assistants**, and choose **Disconnect** from its menu. Each app shows the role, access and projects it uses. Removing the connector from your assistant alone doesn't revoke its access. ## Privacy Instatus only sends data in answer to your assistant's requests. What your assistant reads is then handled under your assistant provider's terms. See our [privacy policy](https://instatus.com/policies/privacy). --- # Get started with Instatus API Source: https://instatus.com/help/api All endpoints are under the URL `https://api.instatus.com`. They generally follow the REST architecture. All requests must be encoded as JSON with the `Content-Type: application/json` header. Responses from the Instatus API, including errors, are encoded as JSON as well. ## Authentication Requests to Instatus API must send an API key through the Authorization header: ```bash Authorization: Bearer ``` Create keys in Dashboard › [Developer](https://dashboard.instatus.com/developer) with **Create key**. You can have several keys, each with its own name, such as "GitHub Actions" or "Terraform". Keys start with `inst_sk_`. ### What a key can do Each key has its own settings: - **Role**: Member, Editor, or a custom role on the Business plan. The role decides what the key can view and change, the same way it does for people. Keys can't be Owner, so billing, roles and deleting things stay with people. - **Access**: **View and change**, or **View only**. A View only key can't change anything, whatever its role allows. - **Projects**: all projects, including ones you add later, or only the ones you pick. - **Expiry**: the date the key stops working. On the Free plan a key can last up to 90 days, on Pro up to 1 year, and on Business and Enterprise any length, including no expiry. A team owner can set a shorter limit in Team settings › API keys. Keys made before key settings aren't affected, and existing keys keep their date when your plan changes. - **Allowed IPs**: on the Business plan, the key only works from the IP addresses or ranges you list. A key belongs to the team or to you: - **Team keys** keep working when the person who made them leaves the team. Use them for CI, scripts and integrations. - **Personal keys** act as you and never do more than you can. They can use **Same as you** as their role, and stop working if you leave the team. Team owners set the rules for keys in Team settings › API keys: the longest a key can last, whether members can make team keys, and whether personal keys are allowed. Creating, changing, rotating or revoking a key shows in the team's Activity, and so does a key revoked because it leaked. Anything done through a key or a connected app shows there as *person* via *key or app name*. ### Keep keys safe - A key is shown once, when you create it. Copy it then and store it as a secret. - To replace a key, open it and click **Rotate**. Choose how long the old key keeps working, up to 7 days, so you have time to update everything that uses it. - Revoke a key from its menu and it stops working at once. Keys made before key settings keep working unchanged. They show as "Made before key settings" in Developer, where you can add limits to them or replace them with a new key. ### Key errors When a key can't make a request, the error has one of these codes, and its message says what to change. | Code | Status | Why | | --- | --- | --- | | `invalid_key` | 401 | The key doesn't exist. Check that you copied all of it. | | `key_expired` | 401 | The key is past its expiry date. | | `key_revoked` | 401 | The key was revoked. | | `key_owner_left` | 401 | The person a personal key acts as left the team. | | `key_view_only` | 403 | The key is View only and the request changes something. | | `role_not_allowed` | 403 | The key's role can't view or change this. | | `ip_not_allowed` | 403 | The request came from an IP address the key doesn't allow. | | `page_not_allowed` | 403 | The key can't use this project. | | `account_action_not_allowed` | 403 | Keys can't create or remove pages, teams or workspaces. Use the dashboard. | | `route_not_allowed` | 403 | The route isn't part of the documented API. | ## Get your Page ID Your Page ID can be found in the dashboard by following these steps: 1. Go to your dashboard. 2. Right-click your project in the top-left corner to open the menu. 3. Click **Copy Project ID** and your page ID is copied to your clipboard. ![Page ID](https://instatus.com/help/page_id.png) ## Errors All API endpoints contain a code and message within the error responses. ```json { "error": { "code": "forbidden", "message": "Not authorized" } } ``` ## Status Values Possible page statuses. This is the granular `status` returned by the current API (v2 and later). The legacy `summary.json` endpoint and [webhook notifications](https://instatus.com/help/webhooks) use a condensed form with only `UP`, `HASISSUES` and `UNDERMAINTENANCE`. - `UP` - `HASISSUES` - `ALLUNDERMAINTENANCE` - `ALLDEGRADEDPERFORMANCE` - `ALLPARTIALOUTAGE` - `ALLMINOROUTAGE` - `ALLMAJOROUTAGE` - `SOMEUNDERMAINTENANCE` - `SOMEDEGRADEDPERFORMANCE` - `SOMEPARTIALOUTAGE` - `SOMEMINOROUTAGE` - `SOMEMAJOROUTAGE` - `ONEUNDERMAINTENANCE` - `ONEDEGRADEDPERFORMANCE` - `ONEPARTIALOUTAGE` - `ONEMINOROUTAGE` - `ONEMAJOROUTAGE` Possible component statuses: - `OPERATIONAL` - `UNDERMAINTENANCE` - `DEGRADEDPERFORMANCE` - `PARTIALOUTAGE` - `MAJOROUTAGE` Possible incident statuses: - `INVESTIGATING` - `IDENTIFIED` - `MONITORING` - `RESOLVED` Possible maintenance statuses: - `NOTSTARTEDYET` - `INPROGRESS` - `COMPLETED` ## Jump to endpoints: - [Status pages](https://instatus.com/help/api/status-pages) - [Workspaces](https://instatus.com/help/api/workspaces) - [Components](https://instatus.com/help/api/components) - [Incidents](https://instatus.com/help/api/incidents) - [Incident updates](https://instatus.com/help/api/incident-updates) - [Maintenances](https://instatus.com/help/api/maintenances) - [Maintenance updates](https://instatus.com/help/api/maintenance-updates) - [Templates](https://instatus.com/help/api/templates) - [General notices](https://instatus.com/help/api/generic-notices) - [Outages](https://instatus.com/help/api/outages) - [Teammates](https://instatus.com/help/api/teammates) - [Subscribers](https://instatus.com/help/api/subscribers) - [Metrics](https://instatus.com/help/api/metrics) - [User profile](https://instatus.com/help/api/user-profile) - [Public data](https://instatus.com/help/api/public-data) - [Private pages](https://instatus.com/help/api/private-pages) - [Audience groups](https://instatus.com/help/api/audience-groups) - [Monitors](https://instatus.com/help/api/monitors) - [Monitoring integrations](https://instatus.com/help/api/monitoring-integrations) - [Routing rules](https://instatus.com/help/api/routing-rules) - [Escalation policies](https://instatus.com/help/api/escalation-policies) - [On-call schedules](https://instatus.com/help/api/on-call-schedules) --- # Monitors API Reference Source: https://instatus.com/help/api/monitors - [Monitors](https://instatus.com/help/api/monitors#get-monitors): Check the uptime of your websites, APIs, and services - [Cron Monitors](https://instatus.com/help/api/monitors#cron-monitors): Monitor your scheduled jobs via HTTP pings ## Possible Values for fields **Monitor Location** | Value | Description | | ---------------- | ----------------- | | `US_EAST_1` | N. Virginia | | `CA_CENTRAL_1` | Canada (Montreal) | | `EU_CENTRAL_1` | Frankfurt | | `AP_NORTHEAST_1` | Tokyo | **Monitor Alert Types** | Value | Description | | ----------------- | --------------------- | | `INCIDENT` | Incident alert | | `EMAIL` | Email alert | | `SMS` | SMS alert | | `SLACK` | Slack alert | | `DISCORD` | Discord alert | | `MICROSOFT_TEAMS` | Microsoft Teams alert | | `PHONE_CALL` | Phone call alert | | `WEBHOOK` | Webhook alert | | `GOOGLE_CHAT` | Google Chat alert | | `WHATSAPP` | WhatsApp alert | **Monitor Status** | Value | Description | | ---------- | --------------------------------- | | `UP` | Monitor is running normally | | `DOWN` | Monitor has failed | | `DEGRADED` | Monitor is experiencing issues | | `UNKNOWN` | Monitor state can't be determined | **Monitor State** | Value | Description | | -------- | ------------------------------------------- | | `ACTIVE` | Monitor runs checks and sends alerts | | `MUTED` | Monitor runs checks but doesn't send alerts | | `PAUSED` | Monitor doesn't run checks | ## Get Monitors You can use this endpoint to find and navigate through a list of all the existing monitors. **Endpoint:** ```bash GET /:page_id/monitors ``` **Query Parameters** | Parameter | Type | Default Value | Description | | --------- | -------- | ------------- | ------------------------------------------------------ | | `page` | `number` | `1` | The page number to fetch. | | `limit` | `number` | `100` | The number of monitors per page. | | `search` | `string` | `null` | Search term for filtering results. | | `status` | `enum` | `null` | Status filter _('UP', 'DOWN', 'UNKNOWN', 'DEGRADED')_. | **Example request** ```bash GET /1/monitors?limit=3&page=2&status=DOWN ``` **Example response** ```json { "monitors": [{ "...": "monitor objects" }], "total": 10, "page": 3, "totalPages": 5, "limit": 2 } ``` ## Create a Monitor **Endpoint:** ```bash POST /monitors ``` **Example request** ```json { "pageId": "page123", "url": "https://example.com", "httpMethod": "GET", "body": null, "headers": { "Content-Type": "application/json", "Authorization": "Bearer token" }, "queryParams": { "search": "test", "limit": "10" }, "basicAuth": { "username": "user", "password": "password" }, "type": "HTTP", "assertions": [ { "type": "STATUSCODE", "comparison": "EQUALS", "selector": null, "target": "200" } ], "alerts": ["alert-id-1", "alert-id-2"], "name": "Example Monitor", "locations": "US_EAST_1", "checksInterval": 300, "createComponent": true, "createMetric": true, "onFail": { "createIncident": true, "createOutageDuration": true, "publishIncident": true, "notifySubscribers": true }, "onRecover": { "resolveIncident": true, "resolveOutageDuration": true, "publishIncident": true, "notifySubscribers": true } } ``` **Example response** ```json { "monitor": { "pageId": "page123", "url": "https://example.com", "httpMethod": "GET", "body": null, "headers": { "Content-Type": "application/json", "Authorization": "Bearer token" }, "queryParams": { "search": "test", "limit": "10" }, "basicAuth": { "username": "user", "password": "password" }, "type": "HTTP", "assertions": [ { "id": "assertion1", "type": "STATUSCODE", "comparison": "EQUALS", "selector": null, "target": "200" } ], "alerts": ["alert1", "alert2"], "name": "Example Monitor", "locations": "US_EAST_1", "checksInterval": 300, "createComponent": true, "createMetric": true, "onFail": { "createIncident": true, "createOutageDuration": true, "publishIncident": true, "notifySubscribers": true }, "onRecover": { "resolveIncident": true, "resolveOutageDuration": true, "publishIncident": true, "notifySubscribers": true }, "createdAt": "2023-08-08T12:00:00Z", "updatedAt": "2023-08-08T12:00:00Z" }, "message": "Monitor created successfully" } ``` ## Update a Monitor **Endpoint:** ```bash PUT /monitors/:id ``` **Example request** ```json { "url": "https://updated.com", "name": "Updated Monitor Name" } ``` **Example response** ```json { "monitor": { "pageId": "page123", "url": "https://updated.com", "httpMethod": "GET", "body": null, "headers": { "Content-Type": "application/json", "Authorization": "Bearer token" }, "queryParams": { "search": "test", "limit": "10" }, "basicAuth": { "username": "user", "password": "password" }, "type": "HTTP", "assertions": [ { "id": "assertion1", "type": "STATUSCODE", "comparison": "EQUALS", "selector": null, "value": "200" } ], "alerts": ["alert1", "alert2"], "name": "Updated Monitor Name", "locations": "US_EAST_1", "checksInterval": 300, "createComponent": true, "createMetric": true, "onFail": { "createIncident": true, "createOutageDuration": true, "publishIncident": true, "notifySubscribers": true }, "onRecover": { "resolveIncident": true, "resolveOutageDuration": true, "publishIncident": true, "notifySubscribers": true }, "createdAt": "2023-08-08T12:00:00Z", "updatedAt": "2023-08-08T12:00:00Z" }, "message": "Monitor updated successfully" } ``` ## Update Monitor State Resume, mute or pause a monitor, the same as the status menu in the dashboard. A muted monitor keeps checking, but it doesn't send alerts, run routing rules or notify subscribers. A paused monitor stops checking until you set it back to `ACTIVE`. **Endpoint:** ```bash PUT /monitors/:id/state ``` **Body Parameters** | Parameter | Type | Description | | ------------ | -------- | ---------------------------------------------------------------------------------------------------------------------------------------- | | `state` | `enum` | Required. The new state _('ACTIVE', 'MUTED', 'PAUSED')_. | | `forMinutes` | `number` | Optional, only with `MUTED`. Unmutes the monitor after this many minutes, up to `10080` (7 days). Leave it out to mute until you change the state again. | **Example request** ```json { "state": "MUTED", "forMinutes": 60 } ``` **Example response** ```json { "id": "monitor-id-1", "state": "MUTED", "message": "Monitor state updated successfully." } ``` Monitors returned by [Get Monitors](#get-monitors) show their current state in the `active`, `muted` and `mutedUntil` fields. A paused monitor has `active: false`. A muted monitor has `active: true` and `muted: true`, and `mutedUntil` is when a timed mute ends. ## Delete a Monitor **Endpoint:** ```bash DELETE /monitors/:id ``` **Example request** ```bash DELETE /monitors/monitor-id-1 ``` **Example response** ```json { "message": "Monitor deleted successfully." } ``` ## Get Monitor Logs **Endpoint:** ```bash GET /monitors/:id/logs ``` # Query Parameters | Parameter | Type | Default Value | Description | | ---------------------- | --------------------------------------- | --------------- | --------------------------------------------------------------------------------------- | | `limit` | `number` | 100 | The number of items per page. Cannot exceed 1000. | | `page` | `number` | 1 | The page number to retrieve. | | `from` | `string` | one year ago | Only results at or after this ISO 8601 time. At most a year back. | | `to` | `string` | `null` | Only results at or before this ISO 8601 time. | | `monitorId` | `string` | - | The ID of the monitor. | | `location` | `string` | `null` | The location of the monitor. | | `createdAt` | `string` \| `object` \| `number` | `null` | The creation date. Can be a string, a number, or an object with `gte` and `lte` fields. | | `isSuccessful` | `boolean` | `null` | Whether the check was successful. | | `isSSLCheck` | `boolean` | `null` | Whether the check is an SSL check. | | `httpStatusCode` | `string` | `null` | The HTTP status code of the response. | | `status` | `('UP', 'DOWN', 'UNKNOWN', 'DEGRADED')` | `null` | The status of the monitor. | | `dnsTime` | `string` \| `number` \| `object` | `null` | Time taken for DNS resolution. | | `tcpTime` | `string` \| `number` \| `object` | `null` | Time taken for TCP connection. | | `tlsTime` | `string` \| `number` \| `object` | `null` | Time taken for TLS handshake. | | `firstByteTime` | `string` \| `number` \| `object` | `null` | Time taken for the first byte to be received. | | `downloadTime` | `string` \| `number` \| `object` | `null` | Time taken for the download. | | `responseTime` | `string` \| `number` \| `object` | `null` | Total response time. | | `performanceTime` | `string` \| `number` \| `object` | `null` | Performance time. | | `accessabilityScore` | `string` \| `number` \| `object` | `null` | Accessibility score. | | `seoScore` | `string` \| `number` \| `object` | `null` | SEO score. | | `bestPracticesScore` | `string` \| `number` \| `object` | `null` | Best practices score. | | `successfulAssertions` | `string` \| `number` \| `object` | `null` | Number of successful assertions. | | `sort` | `string` | chronologically | Field to sort by. | **Example request** ```bash GET /monitors/monitor-id-1/logs?limit=100&page=1 ``` **Example response** ```json { "monitorLogs": [ // {monitor log object}, // {monitor log object 2} ], "total": 478, "page": 1, "totalPages": 5, "limit": 100 } ``` ## Get Monitor Uptime Availability and response times of a monitor over a range, with a daily breakdown. The range defaults to the last 30 days and can be at most 395 days. Ranges longer than five days are measured in whole days, and an end at midnight stops the day before, so `start=2026-10-01T00:00:00Z&end=2026-11-01T00:00:00Z` is exactly October. **Endpoint:** ```bash GET /monitors/:id/summary ``` # Query Parameters | Parameter | Type | Default Value | Description | | --------- | -------- | ------------------- | --------------------------------- | | `start` | `string` | 30 days before end | Start of the range, in ISO 8601. | | `end` | `string` | now | End of the range, in ISO 8601. | **Example request** ```bash GET /monitors/monitor-id-1/summary?start=2026-10-01T00:00:00Z&end=2026-11-01T00:00:00Z ``` **Example response** ```json { "monitorId": "monitor-id-1", "start": "2026-10-01T00:00:00.000Z", "end": "2026-10-31T23:59:59.999Z", "firstCheckDay": "2026-09-12", "availability": 99.95, "checks": 8928, "failedChecks": 4, "downtimeSeconds": 720, "avgResponseTime": 216, "response95": null, "avgDailyResponse95": 268, "days": [ { "date": "2026-10-01", "availability": 100, "checks": 288, "failedChecks": 0, "avgResponseTime": 212 } ] } ``` - `availability` is the share of successful checks, and `null` when there were no checks in the range. - `downtimeSeconds` is failed checks multiplied by the check interval. - `firstCheckDay` is the first day the monitor has checks for. When it is after `start`, the figures only cover the days from then on. - `days` lists only days that had checks. ## Run Monitor Check by ID **Endpoint:** ```bash GET /monitors/:id/run ``` **Query Parameters** | Parameter | Type | Default Value | Description | | -------------- | --------------------------------------------------------------------------------- | ------------- | ----------------------------------------------------------------- | | `location` | `'US_EAST_1', 'EU_CENTRAL_1', 'AP_NORTHEAST_1', 'AP_SOUTHEAST_2', 'CA_CENTRAL_1'` | - | The location of the monitor. Must be one of the specified values. | | `retry` | `boolean` | `false` | Indicates whether the operation should be retried. Optional. | | `monitorLogId` | `string` | `null` | The unique identifier of the monitor log. Optional. | **Example request** ```bash GET /monitors/monitor-id-1/run?monitorId=abc123&location=US_EAST_1&retry=true&monitorLogId=log456 ``` **Example response** ```json { "status": "success", "message": "Monitor check run successfully." } ``` ## Create Monitor Alert **Endpoint:** ```bash POST /monitor-alerts ``` **Example request** ```json { "type": "EMAIL", "pageId": "page123", "recipient": "user@example.com", "recipientWorkspace": "workspace123", "whenFails": true, "whenRecovers": true, "whenDegrades": false, "whenSslExpires": true, "sslExpiresInDays": 30, "monitors": ["monitor1", "monitor2"], "metadata": "Additional information about the alert" } ``` **Example response** ```json { "monitor": { "id": "alert123", "siteId": "site123", "type": "EMAIL", "recipient": "user@example.com", "whenFails": true, "whenRecovers": true, "whenDegrades": false, "whenSslExpires": true, "sslExpiresInDays": 30, "monitors": [{ "id": "monitor1" }, { "id": "monitor2" }], "createdAt": "2023-08-08T12:00:00Z", "updatedAt": "2023-08-08T12:00:00Z", "metadata": "Additional information about the alert" }, "message": "Monitor Alert created successfully" } ``` ## Update Monitor Alert **Endpoint:** ```bash PUT /monitor-alerts/:id ``` **Example request** ```json { "type": "EMAIL", "monitors": ["monitor-1-id", "monitor-2-id", "monitor-3-id"] } ``` **Example response** ```json { "monitor": { "type": "EMAIL", "pageId": "page123", "recipient": "user@example.com", "recipientWorkspace": "workspace123", "whenFails": true, "whenRecovers": true, "whenDegrades": false, "whenSslExpires": true, "sslExpiresInDays": 30, "monitors": ["monitor-1-id", "monitor-2-id"], "metadata": "Additional information about the alert" }, "message": "Monitor alert updated successfully." } ``` ## Get Monitor Alerts **Endpoint:** ```bash GET /:page_id/monitor-alerts ``` **Query Parameters** | Parameter | Type | Default Value | Description | | --------- | -------- | ------------- | ----------------------------- | | `limit` | `number` | 100 | The number of items per page. | | `page` | `number` | 1 | The page number to retrieve. | **Example request** ```bash GET /1/monitor-alerts?limit=2&page=3 ``` **Example response** ```json { "monitorAlerts": [ {...monitor alert objects} ], "total": 27, "page": 3, "totalPages": 14, "limit": 2 } ``` ## Delete Monitor Alert **Endpoint:** ```bash DELETE /monitor-alerts/:id ``` **Example request** ```bash DELETE /monitor-alerts/alert-id-1 ``` **Example response** ```json { "message": "Monitor alert deleted successfully." } ``` ## Create Monitor Group **Endpoint:** ```bash POST /monitors-groups ``` **Example request** ```json { "pageId": "page123", "name": "Example Name", "childId": "child456" } ``` **Example response** ```json { "monitor": { "id": "group123", "name": "Example Name", "siteId": "site123", "collapsed": false, "monitors": [{ "id": "monitor1" }, { "id": "monitor2" }], "groupId": "parentGroup123", "children": [ { "id": "childGroup1", "name": "Child Group 1" }, { "id": "childGroup2", "name": "Child Group 2" } ], "order": 1, "createdAt": "2023-08-08T12:00:00Z", "updatedAt": "2023-08-08T12:00:00Z", "parents": ["parent1", "parent2"], "componentId": "component123" }, "message": "Monitor group created successfully." } ``` ## Update Monitor Group **Endpoint:** ```bash PUT /monitors-groups/:id ``` **Example request** ```json { "name": "Updated Monitor Group Name" } ``` **Example response** ```json { "monitor": { "id": "group123", "name": "Updated Monitor Group Name", "siteId": "site123", "collapsed": true, "monitors": [{ "id": "monitor1" }, { "id": "monitor2" }], "groupId": "parentGroup123", "children": [ { "id": "childGroup1", "name": "Child Group 1" }, { "id": "childGroup2", "name": "Child Group 2" } ], "order": 1, "createdAt": "2023-08-08T12:00:00Z", "updatedAt": "2023-08-08T12:00:00Z", "parents": ["parent1", "parent2"], "componentId": "component123" }, "message": "Monitor group updated successfully." } ``` ## Delete Monitor Group **Endpoint:** ```bash DELETE /monitors-groups/:id ``` **Example request** ```bash DELETE /monitors-groups/group-id-1 ``` **Example response** ```json { "message": "Monitor group deleted successfully." } ``` ## Add Monitors to Group **Endpoint:** ```bash POST /monitors-groups/:id/monitors ``` **Example request** ```json { "monitors": ["monitor1", "monitor2", "monitor3"] } ``` **Example response** ```json { "message": "Monitors added to the group successfully." } ``` ## Run Monitor Group Check **Endpoint:** ```bash GET /monitors-groups/:id/run ``` **Query Parameters** | Parameter | Type | Default Value | Description | | -------------- | --------------------------------------------------------------------------------- | ------------- | ----------------------------------------------------------------- | | `location` | `'US_EAST_1', 'EU_CENTRAL_1', 'AP_NORTHEAST_1', 'AP_SOUTHEAST_2', 'CA_CENTRAL_1'` | - | The location of the monitor. Must be one of the specified values. | | `retry` | `boolean` | `false` | Indicates whether the operation should be retried. Optional. | | `monitorLogId` | `string` | `null` | The unique identifier of the monitor log. Optional. | **Example request** ```bash GET /monitors-groups/group-id-1/run ``` **Example response** ```json { "result": "OK", "monitorLogId": "monitor-log-id-1" } ``` ## Cron Monitors Cron monitors track scheduled jobs via HTTP pings. For product setup and dashboard usage, see [Cron Monitoring](https://instatus.com/help/monitoring/cron). ### Possible values for fields **Cron Monitor Status** | Value | Description | | ---------- | --------------------------------- | | `UP` | Monitor is running normally | | `DOWN` | Monitor has failed | | `DEGRADED` | Monitor is experiencing issues | | `UNKNOWN` | Monitor state can't be determined | **Cron Monitor State** | Value | Description | | -------- | ------------------------------------ | | `ACTIVE` | Monitor is actively checked | | `PAUSED` | Monitor checks are paused | | `MUTED` | Monitor is muted (no notifications) | **Cron Monitor Log Status** | Value | Description | | --------- | ------------------------------------------------ | | `SUCCESS` | Job completed successfully | | `FAILURE` | Job explicitly reported a failure | | `MISSED` | Job did not ping within the expected window | | `LATE` | Job pinged after the period but within grace | | `STARTED` | Job reported that it started (execution timing) | **Period and grace** Both `period` and `grace` are specified in **seconds**. `period` is how often the job should run; `grace` is extra time allowed before the monitor is marked down. ### Get Cron Monitors **Endpoint:** ```bash GET /:page_id/monitors/cron ``` **Query Parameters** | Parameter | Type | Default Value | Description | | --------- | -------- | ------------- | ------------------------------------------------------ | | `limit` | `number` | `100` | The number of cron monitors per page. Maximum is 100. | | `page` | `number` | `1` | The page number. | | `search` | `string` | `null` | Search term for filtering results by name. | | `status` | `enum` | `null` | Status filter _('UP', 'DOWN', 'UNKNOWN', 'DEGRADED')_. | **Example request** ```bash GET /page123/monitors/cron?limit=10&page=1&status=DOWN ``` **Example response** ```json { "cronMonitors": [ { "id": "cron-abc123", "name": "Daily backup", "slug": "my-page-x7k2m9n4p1q8w3e5", "period": 86400, "grace": 3600, "status": "UP", "state": "ACTIVE", "siteId": "page123", "order": 1, "groupId": null, "componentId": "component-id-1", "onFailCreateIncident": true, "onFailCreateOutageDuration": false, "onFailPublishIncident": true, "onFailNotifySubscribers": true, "onRecoverResolveIncident": true, "onRecoverResolveOutageDuration": false, "onRecoverPublishIncident": true, "onRecoverNotifySubscribers": true, "createTemplateId": null, "resolveTemplateId": null, "createdAt": "2024-01-15T08:00:00.000Z", "updatedAt": "2024-01-15T08:00:00.000Z" } ], "total": 1, "page": 1, "totalPages": 1, "limit": 10 } ``` ### Create a Cron Monitor **Endpoint:** ```bash POST /monitors/cron ``` **Example request** ```json { "pageId": "page123", "name": "Daily backup", "period": 86400, "grace": 3600, "alerts": ["alert-id-1", "alert-id-2"], "createComponent": true, "onFail": { "createIncident": true, "createOutageDuration": false, "publishIncident": true, "notifySubscribers": true }, "onRecover": { "resolveIncident": true, "resolveOutageDuration": false, "publishIncident": true, "notifySubscribers": true } } ``` **Example response** ```json { "cronMonitor": { "id": "cron-abc123", "name": "Daily backup", "slug": "my-page-x7k2m9n4p1q8w3e5", "period": 86400, "grace": 3600, "status": "UP", "state": "ACTIVE", "siteId": "page123", "order": 1, "groupId": null, "componentId": "component-id-1", "onFailCreateIncident": true, "onFailCreateOutageDuration": false, "onFailPublishIncident": true, "onFailNotifySubscribers": true, "onRecoverResolveIncident": true, "onRecoverResolveOutageDuration": false, "onRecoverPublishIncident": true, "onRecoverNotifySubscribers": true, "createTemplateId": null, "resolveTemplateId": null, "createdAt": "2024-01-15T08:00:00.000Z", "updatedAt": "2024-01-15T08:00:00.000Z" }, "message": "Cron monitor created successfully." } ``` The response includes a `slug`. Use it to build ping URLs for your job. The first successful ping schedules the background check job. ### Update a Cron Monitor **Endpoint:** ```bash PUT /monitors/cron/:id ``` **Example request** ```json { "name": "Daily backup (updated)", "period": 43200, "grace": 1800, "state": "PAUSED", "alerts": ["alert-id-1"], "onFail": { "notifySubscribers": false } } ``` **Example response** ```json { "cronMonitor": { "id": "cron-abc123", "name": "Daily backup (updated)", "slug": "my-page-x7k2m9n4p1q8w3e5", "period": 43200, "grace": 1800, "status": "UP", "state": "PAUSED", "siteId": "page123", "order": 1, "groupId": null, "componentId": "component-id-1", "onFailCreateIncident": true, "onFailCreateOutageDuration": false, "onFailPublishIncident": true, "onFailNotifySubscribers": false, "onRecoverResolveIncident": true, "onRecoverResolveOutageDuration": false, "onRecoverPublishIncident": true, "onRecoverNotifySubscribers": true, "createTemplateId": null, "resolveTemplateId": null, "alerts": [ { "id": "alert-id-1", "type": "EMAIL", "recipient": "ops@example.com" } ], "createdAt": "2024-01-15T08:00:00.000Z", "updatedAt": "2024-01-16T10:30:00.000Z" }, "message": "Cron monitor updated successfully." } ``` ### Delete a Cron Monitor **Endpoint:** ```bash DELETE /monitors/cron/:id ``` **Example request** ```bash DELETE /monitors/cron/cron-abc123 ``` **Example response** ```json { "cronMonitor": { "id": "cron-abc123", "name": "Daily backup", "slug": "my-page-x7k2m9n4p1q8w3e5", "period": 86400, "grace": 3600, "status": "UP", "state": "ACTIVE", "siteId": "page123", "order": 1, "groupId": null, "componentId": "component-id-1", "onFailCreateIncident": true, "onFailCreateOutageDuration": false, "onFailPublishIncident": true, "onFailNotifySubscribers": true, "onRecoverResolveIncident": true, "onRecoverResolveOutageDuration": false, "onRecoverPublishIncident": true, "onRecoverNotifySubscribers": true, "createTemplateId": null, "resolveTemplateId": null, "createdAt": "2024-01-15T08:00:00.000Z", "updatedAt": "2024-01-15T08:00:00.000Z" }, "message": "Cron monitor deleted successfully." } ``` ### Get Cron Monitor Logs **Endpoint:** ```bash GET /monitors/cron/:id/logs ``` **Query Parameters** | Parameter | Type | Default Value | Description | | ------------ | -------- | ------------- | -------------------------------------------------------- | | `limit` | `number` | `100` | The number of logs per page. Maximum is 127. | | `page` | `number` | `1` | The page number. Maximum is 1000. | | `startDate` | `string` | 1 year ago | ISO 8601 start date for the log range. | | `endDate` | `string` | now | ISO 8601 end date for the log range. | | `importance` | `enum` | `null` | Filter logs by importance _('all', 'important')_. | **Example request** ```bash GET /monitors/cron/cron-abc123/logs?limit=50&page=1&importance=important ``` **Example response** ```json { "logs": [ { "id": "log-xyz789", "monitorId": "cron-abc123", "status": "SUCCESS", "requestType": "GET", "agent": "curl/8.4.0", "ipAddress": "203.0.113.10", "createdAt": "2024-01-16T06:00:00.000Z", "startedAt": "2024-01-16T05:59:58.000Z" } ], "page": 1 } ``` ### Get Cron Monitor Summary **Endpoint:** ```bash GET /monitors/cron/:id/summary ``` **Example request** ```bash GET /monitors/cron/cron-abc123/summary ``` **Example response** ```json { "summary": { "totalLogs": 120, "totalFailedLogs": 3, "availability": 97.5, "oneDayAvailability": 100, "previousDayAvailability": 100, "sevenDayAvailability": 98.2, "previousSevenDayAvailability": 96.1, "thirtyDayAvailability": 97.5, "previousThirtyDayAvailability": 95.8, "lastSuccess": "2024-01-16T06:00:00.000Z", "lastFailure": "2024-01-10T06:00:00.000Z", "lastStarted": null, "upSince": "2024-01-10T07:00:00.000Z", "downSince": null } } ``` ### Ping endpoints These endpoints do **not** require authentication. The monitor `slug` acts as the secret. You can ping via the API base URL or the dedicated cron host: - **Success:** `https://cron.instatus.com/{slug}` or `GET` / `POST` / `HEAD` `/monitors/cron/{slug}` - **Failure:** `https://cron.instatus.com/{slug}/fail` or `GET` / `POST` / `HEAD` `/monitors/cron/{slug}/fail` - **Start:** `https://cron.instatus.com/{slug}/start` or `GET` / `POST` / `HEAD` `/monitors/cron/{slug}/start` Send a success ping each time your job completes on schedule. Send a start ping before the job runs and a success or failure ping when it finishes to record execution time. **Example success ping** ```bash curl https://cron.instatus.com/my-page-x7k2m9n4p1q8w3e5 ``` **Example response** ```json { "id": "log-xyz789", "monitorId": "cron-abc123", "status": "SUCCESS", "requestType": "GET", "agent": "curl/8.4.0", "ipAddress": "203.0.113.10", "createdAt": "2024-01-16T06:00:00.000Z" } ``` If the slug is invalid, the response is: ```json { "message": "Monitor not found" } ``` --- # Incidents API Reference Source: https://instatus.com/help/api/incidents ## Get all page incidents **Endpoint:** ```bash GET /v1/:page_id/incidents?page=:page&per_page=:per_page ``` - The default page number is 1. - The default per_page number is 50 and the maximum is 100 items per page. **Example response:** ```json [ { "id": "ckf01m59ueaqb0a32wrljz1yd", "name": "Rocket is going down", "started": "2020-09-12T19:05:17.398Z", "status": "RESOLVED", "resolved": "2020-09-12T19:09:04.498Z", "updates": [ { "id": "ckf01m5ioeaqi0a32jtv8ovp8", "message": "We are currently investigating this incident.", "messageHtml": "

We are currently investigating this incident.

", "status": "INVESTIGATING", "notify": true, "started": "2020-09-12T19:05:17.398Z", "ended": null, "duration": 228, "createdAt": "2020-09-12T19:08:50.160Z" }, { "id": "ckf01mnk9eaui0a32mmhgq68g", "message": "This incident has been resolved.", "messageHtml": "

This incident has been resolved.

", "status": "RESOLVED", "notify": true, "started": "2020-09-12T19:09:04.498Z", "ended": null, "duration": null, "createdAt": "2020-09-12T19:09:13.545Z" } ], "components": [ { "id": "ckf01fvnxywz50a35nh1qzssm", "name": "Website", "status": "PARTIALOUTAGE", "showUptime": true, "site": { "id": "ckf01fonve9i40a32oas5b0uw", "name": "Nasa", "subdomain": "nasa", "color": null, "logoUrl": null, "publicEmail": null }, "customImpactPercentage": 40 } ], "user": { "id": "ckf01g7m4eaqb0a32fl7jl1xx", "name": "Buzz Aldrin", "email": "buzz@nasa.com" } } ] ``` You can add `status` and `!status` query parameters to restrict the results to incidents that have or have not (respectively) one of comma-separated status list. `user` is the team member who created the incident. It is `null` when the incident was created automatically (by a monitor, third-party integration, or email). ## Get an incident **Endpoint:** ```bash GET /v1/:page_id/incidents/:incident_id ``` **Example response:** ```json { "id": "ckf01m59ueaqb0a32wrljz1yd", "name": "Rocket is going down", "status": "RESOLVED", "started": "2020-09-12T19:05:17.398Z", "resolved": "2020-09-12T19:09:04.498Z", "updates": [ { "id": "ckf01m5ioeaqi0a32jtv8ovp8", "message": "We are currently investigating this incident.", "messageHtml": "

We are currently investigating this incident.

", "status": "INVESTIGATING", "notify": true, "started": "2020-09-12T19:05:17.398Z", "ended": null, "duration": 228, "createdAt": "2020-09-12T19:08:50.160Z" }, { "id": "ckf01mnk9eaui0a32mmhgq68g", "message": "This incident has been resolved.", "messageHtml": "

This incident has been resolved.

", "status": "RESOLVED", "notify": true, "started": "2020-09-12T19:09:04.498Z", "ended": null, "duration": null, "createdAt": "2020-09-12T19:09:13.545Z" } ], "components": [ { "id": "ckf01fvnxywz50a35nh1qzssm", "name": "Website", "status": "MAJOROUTAGE", "showUptime": true, "site": { "id": "ckf01fonve9i40a32oas5b0uw", "name": "Nasa", "subdomain": "nasa", "color": null, "logoUrl": null, "publicEmail": null } } ], "user": { "id": "ckf01g7m4eaqb0a32fl7jl1xx", "name": "Buzz Aldrin", "email": "buzz@nasa.com" } } ``` ## Add an incident **Endpoint:** ```bash POST /v1/:page_id/incidents ``` **Example request:** ```json { "name": "Test incident", "message": "We're currently investigating an issue with the Website", "components": ["ckf01fvnxywz50a35nh1qzssm"], "started": "2020-09-12 05:38:47.998", "status": "INVESTIGATING", "notify": true, "statuses": [ { "id": "ckf01fvnxywz50a35nh1qzssm", "status": "PARTIALOUTAGE", "customImpactPercentage": 40 } ], "translations": { "name": { "fr": "Incident de test" }, "message": { "fr": "Nous enquêtons actuellement sur un problème avec le site Web" } } } ``` Incidents are published to your status page by default. If you would like to create an unpublished incident then you'll need to include and set `shouldPublish` to `false`. **Example response:** ```json { "id": "ckf02l5m8z36j0a35qr9q1tq1", "name": "Test incident", "status": "INVESTIGATING", "started": "2020-09-12T03:38:47.998Z", "resolved": null, "updates": [], "components": [ { "id": "ckf01fvnxywz50a35nh1qzssm", "name": "Website", "status": "OPERATIONAL", "showUptime": true, "site": { "id": "ckf01fonve9i40a32oas5b0uw", "name": "Nasa", "subdomain": "nasa", "color": null, "logoUrl": null, "publicEmail": null } } ], "translations": { "name": { "fr": "Incident de test" }, "message": { "fr": "Nous enquêtons actuellement sur un problème avec le site Web" } } } ``` ## Add an incident with a template **Endpoint:** ```bash POST /v1/:page_id/incidents/:template ``` **Example response:** ```json { "id": "cl8hrdsdsasu441sv26yq", "name": "Investigating Template", "nameTranslationId": null, "notify": false, "status": "INVESTIGATING", "started": "2022-09-25T19:53:20.778Z", "resolved": null, "duration": null, "createdAt": "2022-09-25T19:53:20.800Z", "updatedAt": "2022-09-25T19:53:20.800Z", "automated": false, "impact": "MAJOROUTAGE", "appId": null, "siteId": "cl8hadasdasd6wkxdco", "importedFrom": null } ``` ## Update incident **Endpoint:** ```bash PUT /v1/:page_id/incidents/:incident_id ``` **Example request:** ```json { "name": "Test incident 2", "components": ["ckf01fvnxywz50a35nh1qzssm"], "started": "2020-09-12 05:38:47.998", "status": "INVESTIGATING", "notify": true, "statuses": [ { "id": "ckf01fvnxywz50a35nh1qzssm", "status": "OPERATIONAL" } ], "translations": { "name": { "fr": "Incident de test" }, "message": { "fr": "Nous enquêtons actuellement sur un problème avec le site Web" } } } ``` **Example response:** ```json { "id": "ckf02l5m8z36j0a35qr9q1tq1", "name": "Test incident 2", "status": "INVESTIGATING", "started": "2020-09-12T03:38:47.998Z", "resolved": null, "updates": [], "components": [ { "id": "ckf01fvnxywz50a35nh1qzssm", "name": "Website", "status": "OPERATIONAL", "showUptime": true, "site": { "id": "ckf01fonve9i40a32oas5b0uw", "name": "Nasa", "subdomain": "nasa", "color": null, "logoUrl": null, "publicEmail": null } } ], "translations": { "name": { "fr": "Incident de test" }, "message": { "fr": "Nous enquêtons actuellement sur un problème avec le site Web" } } } ``` ## Delete incident **Endpoint:** ```bash DELETE /v1/:page_id/incidents/:incident_id ``` **Example response:** ```json { "id": "ckf02l5m8z36j0a35qr9q1tq1" } ``` ## Get incident responders Who was paged for an incident by on-call, whether anyone has acknowledged it, and who leads it. **Endpoint:** ```bash GET /v1/:page_id/incidents/:incident_id/responders ``` **Example response:** ```json { "incidentId": "ckf02l5m8z36j0a35qr9q1tq1", "paged": true, "acknowledged": true, "lead": { "teamMemberId": "clh8nmaan72592bfokqjqd95s1", "name": "Sam Rivera", "email": "sam@example.com" }, "pages": [ { "teamMemberId": "clh8nmaan72592bfokqjqd95s1", "name": "Sam Rivera", "email": "sam@example.com", "pagedAt": "2026-11-01T12:01:00.000Z" } ], "responders": [ { "teamMemberId": "clh8nmaan72592bfokqjqd95s1", "name": "Sam Rivera", "email": "sam@example.com", "status": "ACKNOWLEDGED", "acknowledgedAt": "2026-11-01T12:05:00.000Z", "declinedAt": null } ] } ``` ## Acknowledge an incident Acknowledge an incident as the API key's user. The first acknowledgement cancels any escalation still waiting to page more people, and makes that person the incident lead if there is none. Nothing changes on the status page. Acknowledging again is safe: `alreadyAcknowledged` is then `true`. **Endpoint:** ```bash POST /v1/:page_id/incidents/:incident_id/acknowledge ``` **Example response:** ```json { "incidentId": "ckf02l5m8z36j0a35qr9q1tq1", "alreadyAcknowledged": false, "paged": true, "acknowledged": true, "lead": { "teamMemberId": "clh8nmaan72592bfokqjqd95s1", "name": "Sam Rivera", "email": "sam@example.com" }, "pages": [ { "teamMemberId": "clh8nmaan72592bfokqjqd95s1", "name": "Sam Rivera", "email": "sam@example.com", "pagedAt": "2026-11-01T12:01:00.000Z" } ], "responders": [ { "teamMemberId": "clh8nmaan72592bfokqjqd95s1", "name": "Sam Rivera", "email": "sam@example.com", "status": "ACKNOWLEDGED", "acknowledgedAt": "2026-11-01T12:05:00.000Z", "declinedAt": null } ] } ``` --- # Incident Updates API Reference Source: https://instatus.com/help/api/incident-updates ## Get an incident update **Endpoint:** ```bash GET /v1/:page_id/incidents/:incident_id/incident-updates/:incident_update_id ``` **Example response** ```json { "id": "ckf1ew8mol30c0a32w400k6s3", "message": "We're currently investigating an issue with the Website", "messageHtml": "

We're currently investigating an issue with the Website

", "status": "INVESTIGATING", "notify": true, "started": "2020-09-12T03:38:47.998Z", "incident": { "id": "ckf01m59ueaqb0a32wrljz1yd", "name": "Rocket is going down", "started": "2020-09-12T19:05:17.398Z", "status": "INVESTIGATING", "components": [ { "id": "ckf01fvnxywz50a35nh1qzssm", "name": "Website", "status": "PARTIALOUTAGE", "showUptime": true, "site": { "subdomain": "nasa", "logoUrl": null, "name": "Nasa", "slackIntegrations": [], "subscribers": [] }, "customImpactPercentage": 40, "subscribers": [] } ] } } ``` ## Add an incident update **Endpoint:** ```bash POST /v1/:page_id/incidents/:incident_id/incident-updates ``` **Example request** ```json { "message": "We're currently investigating an issue with the Website", "components": ["ckf01fvnxywz50a35nh1qzssm"], "started": "2020-09-12 05:38:47.998", "status": "INVESTIGATING", "notify": true, "statuses": [ { "id": "ckf01fvnxywz50a35nh1qzssm", "status": "MAJOROUTAGE" } ], "translations": { "message": { "fr": "Nous enquêtons actuellement sur un problème avec le site Web" } } } ``` **Example response** ```json { "id": "ckf1ew8mol30c0a32w400k6s3", "message": "We're currently investigating an issue with the Website", "messageHtml": "

We're currently investigating an issue with the Website

", "status": "INVESTIGATING", "notify": true, "started": "2020-09-12T03:38:47.998Z", "incident": { "id": "ckf01m59ueaqb0a32wrljz1yd", "name": "Rocket is going down", "started": "2020-09-12T19:05:17.398Z", "status": "INVESTIGATING", "components": [ { "id": "ckf01fvnxywz50a35nh1qzssm", "name": "Website", "status": "OPERATIONAL", "showUptime": true, "site": { "subdomain": "nasa", "logoUrl": null, "name": "Nasa", "slackIntegrations": [], "subscribers": [] }, "subscribers": [] } ] }, "translations": { "message": { "fr": "Nous enquêtons actuellement sur un problème avec le site Web" } } } ``` ## Resolve an incident with a template **Endpoint:** ```bash POST /v2/:page_id/incidents/:incident_id/incident-updates/:template ``` **Example response** ```json { "id": "cl8hrf2a6dsdsu4xy7vqurh", "message": "This incident has been resolved.", "messageTranslationId": null, "status": "RESOLVED", "notify": false, "started": "2022-09-25T19:54:42.064Z", "ended": null, "duration": null, "createdAt": "2022-09-25T19:54:42.126Z", "updatedAt": "2022-09-25T19:54:42.127Z", "incidentId": "cl8hr8gu40asdasdu4ucisqeo3", "messageHtml": "

This incident has been resolved.

", "messageHtmlTranslationId": null, "importedFrom": null } ``` ## Edit an incident update **Endpoint:** ```bash PUT /v1/:page_id/incidents/:incident_id/incident-updates/:incident_update_id ``` **Example request** ```json { "message": "We're currently investigating an issue with the Website", "components": ["ckf01fvnxywz50a35nh1qzssm"], "started": "2020-09-12 05:38:47.998", "status": "INVESTIGATING", "notify": true, "statuses": [ { "id": "ckf01fvnxywz50a35nh1qzssm", "status": "PARTIALOUTAGE", "customImpactPercentage": 40 } ], "translations": { "message": { "fr": "Nous enquêtons actuellement sur un problème avec le site Web" } } } ``` **Example response** ```json { "id": "ckf1ew8mol30c0a32w400k6s3", "message": "We're currently investigating an issue with the Website", "messageHtml": "

We're currently investigating an issue with the Website

", "status": "INVESTIGATING", "notify": true, "started": "2020-09-12T03:38:47.998Z", "incident": { "id": "ckf01m59ueaqb0a32wrljz1yd", "name": "Rocket is going down", "started": "2020-09-12T19:05:17.398Z", "status": "INVESTIGATING", "components": [ { "id": "ckf01fvnxywz50a35nh1qzssm", "name": "Website", "status": "OPERATIONAL", "showUptime": true, "site": { "subdomain": "nasa", "logoUrl": null, "name": "Nasa", "slackIntegrations": [], "subscribers": [] }, "subscribers": [] } ] }, "translations": { "message": { "fr": "Nous enquêtons actuellement sur un problème avec le site Web" } } } ``` ## Delete an incident update **Endpoint:** ```bash DELETE /v1/:page_id/incidents/:incident_id/incident-updates/:incident_update_id ``` **Example response** ```json { "id": "ckf1ew8mol30c0a32w400k6s3" } ``` --- # Status Pages API Reference Source: https://instatus.com/help/api/status-pages ## Get your status pages **Endpoint:** ```bash GET /v2/pages?page=:page&per_page=:per_page ``` - The default page number is 1. - The default per_page number is 50 and the maximum is 100 items per page. **Example response:** ```json [ { "id": "ckf01fonve9i40a32oas5b0uw", "subdomain": "nasa", "name": "Nasa", "logoUrl": null, "faviconUrl": null, "websiteUrl": null, "customDomain": null, "publicEmail": null, "twitter": null, "status": "UP", "subscribeBySms": null, "language": "en", "useLargeHeader": true, "brandColor": "#111", "okColor": "rgba(51, 177, 126, 1)", "disruptedColor": null, "degradedColor": null, "downColor": null, "noticeColor": null, "unknownColor": null, "googleAnalytics": null, "smsService": null, "htmlInMeta": null, "htmlAboveHeader": null, "htmlBelowHeader": null, "htmlAboveFooter": null, "htmlBelowFooter": null, "htmlBelowSummary": null, "launchDate": null, "cssGlobal": null, "onboarded": null, "createdAt": "2020-09-12T19:03:48.379Z", "updatedAt": "2020-09-12T19:04:03.731Z" } ] ``` ## Create a status page **Endpoint:** ```bash POST /v1/pages ``` **Example request:** ```json { "email": "ali@instatus.com", "name": "Nasa", "subdomain": "nasa", "components": ["Website", "App", "API"], "logoUrl": "https://instatus.com/sample.png", "faviconUrl": "https://instatus.com/favicon-32x32.png", "websiteUrl": "https://instatus.com", "language": "en", "useLargeHeader": true, "brandColor": "#111", "okColor": "#33B17E", "disruptedColor": "#FF8C03", "degradedColor": "#ECC94B", "downColor": "#DC123D", "noticeColor": "#70808F", "unknownColor": "#DFE0E1", "googleAnalytics": "UA-00000000-1", "subscribeBySms": true, "smsService": "twilio", "twilioSid": "YOUR_TWILIO_SID", "twilioToken": "YOUR_TWILIO_TOKEN", "twilioSender": "YOUR_TWILIO_SENDER", "esendexUsername": "YOUR_ESENDEX_USERNAME", "esendexPassword": "YOUR_ESENDEX_PASSWORD", "esendexAccountRef": "YOUR_ESENDEX_ACCOUNT_REF", "nexmoKey": null, "nexmoSecret": null, "nexmoSender": null, "htmlInMeta": null, "htmlAboveHeader": null, "htmlBelowHeader": null, "htmlAboveFooter": null, "htmlBelowFooter": null, "htmlBelowSummary": null, "cssGlobal": null, "launchDate": null, "dateFormat": "MMMMMM d, yyyy", "dateFormatShort": "MMM yyyy", "timeFormat": "p" } ``` **Example response:** ```json { "id": "ckg8auvrglcx309501fcjb2vl", "createdAt": "2020-10-13T18:29:25.708Z", "subdomain": "nasa", "logoUrl": null, "faviconUrl": null, "websiteUrl": null, "name": "Nasa", "status": "UP", "color": null, "language": null, "googleAnalytics": null, "publicEmail": null, "customDomain": null, "useLargeHeader": true, "disableDarkMode": null, "twitter": null, "subscribeBySms": null, "brandColor": null, "okColor": null, "disruptedColor": null, "downColor": null, "degradedColor": null, "noticeColor": null, "htmlInMeta": null, "htmlAboveHeader": null, "htmlBelowHeader": null, "htmlAboveFooter": null, "htmlBelowFooter": null, "htmlBelowSummary": null, "cssGlobal": null, "onboarded": null, "launchDate": null, "dateFormat": "MMMMMM d, yyyy", "dateFormatShort": "MMM yyyy", "timeFormat": "p", "private": false, "useAllowList": false, "allowList": [], "components": [ { "id": "ckg8auwlzlcxd09506r3g6y8z", "name": "Website", "status": "OPERATIONAL", "showUptime": true, "order": null, "group": null, "incidents": [] }, { "id": "ckg8auwv7lcxm09506jjate2o", "name": "App", "status": "OPERATIONAL", "showUptime": true, "order": null, "group": null, "incidents": [] }, { "id": "ckg8aux4oo3ik0a35parnbunk", "name": "API", "status": "OPERATIONAL", "showUptime": true, "order": null, "group": null, "incidents": [] } ] } ``` ## Update a status page **Endpoint:** ```bash PUT /v2/:page_id ``` **Example request:** ```json { "id": "ckg8auvrglcx309501fcjb2vl", "name": "Nasa", "status": "UP", "subdomain": "nasa", "logoUrl": "https://instatus.com/sample.png", "faviconUrl": "https://instatus.com/favicon-32x32.png", "websiteUrl": "https://instatus.com", "language": "en", "publicEmail": "hello@nasa.gov", "useLargeHeader": true, "brandColor": "#111", "okColor": "#33B17E", "disruptedColor": "#FF8C03", "degradedColor": "#ECC94B", "downColor": "#DC123D", "noticeColor": "#70808F", "unknownColor": "#DFE0E1", "googleAnalytics": "UA-00000000-1", "subscribeBySms": true, "smsService": "twilio", "twilioSid": "YOUR_TWILIO_SID", "twilioToken": "YOUR_TWILIO_TOKEN", "twilioSender": "YOUR_TWILIO_SENDER", "esendexUsername": "YOUR_ESENDEX_USERNAME", "esendexPassword": "YOUR_ESENDEX_PASSWORD", "esendexAccountRef": "YOUR_ESENDEX_ACCOUNT_REF", "nexmoKey": null, "nexmoSecret": null, "nexmoSender": null, "htmlInMeta": null, "htmlAboveHeader": null, "htmlBelowHeader": null, "htmlAboveFooter": null, "htmlBelowFooter": null, "htmlBelowSummary": null, "cssGlobal": null, "launchDate": null, "dateFormat": "MMMMMM d, yyyy", "dateFormatShort": "MMM yyyy", "timeFormat": "p", "private": false, "useAllowList": false, "subscriberConfirmationMode": "REQUIRED", "translations": { "name": { "fr": "nasa" } } } ``` **Confirmation emails** Use `subscriberConfirmationMode` to control what happens when someone subscribes: - `REQUIRED` — subscribers must confirm via email before receiving updates. Default. - `WELCOME` — subscribers are added immediately and receive a welcome email. Pro only. - `NONE` — subscribers are added immediately with no email. Pro only. The first time a page switches to `WELCOME` or `NONE`, Instatus reviews the request before it takes effect. Most pages are approved automatically; otherwise our team reviews within 2 days and, until then, subscribers keep receiving a confirmation email. `autoConfirmSubscribers` is deprecated. For backwards compatibility, `true` maps to `NONE` and `false` maps to `REQUIRED`. **Example response:** ```json { "id": "ckg8auvrglcx309501fcjb2vl", "createdAt": "2020-10-13T18:29:25.708Z", "subdomain": "nasa", "name": "Nasa", "status": "UP", "logoUrl": null, "faviconUrl": null, "websiteUrl": null, "color": null, "language": null, "googleAnalytics": null, "publicEmail": "hello@nasa.gov", "customDomain": null, "useLargeHeader": true, "disableDarkMode": null, "twitter": null, "subscribeBySms": null, "brandColor": null, "okColor": null, "disruptedColor": null, "downColor": null, "degradedColor": null, "noticeColor": null, "htmlInMeta": null, "htmlAboveHeader": null, "htmlBelowHeader": null, "htmlAboveFooter": null, "htmlBelowFooter": null, "htmlBelowSummary": null, "cssGlobal": null, "onboarded": null, "launchDate": null, "dateFormat": "MMMMMM d, yyyy", "dateFormatShort": "MMM yyyy", "timeFormat": "p", "private": false, "useAllowList": false, "allowList": [], "subscriberConfirmationMode": "REQUIRED", "components": [ { "id": "ckg8auwlzlcxd09506r3g6y8z", "name": "Website", "status": "OPERATIONAL", "showUptime": true, "order": null, "group": null, "incidents": [] }, { "id": "ckg8auwv7lcxm09506jjate2o", "name": "App", "status": "OPERATIONAL", "showUptime": true, "order": null, "group": null, "incidents": [] }, { "id": "ckg8aux4oo3ik0a35parnbunk", "name": "API", "status": "OPERATIONAL", "showUptime": true, "order": null, "group": null, "incidents": [] } ], "translations": { "name": { "fr": "nasa" } } } ``` ## Delete a status page **Endpoint:** ```bash DELETE /v2/:page_id ``` **Example response:** ```json { "id": "ckf1d4f6a4aaf0a356vqg0rdm" } ``` --- # Workspaces API Reference Source: https://instatus.com/help/api/workspaces ## Get your workspaces **Endpoint:** ```bash GET /v1/workspaces?page=:page&per_page=:per_page ``` - The default page number is 1. - The default per_page number is 50 and the maximum is 100 items per page. **Example response:** ```json [ { "id": "cmihbdhw90001e7xh9kb3oko7", "createdAt": "2025-11-27T10:52:02.649Z", "updatedAt": "2025-11-27T10:52:03.498Z", "name": "Instatus", "slug": "instatus", "avatar": "https://dashboard.instatus.com/avatars/13.jpg", "sites": ["cmihbdhyg0005e7xhjhim8l74"], "sso": false, "organizationDomains": null, "allowDomainEmails": false, "allowedDomainsDefaultPermission": "READ", "ssoActive": false, "directorySyncActive": false, "enableMultipleOrgs": false, "allowedDomains": null, "allowedEmailDomains": [], "referralId": null, "referralCoupon": null, "referralCode": null, "sendNewWorkspaceMembersStatusPageUpdates": true, "sendNewWorkspaceMembersAutomationIntegrationNotifications": true, "sendNewWorkspaceMembersInvalidCustomDomainNotifications": true, "sendNewWorkspaceMembersPhoneCallNotifications": true, "sendNewWorkspaceMembersWeeklyReportsNotifications": true, "longRunningIncidentNotificationSettings": [0.5, 1, 2, 3, 6, 12], "useSSOLogin": true, "useGoogleLogin": true, "useMagiclinkLogin": true, "usePasswordLogin": true, "useGithubLogin": true }, { "id": "cmjiq4ert0006bd6k027exx68", "createdAt": "2025-12-23T15:12:21.449Z", "updatedAt": "2025-12-23T15:18:57.744Z", "name": "Workspace 2", "slug": "workspace-2", "avatar": "https://dashboard.instatus.com/avatars/26.jpg", "sites": [], "sso": false, "organizationDomains": null, "allowDomainEmails": false, "allowedDomainsDefaultPermission": "READ", "ssoActive": false, "directorySyncActive": false, "enableMultipleOrgs": false, "allowedDomains": null, "allowedEmailDomains": [], "referralId": null, "referralCoupon": null, "referralCode": null, "sendNewWorkspaceMembersStatusPageUpdates": true, "sendNewWorkspaceMembersAutomationIntegrationNotifications": true, "sendNewWorkspaceMembersInvalidCustomDomainNotifications": true, "sendNewWorkspaceMembersPhoneCallNotifications": true, "sendNewWorkspaceMembersWeeklyReportsNotifications": true, "longRunningIncidentNotificationSettings": [0.5, 1, 2, 3, 6, 12], "useSSOLogin": true, "useGoogleLogin": true, "useMagiclinkLogin": true, "usePasswordLogin": true, "useGithubLogin": true } ] ``` ## Create a workspace **Endpoint:** ```bash POST /v1/workspaces ``` **Example request:** ```json { "name": "Instatus", "slug": "in-status", "sendNewWorkspaceMembersStatusPageUpdates": true, "sendNewWorkspaceMembersAutomationIntegrationNotifications": true, "sendNewWorkspaceMembersInvalidCustomDomainNotifications": true, "sendNewWorkspaceMembersPhoneCallNotifications": true, "sendNewWorkspaceMembersWeeklyReportsNotifications": true, "longRunningIncidentNotificationSettings": [0.5, 1, 2, 3, 6, 12] } ``` **Example response:** ```json { "id": "cmjirgpcx0000c20yxm94si6q", "createdAt": "2025-12-23T15:49:54.647Z", "updatedAt": "2025-12-23T15:49:54.647Z", "name": "Instatus", "slug": "in-status", "avatar": null, "sso": false, "organizationDomains": null, "allowDomainEmails": false, "allowedDomainsDefaultPermission": "READ", "ssoActive": false, "directorySyncActive": false, "enableMultipleOrgs": false, "allowedDomains": null, "allowedEmailDomains": [], "referralId": null, "referralCoupon": null, "referralCode": null, "sendNewWorkspaceMembersStatusPageUpdates": true, "sendNewWorkspaceMembersAutomationIntegrationNotifications": true, "sendNewWorkspaceMembersInvalidCustomDomainNotifications": true, "sendNewWorkspaceMembersPhoneCallNotifications": true, "sendNewWorkspaceMembersWeeklyReportsNotifications": true, "longRunningIncidentNotificationSettings": [0.5, 1, 2, 3, 6, 12], "useSSOLogin": true, "useGoogleLogin": true, "useMagiclinkLogin": true, "usePasswordLogin": true, "useGithubLogin": true } ``` ## Delete a workspace **Endpoint:** ```bash DELETE /v1/workspaces/:workspace_id ``` **Example response:** ```json { "id": "cmjirgpcx0000c20yxm94si6q" } ``` --- # Components API Reference Source: https://instatus.com/help/api/components ## Get all your status page components **Endpoint:** ```bash GET /v2/:page_id/components?page=:page&per_page=:per_page ``` - The default page number is 1. - The default per_page number is 50 and the maximum is 100 items per page. **Example response:** ```json [ { "id": "ckf01fvnxywz60a35wdbn5gz5", "name": "App", "status": "OPERATIONAL", "uniqueEmail": "nasa-app-1nozrueut@automation.instatus.com", "description": "", "showUptime": true, "order": 0, "group": null }, { "id": "ckf01fvnxywz50a35nh1qzssm", "name": "Website", "status": "OPERATIONAL", "description": "", "showUptime": true, "order": 0, "group": null, "uniqueEmail": "nasa-website-1nozrueut@automation.instatus.com" } ] ``` ## Get a component **Endpoint:** ```bash GET /v2/:page_id/components/:component_id ``` **Example response** ```json { "id": "ckf01fvnxywz50a35nh1qzssm", "name": "Website", "description": "", "status": "OPERATIONAL", "uniqueEmail": "nasa-website-1nozrueut@automation.instatus.com", "showUptime": true, "order": 0, "group": null } ``` ## Get status page uptime **Endpoint:** ```bash GET /v2/:page_id/uptime?start=:start&end=:end ``` - `start` and `end` are ISO 8601 dates. Without them, you get the last 30 days. - The range can be at most 395 days, and `start` must be before `end`. **Example response:** ```json { "start": "2026-10-01T00:00:00.000Z", "end": "2026-10-31T00:00:00.000Z", "uptime": 99.97, "components": [ { "id": "ckf01fvnxywz60a35wdbn5gz5", "name": "App", "uptime": 99.95, "isParent": false, "children": [] }, { "id": "ckf01fvnxywz40a35p2c1xk7q", "name": "API", "uptime": 99.98, "isParent": true, "children": [ { "id": "ckf01fvnxywz50a35nh1qzssm", "name": "Auth", "uptime": 99.96, "isParent": false, "children": [] }, { "id": "ckf01fvnxywz70a35r8m2wq4d", "name": "Search", "uptime": 100, "isParent": false, "children": [] } ] } ] } ``` - The top-level `uptime` covers the whole page: the average of every component, worked out the same way as a group's uptime. - Groups have `isParent` set to `true` and list their components under `children`. - Only published outages count, so the figures match your status page. ## Create a component **Endpoint:** ```bash POST /v1/:page_id/components ``` **Example request:** ```json { "name": "Test component", "description": "Testing", "status": "OPERATIONAL", "order": 6, "showUptime": true, "grouped": false, "archived": false, "translations": { "name": { "fr": "Composant de test" }, "description": { "fr": "En test" } } } ``` **Example response:** ```json { "id": "ckf1d4f6a4aaf0a356vqg0rdm", "name": "Test component", "description": "Testing", "uniqueEmail": "nasa-test-component-oomaksikj@automation.instatus.com", "status": "OPERATIONAL", "showUptime": true, "order": 8, "group": null, "translations": { "name": { "fr": "Composant de test" }, "description": { "fr": "En test" } } } ``` If you'd like to add a component under a group, you may set `grouped` to `true` and `group` to your desired group's `ID`. ## Update a component **Endpoint:** ```bash PUT /v2/:page_id/components/:component_id ``` **Example request:** ```json { "name": "Test component 4", "description": "Test test test", "status": "OPERATIONAL", "order": 6, "showUptime": true, "grouped": false, "archived": true, "translations": { "name": { "fr": "Composant de test 4" }, "description": { "fr": "Test test test" } } } ``` **Example response:** ```json { "id": "ckf1d4f6a4aaf0a356vqg0rdm", "name": "Test component 4", "uniqueEmail": "nasa-test-component-oomaksikj@automation.instatus.com", "status": "OPERATIONAL", "description": "Test test test", "showUptime": true, "order": 6, "group": null, "translations": { "name": { "fr": "Composant de test 4" }, "description": { "fr": "Test test test" } } } ``` If you'd like to update a component's group, you may set `grouped` to `true` and `groupId` to your desired group's `ID`. ## Delete a component **Endpoint:** ```bash DELETE /v1/:page_id/components/:component_id ``` ```json { "id": "ckf1d4f6a4aaf0a356vqg0rdm" } ``` --- # Teammates API Reference Source: https://instatus.com/help/api/teammates ## Get teammates **Endpoint:** ```bash GET /v1/:page_id/team?page=:page&per_page=:per_page ``` - The default page number is 1. - The default per_page number is 50 and the maximum is 100 items per page. **Example response** ```json [ { "id": "cm1111x6ofgsd5666mzxcw978qh", "user": { "id": "cm111114566gsd5666mzxcw978qh", "name": "Ali Salah", "email": "ali@instatus.com", "avatar": "https://res.cloudinary.com/sup/image/upload/v1600287654/avatars/uuhfbauwwv7zjzzejgik.jpg" } } ] ``` ## Add a team member ```bash POST /v1/:page_id/team ``` **Example request** ```json { "email": "john@instatus.com" } ``` **Example response** ```json { "id": "cm1111x6ofgsd5666mzxcw978qh", "email": "john@instatus.com" } ``` ## Delete a team member ```bash DELETE /v1/:page_id/team/:member_id ``` **Example response** ```json { "memberId": "cm1111x6ofgsd5666mzxcw978qh" } ``` --- # Maintenances API Reference Source: https://instatus.com/help/api/maintenances ## Get all page maintenances **Endpoint:** ```bash GET /v2/:page_id/maintenances?page=:page&per_page=:per_page ``` - The default page number is 1. - The default per_page number is 50 and the maximum is 100 items per page. **Example response:** ```json [ { "id": "ckf1fzzbt4nib0a352wwra6ff", "name": "Test maintenance", "status": "NOTSTARTEDYET", "start": "2020-09-13T18:38:58.326Z", "duration": 60, "notifyStart": true, "notifyEnd": true, "notifyEarly": true, "notifyMinutes": 60, "autoStart": true, "autoEnd": true, "updates": [ { "id": "ckf1fzzpal97v0a322evc874c", "message": "We are planning for a scheduled maintenance during that time.", "messageHtml": "

We are planning for a scheduled maintenance during that time.

", "status": "NOTSTARTEDYET", "notify": true, "started": "2020-09-13T18:38:58.326Z", "ended": null, "updatedAt": "2020-09-13T18:38:58.326Z" } ] } ] ``` ## Get a maintenance **Endpoint:** ```bash GET /v1/:page_id/maintenances/:maintenance_id ``` **Example response:** ```json { "id": "ckf1fzzbt4nib0a352wwra6ff", "name": "Test maintenance", "status": "NOTSTARTEDYET", "start": "2020-09-13T18:38:58.326Z", "duration": 60, "notifyStart": true, "notifyEnd": true, "notifyEarly": true, "notifyMinutes": 60, "autoStart": true, "autoEnd": true, "updates": [ { "id": "ckf1fzzpal97v0a322evc874c", "message": "We are planning for a scheduled maintenance during that time.", "messageHtml": "

We are planning for a scheduled maintenance during that time.

", "status": "NOTSTARTEDYET", "notify": true, "started": "2020-09-13T18:38:58.326Z", "ended": null, "duration": null, "createdAt": "2020-09-13T18:39:16.606Z" } ], "components": [ { "id": "ckf01fvnxywz50a35nh1qzssm", "name": "Website", "status": "OPERATIONAL", "showUptime": true, "site": { "id": "ckf01fonve9i40a32oas5b0uw", "name": "Nasa", "subdomain": "nasa", "color": null, "logoUrl": null, "publicEmail": null } } ] } ``` ## Add a maintenance **Endpoint:** ```bash POST /v1/:page_id/maintenances ``` **Example request:** ```json { "name": "Test maintenance", "message": "We are scheduling a test maintenance", "components": ["ckf01fvnxywz50a35nh1qzssm"], "start": "2020-09-12 05:38:47.998", "end": "2020-09-12 06:38:47.998", "status": "NOTSTARTEDYET", "notify": true, "duration": 60, "notifyStart": true, "notifyEnd": true, "notifyEarly": true, "notifyMinutes": 60, "autoStart": true, "autoEnd": true, "statuses": [ { "id": "ckf01fvnxywz50a35nh1qzssm", "status": "UNDERMAINTENANCE" } ], "translations": { "name": { "fr": "Entretien des tests" }, "message": { "fr": "Nous planifions une maintenance test" } } } ``` Maintenances are expanded by default. If you would like to collapse your maintenance and then expand it at a desired time, then you'll need to include and set `isCollapsed` to `true` and `expandAt` to your desired time. **Example response:** ```json { "id": "ckf1g4evp4o5s0a35vozxnjv5", "name": "Test maintenance", "duration": null, "start": "2020-09-12T03:38:47.998Z", "end": "2020-09-12T04:38:47.998Z", "status": "NOTSTARTEDYET", "updates": [], "components": [ { "id": "ckf01fvnxywz50a35nh1qzssm", "name": "Website", "status": "OPERATIONAL", "showUptime": true, "site": { "id": "ckf01fonve9i40a32oas5b0uw", "name": "Nasa", "subdomain": "nasa", "color": null, "logoUrl": null, "publicEmail": null } } ], "translations": { "name": { "fr": "Entretien des tests" }, "message": { "fr": "Nous planifions une maintenance test" } } } ``` ## Update maintenance **Endpoint:** ```bash PUT /v1/:page_id/maintenances/:maintenance_id ``` **Example request:** ```json { "name": "Test incident 2", "message": "We are scheduling a test maintenance", "components": ["ckf01fvnxywz50a35nh1qzssm"], "start": "2020-09-12 05:38:47.998", "end": "2020-09-12 06:38:47.998", "status": "NOTSTARTEDYET", "notify": true, "statuses": [ { "id": "ckf01fvnxywz50a35nh1qzssm", "status": "UNDERMAINTENANCE" } ], "translations": { "name": { "fr": "Entretien des tests" }, "message": { "fr": "Nous planifions une maintenance test" } } } ``` **Example response:** ```json { "id": "ckf1g4evp4o5s0a35vozxnjv5", "name": "Test maintenance 2", "status": "NOTSTARTEDYET", "start": "2020-09-12T03:38:47.998Z", "duration": null, "updates": [ { "id": "ckf1g4ffi4o5y0a35rm76vuq9", "message": "We're currently investigating an issue with the Website", "messageHtml": "

We're currently investigating an issue with the Website

", "status": "NOTSTARTEDYET", "notify": true, "started": "2020-09-12T03:38:47.998Z", "ended": null, "duration": null, "createdAt": "2020-09-13T18:42:43.614Z" } ], "components": [ { "id": "ckf01fvnxywz50a35nh1qzssm", "name": "Website", "status": "OPERATIONAL", "showUptime": true, "site": { "id": "ckf01fonve9i40a32oas5b0uw", "name": "Nasa", "subdomain": "nasa", "color": null, "logoUrl": null, "publicEmail": null } } ], "translations": { "name": { "fr": "Entretien des tests" }, "message": { "fr": "Nous planifions une maintenance test" } } } ``` ## Delete maintenance **Endpoint:** ```bash DELETE /v1/:page_id/maintenances/:maintenance_id ``` **Example response:** ```json { "id": "ckf1g4evp4o5s0a35vozxnjv5" } ``` --- # Maintenance Updates API Reference Source: https://instatus.com/help/api/maintenance-updates ## Get a maintenance update **Endpoint:** ```bash GET /v1/:page_id/maintenances/:maintenance_id/maintenance-updates/:maintenance_update_id ``` **Example response** ```json { "id": "ckf1g4ffi4o5y0a35rm76vuq9", "message": "We're currently investigating an issue with the Website", "messageHtml": "

We're currently investigating an issue with the Website

", "notify": true, "started": "2020-09-12T03:38:47.998Z", "status": "NOTSTARTEDYET", "maintenance": { "id": "ckf1g4evp4o5s0a35vozxnjv5", "name": "Test maintenance 2", "start": "2020-09-12T03:38:47.998Z", "status": "NOTSTARTEDYET", "components": [ { "id": "ckf01fvnxywz50a35nh1qzssm", "name": "Website", "status": "OPERATIONAL", "showUptime": true, "site": { "id": "ckf01fonve9i40a32oas5b0uw", "name": "Nasa", "subdomain": "nasa", "color": null, "logoUrl": null, "publicEmail": null } } ] } } ``` ## Add a maintenance update **Endpoint:** ```bash POST /v1/:page_id/maintenances/:maintenance_id/maintenance-updates ``` **Example request** ```json { "message": "We are scheduling a test maintenance", "components": ["ckf01fvnxywz50a35nh1qzssm"], "started": "2020-09-12 05:38:47.998", "end": "2020-09-12 06:38:47.998", "status": "NOTSTARTEDYET", "notify": true, "statuses": [ { "id": "ckf01fvnxywz50a35nh1qzssm", "status": "UNDERMAINTENANCE" } ], "translations": { "message": { "fr": "Nous planifions une maintenance test" } } } ``` **Example response** ```json { "id": "ckf1hlezn4vzv0a358mh8jg0z", "message": "We are scheduling a test maintenance", "messageHtml": "

We are scheduling a test maintenance

", "notify": true, "started": "2020-09-12T03:38:47.998Z", "status": "NOTSTARTEDYET", "maintenance": { "id": "ckf1hdrlilhvr0a32pyllguzs", "name": "Maintenance test", "start": "2020-09-12T03:38:47.998Z", "status": "NOTSTARTEDYET", "components": [ { "id": "ckf01fvnxywz50a35nh1qzssm", "name": "Website", "status": "OPERATIONAL", "showUptime": true, "subscribers": [], "site": { "id": "ckf01fonve9i40a32oas5b0uw", "name": "Nasa", "subdomain": "nasa", "color": null, "logoUrl": null, "publicEmail": null, "subscribers": [] } } ] }, "translations": { "message": { "fr": "Nous planifions une maintenance test" } } } ``` ## Edit a maintenance update **Endpoint:** ```bash PUT /v1/:page_id/maintenances/:maintenance_id/maintenance-updates/:maintenance_update_id ``` **Example request** ```json { "message": "We are scheduling a test maintenance 2", "components": ["ckf01fvnxywz50a35nh1qzssm"], "started": "2020-09-12 05:38:47.998", "end": "2020-09-12 06:38:47.998", "status": "NOTSTARTEDYET", "notify": true, "statuses": [ { "id": "ckf01fvnxywz50a35nh1qzssm", "status": "UNDERMAINTENANCE" } ], "translations": { "message": { "fr": "Nous planifions une maintenance test" } } } ``` **Example response** ```json { "id": "ckf1hlezn4vzv0a358mh8jg0z", "message": "We are scheduling a test maintenance 2", "messageHtml": "

We are scheduling a test maintenance 2

", "notify": true, "started": "2020-09-12T03:38:47.998Z", "status": "NOTSTARTEDYET", "maintenance": { "id": "ckf1hdrlilhvr0a32pyllguzs", "name": "Maintenance test", "start": "2020-09-12T03:38:47.998Z", "status": "NOTSTARTEDYET", "components": [ { "id": "ckf01fvnxywz50a35nh1qzssm", "name": "Website", "status": "OPERATIONAL", "showUptime": true, "subscribers": [], "site": { "id": "ckf01fonve9i40a32oas5b0uw", "name": "Nasa", "subdomain": "nasa", "color": null, "logoUrl": null, "publicEmail": null, "subscribers": [] } } ] }, "translations": { "message": { "fr": "Nous planifions une maintenance test" } } } ``` ## Delete a maintenance update **Endpoint:** ```bash DELETE /v1/:page_id/maintenances/:maintenance_id/maintenance-updates/:maintenance_update_id ``` **Example response** ```json { "id": "ckf1hlezn4vzv0a358mh8jg0z" } ``` --- # Templates API Reference Source: https://instatus.com/help/api/templates ## Get all page templates **Endpoint:** ```bash GET /v1/:page_id/templates?page=:page&per_page=:per_page ``` - The default page number is 1. - The default per_page number is 50 and the maximum is 100 items per page. **Example response:** ```json [ { "id": "cl9mq0ah50646mpvlmbrvf979", "type": "MAINTENANCE", "name": "Some Template", "nameTranslationId": null, "message": "", "messageTranslationId": null, "messageHtml": "", "messageHtmlTranslationId": null, "status": "NOTSTARTEDYET", "notify": true, "createdAt": "2022-10-24T11:53:46.505Z", "siteId": "cl9fzgilx14063qjvl5oqdtxtg", "importedFrom": null, "deletedAt": null, "components": [], "translations": { "name": null, "message": null } }, { "id": "cl9ranzrn0040xovluqicus6h", "type": "INCIDENT", "name": "Some Template 2", "nameTranslationId": null, "message": "We're currently investigating an issue with the Website", "messageTranslationId": null, "messageHtml": "

We're currently investigating an issue with the Website

", "messageHtmlTranslationId": null, "status": "INVESTIGATING", "notify": true, "createdAt": "2022-10-27T16:43:09.394Z", "siteId": "cl9fzgilx14063qjvl5oqdtxtg", "importedFrom": null, "deletedAt": null, "components": [ { "id": "cl9rbadkx0024lhvlicjbe304", "status": "MAJOROUTAGE", "isCustomPercentage": true, "componentId": "cl9fzgipf14075qjvljphlnwkk", "templateId": "cl9ranzrn0040xovluqicus6h", "importedFrom": null } ], "translations": { "name": null, "message": null } } ] ``` ## Get a template **Endpoint:** ```bash GET /v1/:page_id/templates/:template_id ``` **Example response:** ```json { "id": "cl9mq0ah50646mpvlmbrvf979", "type": "MAINTENANCE", "name": "Some Template", "nameTranslationId": null, "message": "", "messageTranslationId": null, "messageHtml": "", "messageHtmlTranslationId": null, "status": "NOTSTARTEDYET", "notify": true, "createdAt": "2022-10-24T11:53:46.505Z", "siteId": "cl9fzgilx14063qjvl5oqdtxtg", "importedFrom": null, "deletedAt": null, "components": [], "translations": { "name": null, "message": null } } ``` ## Add a template **Endpoint:** ```bash POST /v1/:page_id/templates ``` **Example request:** ```json { "subdomain": "some-subdomain", "type": "INCIDENT", "name": "Test template", "message": "We're currently investigating an issue with the Website", "status": "INVESTIGATING", "notify": true, "components": [ { "id": "cl9fzgipf14075qjvljphlnwkk", "status": "PARTIALOUTAGE", "customImpactPercentage": 40 } ], "translations": { "name": { "fr": "Modèle de test" }, "message": { "fr": "Nous enquêtons actuellement sur un problème avec le site Web" } } } ``` **Example response:** ```json { "id": "cl9xobpoe00614tvldhh90t0w", "type": "INCIDENT", "name": "Test template", "nameTranslationId": null, "message": "We're currently investigating an issue with the Website", "messageTranslationId": null, "messageHtml": "

We're currently investigating an issue with the Website

", "messageHtmlTranslationId": null, "status": "INVESTIGATING", "notify": true, "createdAt": "2022-11-01T03:52:08.126Z", "siteId": "cl9fzgilx14063qjvl5oqdtxtg", "importedFrom": null, "deletedAt": null, "components": [], "translations": { "name": { "fr": "Modèle de test" }, "message": { "fr": "Nous enquêtons actuellement sur un problème avec le site Web" } } } ``` ## Update template **Endpoint:** ```bash PUT /v1/:page_id/templates/:template_id ``` **Example request:** ```json { "type": "INCIDENT", "name": "Test template 2", "message": "We're currently investigating an issue with the Website", "status": "INVESTIGATING", "notify": true, "components": [ { "id": "cl9fzgipf14075qjvljphlnwkk", "status": "MAJOROUTAGE" } ], "translations": { "name": { "fr": "Modèle de test" }, "message": { "fr": "Nous enquêtons actuellement sur un problème avec le site Web" } } } ``` **Example response:** ```json { "id": "cl9ranzrn0040xovluqicus6h", "type": "INCIDENT", "name": "Test template 2", "nameTranslationId": null, "message": "We're currently investigating an issue with the Website", "messageTranslationId": null, "messageHtml": "

We're currently investigating an issue with the Website

", "messageHtmlTranslationId": null, "status": "INVESTIGATING", "notify": true, "createdAt": "2022-10-27T16:43:09.394Z", "siteId": "cl9fzgilx14063qjvl5oqdtxtg", "importedFrom": null, "deletedAt": null, "components": [ { "id": "cl9xockck01654tvlwfn7vbaz", "status": "OPERATIONAL", "componentId": "cl9fzgipf14075qjvljphlnwkk", "templateId": "cl9ranzrn0040xovluqicus6h", "importedFrom": null } ], "translations": { "name": { "fr": "Modèle de test" }, "message": { "fr": "Nous enquêtons actuellement sur un problème avec le site Web" } } } ``` ## Delete template **Endpoint:** ```bash DELETE /v1/:page_id/templates/:template_id ``` **Example response:** ```json { "id": "cl9ra5iu20023bxvlu1x8bqj6", "name": "Test template", "message": "We're currently investigating an issue with the Website", "createdAt": "2022-10-27T16:28:47.642Z", "site": { "id": "cl9fzgilx14063qjvl5oqdtxtg" } } ``` --- # General Notices API Reference Source: https://instatus.com/help/api/generic-notices General notices are persistent banners shown on your status page (separate from incidents and maintenances). Use these endpoints to manage them programmatically. ## Get all general notices **Endpoint:** ```bash GET /v1/:page_id/generic-notices?page=:page&per_page=:per_page ``` - The default page number is 1. - The default per_page number is 50 and the maximum is 100 items per page. **Example response:** ```json [ { "id": "cl9mq0ah50646mpvlmbrvf979", "name": "Scheduled DNS migration", "message": "We are migrating our DNS provider over the next week.", "messageHtml": "

We are migrating our DNS provider over the next week.

", "notify": false, "isCollapsed": false, "createdAt": "2022-10-24T11:53:46.505Z", "updatedAt": "2022-10-24T11:53:46.505Z", "siteId": "cl9fzgilx14063qjvl5oqdtxtg", "importedFrom": null } ] ``` ## Get a general notice **Endpoint:** ```bash GET /v1/:page_id/generic-notices/:generic_notice_id ``` **Example response:** ```json { "id": "cl9mq0ah50646mpvlmbrvf979", "name": "Scheduled DNS migration", "message": "We are migrating our DNS provider over the next week.", "messageHtml": "

We are migrating our DNS provider over the next week.

", "notify": false, "isCollapsed": false, "createdAt": "2022-10-24T11:53:46.505Z", "updatedAt": "2022-10-24T11:53:46.505Z", "siteId": "cl9fzgilx14063qjvl5oqdtxtg", "importedFrom": null } ``` ## Add a general notice **Endpoint:** ```bash POST /v1/:page_id/generic-notices ``` **Body parameters:** - `name` (required) — the title of the notice. - `message` — the body of the notice. HTML is supported. - `notify` — whether to notify subscribers. Defaults to `false`. - `isCollapsed` — whether the notice is collapsed by default. Defaults to `false`. - `translations` — optional translations for `name` and `message`, keyed by language code. **Example request:** ```json { "name": "Scheduled DNS migration", "message": "We are migrating our DNS provider over the next week.", "notify": false, "isCollapsed": false, "translations": { "name": { "fr": "Migration DNS planifiée" }, "message": { "fr": "Nous migrons notre fournisseur DNS au cours de la semaine prochaine." } } } ``` **Example response:** ```json { "id": "cl9xobpoe00614tvldhh90t0w", "name": "Scheduled DNS migration", "message": "We are migrating our DNS provider over the next week.", "messageHtml": "

We are migrating our DNS provider over the next week.

", "notify": false, "isCollapsed": false, "createdAt": "2022-11-01T03:52:08.126Z", "updatedAt": "2022-11-01T03:52:08.126Z", "siteId": "cl9fzgilx14063qjvl5oqdtxtg", "importedFrom": null, "translations": { "name": { "fr": "Migration DNS planifiée" }, "message": { "fr": "Nous migrons notre fournisseur DNS au cours de la semaine prochaine." } } } ``` ## Update a general notice **Endpoint:** ```bash PUT /v1/:page_id/generic-notices/:generic_notice_id ``` Only the fields you send are updated. **Example request:** ```json { "name": "Scheduled DNS migration (rescheduled)", "message": "The migration has been rescheduled to next month.", "isCollapsed": true } ``` **Example response:** ```json { "id": "cl9xobpoe00614tvldhh90t0w", "name": "Scheduled DNS migration (rescheduled)", "message": "The migration has been rescheduled to next month.", "messageHtml": "

The migration has been rescheduled to next month.

", "notify": false, "isCollapsed": true, "createdAt": "2022-11-01T03:52:08.126Z", "updatedAt": "2022-11-02T09:14:22.501Z", "siteId": "cl9fzgilx14063qjvl5oqdtxtg", "importedFrom": null } ``` ## Delete a general notice **Endpoint:** ```bash DELETE /v1/:page_id/generic-notices/:generic_notice_id ``` **Example response:** ```json { "id": "cl9xobpoe00614tvldhh90t0w", "name": "Scheduled DNS migration (rescheduled)", "message": "The migration has been rescheduled to next month.", "messageHtml": "

The migration has been rescheduled to next month.

", "notify": false, "isCollapsed": true, "createdAt": "2022-11-01T03:52:08.126Z", "updatedAt": "2022-11-02T09:14:22.501Z", "siteId": "cl9fzgilx14063qjvl5oqdtxtg", "importedFrom": null } ``` --- # Subscribers API Reference Source: https://instatus.com/help/api/subscribers ## Get subscribers **Endpoint:** ```bash GET /v2/:page_id/subscribers?page=:page&per_page=:per_page&search=:search_query&status=:status ``` - The default page number is 1. - The default per_page number is 50 and the maximum is 100 items per page. - Optional search query is used to filter subscribers using email address or phone number. - Optional `status` filters subscribers by their subscription status. Use `status=confirmed` to leave out anyone who hasn't confirmed yet. | Value | Subscribers returned | | --- | --- | | `confirmed` | Confirmed subscribers who receive notifications. | | `unconfirmed` | Approved subscribers who haven't confirmed their subscription yet. | | `unapproved` | Subscribers waiting for approval, such as imported lists. | **Example response** ```json [ { "id": "cm1111x6ofgsd5666mzxcw978qh", "email": "ali@instatus.com", "phone": null, "webhook": null, "webhookEmail": null, "confirmed": false, "approved": true, "all": true, "components": [] }, { "id": "cm1111x6ofgsd5666mzxcw978qh", "email": null, "phone": "5417543010", "webhook": null, "webhookEmail": null, "confirmed": false, "approved": true, "all": true, "components": [] } ] ``` ## Add a subscriber **Endpoint:** ```bash POST /v1/:page_id/subscribers ``` When someone subscribes, confirmation behavior follows the page's `subscriberConfirmationMode` setting. Use `autoConfirm` on this endpoint to override that behavior for a single subscriber. **Example request** ```json { "email": "sarah@instatus.com", "all": true, "autoConfirm": false } ``` - `autoConfirm` — optional. When `true`, adds the subscriber immediately without sending confirmation or welcome emails, regardless of the page setting. Pro only. The first use on a page is reviewed by Instatus; until it is approved, the subscriber receives a confirmation email instead. **Example response** ```json { "id": "cm1111x6ofgsd5666mzxcw978df", "name": null, "email": "sarahs@instatus.com", "phone": null, "confirmed": false, "all": true, "createdAt": "2024-10-01T03:48:41.474Z", "updatedAt": "2024-10-01T03:48:41.474Z", "siteId": "cm1111x6ofgsd5666mzxcw978qh", "unsubscribeToken": "e3b51de6-1234-4664-zxyv-1679gg524260", "webhook": null, "webhookEmail": null, "discord": null, "discordTeam": null, "slack": null, "slackTeam": null, "language": "en", "company": null, "microsoftTeamsWebhook": null, "googleChatWebhook": null, "googleChatSpace": null, "failedAttempts": 0, "approved": true, "importedFrom": null, "hideUnsubLink": false, "webhookIncidentBody": null, "webhookMaintenanceBody": null, "webhookComponentBody": null, "webhookHttpMethod": "POST", "webhookHeaders": null, "site": { "id": "cm1111x6ofgsd5666mzxcw978qh" } } ``` ### Subscribe to specific components **Example request** ```json { "email": "adam@instatus.com", "all": false, "components": ["cl2xv23rl0119e7jlk2mweepd"], "autoConfirm": false } ``` **Example response** ```json { "id": "cl09gt11151422bjluflghewx", "email": "adam@instatus.com", "site": { "id": "ckg8a112344s5v86wrn", "name": "Test", "logoUrl": null, "subdomain": "test", "publicEmail": null, "language": "en" } } ``` ## Add multiple subscribers **Endpoint:** ```bash POST /v1/:page_id/subscribers/bulk ``` This endpoint allows you to create multiple subscribers in a single request. **Example request** ```json { "subscribers": [ { "email": "sarah@instatus.com", "all": true }, { "email": "john@instatus.com", "components": ["cl2xv23rl0119e7jlk2mweepd"] }, { "name": "Jane Doe", "phone": "5417543010", "all": true } ], "autoConfirm": false } ``` - `autoConfirm` applies to every subscriber in the batch. Pro only. **Example response** ```json { "success": true, "created": 3, "failed": 0, "results": { "created": [ { "id": "cm1111x6ofgsd5666mzxcw978df", "email": "sarah@instatus.com", "phone": null, "confirmed": false, "all": true, "site": { "id": "cm1111x6ofgsd5666mzxcw978qh" } }, { "id": "cm2222x6ofgsd5666mzxcw978df", "email": "john@instatus.com", "phone": null, "confirmed": false, "all": false, "site": { "id": "cm1111x6ofgsd5666mzxcw978qh" } }, { "id": "cm3333x6ofgsd5666mzxcw978df", "email": null, "phone": "5417543010", "name": "Jane Doe", "confirmed": false, "all": true, "site": { "id": "cm1111x6ofgsd5666mzxcw978qh" } } ], "failed": [] } } ``` **Response when some subscribers fail** If some subscribers fail to be created (e.g., duplicate email, incorrect format), the response will include details about the failures: ```json { "success": false, "created": 2, "failed": 1, "results": { "created": [ { "id": "cm1111x6ofgsd5666mzxcw978df", "email": "sarah@instatus.com", "site": { "id": "cm1111x6ofgsd5666mzxcw978qh" } }, { "id": "cm2222x6ofgsd5666mzxcw978df", "email": "john@instatus.com", "site": { "id": "cm1111x6ofgsd5666mzxcw978qh" } } ], "failed": [ { "index": 2, "subscriber": { "email": "duplicate@instatus.com", "all": true }, "error": { "code": "creation_failed", "message": "Subscriber with this email already exists" } } ] } } ``` **Notes:** - Maximum 100 subscribers per request - Each subscriber object can have the same fields as the single subscriber endpoint - Partial success is supported - successfully created subscribers are returned even if some fail ## Confirmation behavior Status pages control how new subscribers are handled via `subscriberConfirmationMode` on the [Update a status page](https://instatus.com/help/api/status-pages) endpoint: | Value | Behavior | | --- | --- | | `REQUIRED` | Subscribers must confirm via email before receiving updates. Default. | | `WELCOME` | Subscribers are added immediately and receive a welcome email. Pro only. | | `NONE` | Subscribers are added immediately with no email. Pro only. | The `autoConfirm` parameter on create endpoints overrides the page setting for that request and behaves like `NONE`. ## Remove a subscriber **Endpoint:** ```bash DELETE /v1/:page_id/subscribers/:subscriber_id ``` **Example response** ```json { "id": "cm1zvzm3434dlp9255d6jgy8", "name": null, "email": "sarah@instatus.com", "phone": null, "webhook": null, "webhookEmail": null, "discord": null, "microsoftTeamsWebhook": null, "company": null, "site": { "id": "cm180slpo000g9343478qh" } } ``` --- # Metrics API Reference Source: https://instatus.com/help/api/metrics ## Get all metrics **Endpoint:** ```bash GET /v1/:page_id/metrics?page=:page&per_page=:per_page ``` - The default page number is 1. - The default per_page number is 50 and the maximum is 100 items per page. **Example response:** ```json [ { "id": "ckj1qyonq9sdk09819xdg4ehm", "name": { "default": "Testing" }, "active": true, "order": 1, "suffix": "ms", "data": [ { "timestamp": 1608474985000, "value": 355 }, { "timestamp": 1608475225000, "value": 428.25 }, { "timestamp": 1608475465000, "value": 356 }, { "timestamp": 1608475705000, "value": 451.75 }, ... ] }, ... ] ``` ## Get a metric **Endpoint:** ```bash GET /v1/:page_id/metrics/:metric_id ``` **Example response:** ```json { "id": "ckj1qyonq9sdk09819xdg4ehm", "name": "Testing", "active": true, "order": 1, "suffix": "ms", "data": [ { "timestamp": 1608474985000, "value": 355 }, { "timestamp": 1608475225000, "value": 428.25 }, { "timestamp": 1608475465000, "value": 356 }, { "timestamp": 1608475705000, "value": 451.75 }, ... ] } ``` ## Add a metric **Endpoint:** ```bash POST /v1/:page_id/metrics ``` ```json { "subdomain": "nasa", "name": "Response time", "suffix": "ms" } ``` **Example response:** ```json { "id": "ckj1qyonq9sdk09819xdg4ehm", "name": "Response time", "active": true, "order": 1, "suffix": "ms", "lastDataAt": 1608561235000, "data": [ { "timestamp": 1608474985000, "value": 355 }, { "timestamp": 1608475225000, "value": 428.25 }, { "timestamp": 1608475465000, "value": 356 }, ... ] } ``` ## Update a metric **Endpoint:** ```bash PUT /v1/:page_id/metrics/:metric_id ``` **Example request:** ```json { "name": "Response time", "suffix": "ms" } ``` **Example response:** ```json { "id": "ckj1qyonq9sdk09819xdg4ehm", "name": "Response time", "active": true, "order": 1, "suffix": "ms", "lastDataAt": 1608561235000, "data": [ { "timestamp": 1608474985000, "value": 355 }, { "timestamp": 1608475225000, "value": 428.25 }, { "timestamp": 1608475465000, "value": 356 }, ... ] } ``` ## Delete a metric **Endpoint:** ```bash DELETE /v1/:page_id/metrics/:metric_id ``` ### Add a datapoint to a metric **Endpoint:** ```bash POST /v1/:page_id/metrics/:metric_id ``` **Request:** ```json { "timestamp": 1608672985000, "value": 356 } ``` **Response:** ```json { "id": "ckj395ptx9ha40995ckzv0pz2", "value": 356, "timestamp": 1608672985000 } ``` ## Add multiple datapoints to a metric **Endpoint:** ```bash POST /v1/:page_id/metrics/:metric_id/data ``` **Request:** ```json { "data": [ { "timestamp": 1608474985000, "value": 355 }, { "timestamp": 1608475225000, "value": 428.25 }, { "timestamp": 1608475465000, "value": 356 }, { "timestamp": 1608475705000, "value": 451.75 }, { "timestamp": 1608475945000, "value": 395 }, { "timestamp": 1608476185000, "value": 375.75 }, { "timestamp": 1608476425000, "value": 380.25 }, ... ] } ``` **Response** ```json [ { "timestamp": 1608474985000, "value": 355 }, { "timestamp": 1608475225000, "value": 428.25 }, { "timestamp": 1608475465000, "value": 356 }, { "timestamp": 1608475705000, "value": 451.75 }, { "timestamp": 1608475945000, "value": 395 }, { "timestamp": 1608476185000, "value": 375.75 }, { "timestamp": 1608476425000, "value": 380.25 } ] ``` ## Delete datapoints to a metric **Endpoint:** ```bash DELETE /v1/:page_id/metrics/:metric_id/data ``` **Response** ```json { "name": "Response time", "site": { "id": "ckj1qyonq9sdk09819xdg4ehm", "subdomain": "our" } } ``` --- # User Profile API Reference Source: https://instatus.com/help/api/user-profile ## Get your user profile **Endpoint:** ```bash GET /v1/user ``` **Example response:** ```json { "id": "hkf01fozve9e40a32aas5b0uc", "email": "ali@instatus.com", "name": "Ali", "slug": "ali", "avatar": "https://res.cloudinary.com/sup/image/upload/v1622398781/avatars/spzy0jvdmhges13oeooo.jpg" } ``` --- # Outages API Reference Source: https://instatus.com/help/api/outages ## Get all page outages **Endpoint:** ```bash GET /v1/:page_id/outages?page=:page&per_page=:per_page ``` - The default page number is 1. - The default per_page number is 50 and the maximum is 100 items per page. **Example response:** ```json [ { "id": "ckoutage1", "from": "2020-09-12T03:38:47.998Z", "to": "2020-09-12T04:38:47.998Z", "status": "PARTIALOUTAGE", "visibilityState": "PUBLISHED", "createdAt": "2020-09-12T03:38:47.998Z", "updatedAt": "2020-09-12T03:40:47.998Z", "component": { "id": "ckf01fvnxywz50a35nh1qzssm", "name": "Website" }, "incident": { "id": "ckf01m59ueaqb0a32wrljz1yd", "name": "Rocket is going down", "createdByType": "USER", "status": "INVESTIGATING" } } ] ``` ## Get an outage **Endpoint:** ```bash GET /v1/:page_id/outages/:outage_id ``` **Example response:** ```json { "id": "ckoutage1", "from": "2020-09-12T03:38:47.998Z", "to": "2020-09-12T04:38:47.998Z", "status": "PARTIALOUTAGE", "visibilityState": "PUBLISHED", "createdAt": "2020-09-12T03:38:47.998Z", "updatedAt": "2020-09-12T03:40:47.998Z", "component": { "id": "ckf01fvnxywz50a35nh1qzssm", "name": "Website" }, "incident": { "id": "ckf01m59ueaqb0a32wrljz1yd", "name": "Rocket is going down", "createdByType": "USER", "status": "INVESTIGATING" } } ``` ## Add an outage **Endpoint:** ```bash POST /v1/:page_id/outages ``` **Example request:** ```json { "componentId": "ckf01fvnxywz50a35nh1qzssm", "status": "PARTIALOUTAGE", "from": "2020-09-12 03:38:47.998", "to": "2020-09-12 04:38:47.998", "visibilityState": "PUBLISHED" } ``` **Example response:** ```json { "id": "ckoutage1", "from": "2020-09-12T03:38:47.998Z", "to": "2020-09-12T04:38:47.998Z", "status": "PARTIALOUTAGE", "visibilityState": "PUBLISHED", "createdAt": "2020-09-12T03:38:47.998Z", "updatedAt": "2020-09-12T03:40:47.998Z", "component": { "id": "ckf01fvnxywz50a35nh1qzssm", "name": "Website" }, "incident": null } ``` ## Update an outage **Endpoint:** ```bash PUT /v1/:page_id/outages/:outage_id ``` **Example request:** ```json { "status": "MAJOROUTAGE", "to": "2020-09-12 05:38:47.998" } ``` **Example response:** ```json { "id": "ckoutage1", "from": "2020-09-12T03:38:47.998Z", "to": "2020-09-12T05:38:47.998Z", "status": "MAJOROUTAGE", "visibilityState": "PUBLISHED", "createdAt": "2020-09-12T03:38:47.998Z", "updatedAt": "2020-09-12T04:40:47.998Z", "component": { "id": "ckf01fvnxywz50a35nh1qzssm", "name": "Website" }, "incident": null } ``` ## Delete an outage **Endpoint:** ```bash DELETE /v1/:page_id/outages/:outage_id ``` **Example response:** HTTP 204 No Content --- # Publicly available Data Source: https://instatus.com/help/api/public-data The easiest way to get the current status of your page is through ```bash your-status-page-url/summary.json ``` An example is [https://instat.us/summary.json](https://instat.us/summary.json) **Example response:** ```json { "page": { "name": "Instatus", "url": "https://instat.us", "status": "HASISSUES" }, "activeIncidents": [ { "id": "cl4a8n3070721qtmzvts760c4", "name": "We're facing an issue with our API", "started": "2022-06-11T18:55:50.000Z", "status": "INVESTIGATING", "impact": "MAJOROUTAGE", "url": "https://instat.us/cl4a8n3070721qtmzvts760c4", "updatedAt": "2022-06-11T19:30:00.000Z" } ], "activeMaintenances": [ { "id": "cl4a8nlv50918qtmzdlw60ivu", "name": "Database maintenance", "start": "2022-06-11T18:55:54.000Z", "status": "NOTSTARTEDYET", "duration": 60, "url": "https://instat.us/cl4a8nlv50918qtmzdlw60ivu", "updatedAt": "2022-06-11T19:30:00.000Z" } ], "generalNotices": [ { "id": "cl4a8o2bq1034qtmz5xkc0h7r", "name": "Our support hours are changing", "message": "From July 1, live chat is available 24/7.", "url": "https://instat.us/cl4a8o2bq1034qtmz5xkc0h7r", "createdAt": "2022-06-10T09:00:00.000Z", "updatedAt": "2022-06-10T09:00:00.000Z" } ] } ``` Possible page statuses: - `UP` - `HASISSUES` - `UNDERMAINTENANCE` Possible incident statuses: - `INVESTIGATING` - `IDENTIFIED` - `MONITORING` - `RESOLVED` Possible maintenance statuses: - `NOTSTARTEDYET` - `INPROGRESS` - `COMPLETED` --- # Private pages API Reference Source: https://instatus.com/help/api/private-pages ## Get your status page secure link If your account has member / owner access to a private status page with secure links enabled, you're allowed to get the secure link to your page. **Endpoint:** ```bash GET /v2/pages?page=:page&per_page=:per_page ``` - The default page number is 1. - The default per_page number is 50 and the maximum is 100 items per page. **Example response:** ```json [ { "id": "ckf01fonve9i40a32oas5b0uw", "secureLink": "https://instatus.business/auth?jwt=JWT_TOKEN" } ] ``` ## Regenerate your secure link If you want to regenerate your secure link, you can do it by calling this endpoint. **Endpoint:** ```bash POST /v1/:page_id/regenerate-secure-link ``` **Example response:** ```json { "id": "ckf01fonve9i40a32oas5b0uw", "secureLink": "https://instatus.business/auth?jwt=JWT_TOKEN" } ``` --- # Monitoring Integrations API Reference Source: https://instatus.com/help/api/monitoring-integrations You can programmatically create third party monitoring integrations using the REST API. ## Create integration **Endpoint:** ```bash POST /v3/integrations ``` **Body parameters** | Field | Type | Description | | ----- | ---- | ----------- | | `pageId` | `string` | ID of the status page | | `integrationType` | `string` | Integration type, e.g. `PINGDOM`, `NEWRELIC` | | `components` | `string[]` | IDs of components to attach | **Example request** ```json { "pageId": "page123", "integrationType": "PINGDOM", "components": ["component1", "component2"] } ``` **Example response** ```json { "integration": { "id": "int_abc", "monitoringTool": "PINGDOM" }, "message": "Integration created successfully." } ``` This endpoint accepts any monitoring tool listed in our [`MonitoringTool` enum](https://github.com/instatushq/instatus/blob/master/packages/backend/prisma/schema.prisma). ## Update integration **Endpoint:** ```bash PUT /v3/integrations/:integration_id ``` Send any of the fields from the create endpoint, or provide new template data to customize incident creation and resolution. **Example request** ```json { "label": "Pingdom Primary", "createTemplate": { "name": "New incident" }, "resolveTemplate": { "name": "Incident resolved" } } ``` **Example response** ```json { "integration": { "id": "int_abc", "label": "Pingdom Primary" } } ``` ## Delete integration **Endpoint:** ```bash DELETE /v3/integrations/:integration_id ``` **Example response** ```json {} ``` --- # Audience Groups API Reference Source: https://instatus.com/help/api/audience-groups ## Get all your status page audience groups **Endpoint:** ```bash GET /v1/:page_id/audience-groups?page=:page&per_page=:per_page ``` - The default page number is 1. - The default per_page number is 50 and the maximum is 100 items per page. **Example response:** ```json [ { "id": "clhaasg3d017058vlp22h9k6w", "siteId": "clcqs5tob3338jrvlf76mhd7t", "name": "Audience Group 1", "teammates": [ { "id": "clhaasg3e017358vlnedqbt7x", "audienceGroupId": "clhaasg3d017058vlp22h9k6w", "teammateId": "clc38kure253016ivlpsuq3vx1", "teammate": { "id": "clc38kure253016ivlpsuq3vx1", "user": { "id": "cl8slhcwu6084mfndq6eh9tq7", "name": null, "email": "buzz@lightyear.com", "avatar": null } } } ], "components": [ { "id": "clhaasg3e017158vlj8lakqhz", "audienceGroupId": "clhaasg3d017058vlp22h9k6w", "componentId": "clcqs5usl3350jrvllb1l2sge", "component": { "id": "clcqs5usl3350jrvllb1l2sge", "name": "Website", "nameTranslationId": null, "description": "", "descriptionTranslationId": null, "status": "OPERATIONAL", "order": 1, "showUptime": true, "createdAt": "2023-01-10T22:04:17.061Z", "updatedAt": "2023-01-10T22:04:17.062Z", "archivedAt": null, "siteId": "clcqs5tob3338jrvlf76mhd7t", "uniqueEmail": "testing-amr-as-owner-private-website-lcqh533jn@automation.instatus.com", "groupId": null, "nameHtml": null, "nameHtmlTranslationId": null, "descriptionHtml": null, "descriptionHtmlTranslationId": null, "isThirdParty": false, "thirdPartyStatus": null, "thirdPartyComponentId": null, "thirdPartyComponentServiceId": null, "importedFrom": null, "startDate": null, "nameTranslation": null, "descriptionTranslation": null, "group": null } } ] }, { "id": "clhaaulxw021758vl1hejod67", "siteId": "clcqs5tob3338jrvlf76mhd7t", "name": "Audience Group 2", "teammates": [ { "id": "clhaaulxw021958vlzllc63j4", "audienceGroupId": "clhaaulxw021758vl1hejod67", "teammateId": "clc38kure253016ivlpsuq3vx1", "teammate": { "id": "clc38kure253016ivlpsuq3vx1", "user": { "id": "cl8slhcwu6084mfndq6eh9tq7", "name": null, "email": "buzz@lightyear.com", "avatar": null } } } ], "components": [ { "id": "clhaaulxw021858vlmtm1rkh4", "audienceGroupId": "clhaaulxw021758vl1hejod67", "componentId": "clcqs5vq73360jrvlopq778mo", "component": { "id": "clcqs5vq73360jrvlopq778mo", "name": "App", "nameTranslationId": null, "description": "", "descriptionTranslationId": null, "status": "OPERATIONAL", "order": 2, "showUptime": true, "createdAt": "2023-01-10T22:04:18.271Z", "updatedAt": "2023-01-10T22:04:18.272Z", "archivedAt": null, "siteId": "clcqs5tob3338jrvlf76mhd7t", "uniqueEmail": "testing-amr-as-owner-private-app-jqzpp2xqn@automation.instatus.com", "groupId": null, "nameHtml": null, "nameHtmlTranslationId": null, "descriptionHtml": null, "descriptionHtmlTranslationId": null, "isThirdParty": false, "thirdPartyStatus": null, "thirdPartyComponentId": null, "thirdPartyComponentServiceId": null, "importedFrom": null, "startDate": null, "nameTranslation": null, "descriptionTranslation": null, "group": null } } ] } ] ``` ## Get an audience group **Endpoint:** ```bash GET /v1/:page_id/audience-groups/:audience_group_id ``` **Example response** ```json { "id": "clhaasg3d017058vlp22h9k6w", "siteId": "clcqs5tob3338jrvlf76mhd7t", "name": "Audience Group 1", "teammates": [ { "id": "clhaasg3e017358vlnedqbt7x", "audienceGroupId": "clhaasg3d017058vlp22h9k6w", "teammateId": "clc38kure253016ivlpsuq3vx1", "teammate": { "id": "clc38kure253016ivlpsuq3vx1", "user": { "id": "cl8slhcwu6084mfndq6eh9tq7", "name": null, "email": "buzz@lightyear.com", "avatar": null } } } ], "components": [ { "id": "clhaasg3e017158vlj8lakqhz", "audienceGroupId": "clhaasg3d017058vlp22h9k6w", "componentId": "clcqs5usl3350jrvllb1l2sge", "component": { "id": "clcqs5usl3350jrvllb1l2sge", "name": "Website", "nameTranslationId": null, "description": "", "descriptionTranslationId": null, "status": "OPERATIONAL", "order": 1, "showUptime": true, "createdAt": "2023-01-10T22:04:17.061Z", "updatedAt": "2023-01-10T22:04:17.062Z", "archivedAt": null, "siteId": "clcqs5tob3338jrvlf76mhd7t", "uniqueEmail": "testing-amr-as-owner-private-website-lcqh533jn@automation.instatus.com", "groupId": null, "nameHtml": null, "nameHtmlTranslationId": null, "descriptionHtml": null, "descriptionHtmlTranslationId": null, "isThirdParty": false, "thirdPartyStatus": null, "thirdPartyComponentId": null, "thirdPartyComponentServiceId": null, "importedFrom": null, "startDate": null, "nameTranslation": null, "descriptionTranslation": null, "group": null } } ] } ``` ## Create an audience group **Endpoint:** ```bash POST /v1/:page_id/audience_groups ``` **Example request:** ```json { "name": "Audience Group 1", "components": ["clcqs5usl3350jrvllb1l2sge"], "teammates": ["clc38kure253016ivlpsuq3vx1"] } ``` **Example response:** ```json { "id": "clhaasg3d017058vlp22h9k6w", "siteId": "clcqs5tob3338jrvlf76mhd7t", "name": "Audience Group 1", "site": { "id": "clcqs5tob3338jrvlf76mhd7t" } } ``` ## Update an audience group **Endpoint:** ```bash PUT /v1/:page_id/audience_groups/:audience_group_id ``` **Example request:** ```json { "components": ["clcqs5usl3350jrvllb1l2sge", "clcqs5vq73360jrvlopq778mo"] } ``` **Example response:** ```json { "id": "clhaasg3d017058vlp22h9k6w", "siteId": "clcqs5tob3338jrvlf76mhd7t", "name": "Audience Group 1", "site": { "id": "clcqs5tob3338jrvlf76mhd7t" } } ``` ## Delete an audience group **Endpoint:** ```bash DELETE /v1/:page_id/audience-groups/:audience_group_id ``` ```json { "id": "clhaaulxw021758vl1hejod67", "siteId": "clcqs5tob3338jrvlf76mhd7t", "name": "Audience Group 2", "site": { "id": "clcqs5tob3338jrvlf76mhd7t" } } ``` --- # Routing Rules API Reference Source: https://instatus.com/help/api/routing-rules ## Possible Values for fields **Action Type** | Value | Description | | ----------------------------- | ------------------------------------ | | `NOTIFY_TEAM` | Notify a specific team | | `NOTIFY_TEAM_MEMBER` | Notify a specific team member | | `NOTIFY_CURRENT_ON_CALL_USER` | Notify the current on-call user | | `NOTIFY_NEXT_ON_CALL_USER` | Notify the next on-call user | | `NOTIFY_ALL_ON_CALL_MEMBERS` | Notify all members currently on-call | **Assertion Type** | Value | Description | | --------------------- | ------------------------------------------- | | `IMPACT` | Asserts the impact of an event | | `TITLE` | Asserts the title of an event | | `DESCRIPTION` | Asserts the description of an event | | `AFFECTED_COMPONENTS` | Asserts the affected components of an event | **Comparison Types** | Value | Description | | ------------------------ | ---------------------------------------------------- | | `EQUALS` | Checks if the value is equal | | `NOT_EQUALS` | Checks if the value is not equal | | `IS_EMPTY` | Checks if the value is empty | | `NOT_EMPTY` | Checks if the value is not empty | | `GREATER_THAN` | Checks if the value is greater than | | `GREATER_THAN_OR_EQUALS` | Checks if the value is greater than or equal | | `LESS_THAN` | Checks if the value is less than | | `LESS_THAN_OR_EQUALS` | Checks if the value is less than or equal | | `CONTAINS` | Checks if the value contains a specified substring | | `NOT_CONTAINS` | Checks if the value does not contain a substring | | `HAS_KEY` | Checks if an object has a specific key | | `NOT_HAS_KEY` | Checks if an object does not have a specific key | | `HAS_VALUE` | Checks if an object has a specific value | | `NOT_HAS_VALUE` | Checks if an object does not have a specific value | | `IS_NULL` | Checks if the value is null | | `NOT_NULL` | Checks if the value is not null | | `STARTS_WITH` | Checks if the value starts with a specific substring | | `ENDS_WITH` | Checks if the value ends with a specific substring | ## Get Routing Rules **Endpoint:** ```bash GET /:page_id/routing-rules ``` **Example request** ```bash GET /1/routing-rules ``` **Example response** ```json { "routingRules": [ { "id": "1", "siteId": "pageId", "assertions": [ { "id": "1", "routingRuleId": "1", "type": "TITLE", "comparison": "CONTAINS", "value": "value1" }, { "id": "2", "routingRuleId": "1", "type": "TITLE", "comparison": "CONTAINS", "value": "value2" } ], "actions": [ { "id": "1", "routingRuleId": "1", "type": "NOTIFY_TEAM_MEMBER", "targetId": "value1" }, { "id": "2", "routingRuleId": "1", "type": "NOTIFY_TEAM_MEMBER", "targetId": "member@platform.com" } ], "createdAt": "2021-09-29T00:00:00.000Z", "updatedAt": "2021-09-29T00:00:00.000Z", "order": 1 } ] } ``` ## Create Routing Rule **Endpoint:** ```bash POST /routing-rules ``` Keep in mind in actions `targetId` can be a team member email or a team id depending on the type of the action. **Example request** ```json { "routingRule": { "assertions": [ { "id": "1", "routingRuleId": "1", "type": "TITLE", "comparison": "CONTAINS", "value": "value1" }, { "id": "2", "routingRuleId": "1", "type": "TITLE", "comparison": "CONTAINS", "value": "value2" } ], "actions": [ { "id": "1", "routingRuleId": "1", "type": "NOTIFY_TEAM_MEMBER", "targetId": "member2@platform.com" }, { "id": "2", "routingRuleId": "1", "type": "NOTIFY_TEAM_MEMBER", "targetId": "member@platform.com" } ], "order": 1, "siteId": "site-id-1" }, "message": "Routing rule updated successfully" } ``` **Example response** ```json { "routingRule": { "id": "routing-rule-id-1", "order": 1, "siteId": "site123", "updatedAt": "2021-09-01T12:00:00Z", "createdAt": "2021-09-01T12:00:00Z" }, "message": "Routing rule created successfully." } ``` ## Update Routing Rule **Endpoint:** ```bash PUT /routing-rules/:id ``` **Example request** ```bash PUT /routing-rules/routing-rule-id-1 ``` ```json { "routingRule": { "id": "routing-rule-id-1", "assertions": [ { "id": "assertion-id-1", "routingRuleId": "routing-rule-id-1", "comparison": "CONTAINS", "value": "Issue With X", "type": "TITLE" } ], "order": 1, "siteId": "site-id-1", "updatedAt": "2021-09-01T12:00:00Z", "createdAt": "2021-05-01T12:00:00Z" }, "message": "Routing rule updated successfully" } ``` **Example response** ```json { "routingRule": { "id": "routing-rule-id-1", "assertions": [ { "id": "assertion-id-1", "routingRuleId": "routing-rule-id-1", "comparison": "CONTAINS", "value": "Issue With X", "type": "TITLE" } ], "order": 1, "siteId": "site-id-1", "updatedAt": "2024-08-09T12:00:00Z", "createdAt": "2021-05-01T12:00:00Z" }, "message": "Routing rule updated successfully" } ``` ## Delete Routing Rule **Endpoint:** ```bash DELETE /routing-rules/:id ``` **Example request** ```bash DELETE /routing-rules/routing-rule-id-1 ``` **Example response** ```json { "message": "Routing rule deleted successfully." } ``` --- # Escalation Policies API Reference Source: https://instatus.com/help/api/escalation-policies ## Possible Values for fields **Escalation rule conditions** | Value | Description | | ------------------ | ---------------------------------------------------------- | | `NOT_ACKNOWLEDGED` | The condition where an incident has not been acknowledged. | **Escalation action type** | Value | Description | | ----------------------------- | ------------------------------------- | | `NOTIFY_TEAM` | Notify a specific team. | | `NOTIFY_TEAM_MEMBER` | Notify a specific team member. | | `NOTIFY_CURRENT_ON_CALL_USER` | Notify the current on-call user. | | `NOTIFY_NEXT_ON_CALL_USER` | Notify the next on-call user. | | `NOTIFY_ALL_ON_CALL_MEMBERS` | Notify all members currently on-call. | ## Get Escalation Policies **Endpoint:** ```bash GET /:page_id/escalation-policies ``` **Example request** ```bash GET /1/escalation-policies ``` **Example response** ```json { "escalationPolicies": [ { "id": "escalationPolicy123", "siteId": "site123", "name": "Primary Escalation Policy", "description": "This is the primary escalation policy for site123.", "rules": [ { "id": "rule123", "escalationPolicyId": "escalationPolicy123", "order": 1, "condition": "NOT_ACKNOWLEDGED", "delayInMins": 5, "actions": [ { "id": "action123", "ruleId": "rule123", "type": "NOTIFY_TEAM", "targetId": "team123", "createdAt": "2023-08-08T12:00:00Z", "updatedAt": "2023-08-08T12:00:00Z" }, { "id": "action124", "ruleId": "rule123", "type": "NOTIFY_CURRENT_ON_CALL_USER", "targetId": null, "createdAt": "2023-08-08T12:01:00Z", "updatedAt": "2023-08-08T12:01:00Z" } ] }, { "id": "rule456", "escalationPolicyId": "escalationPolicy123", "order": 2, "condition": "NOT_ACKNOWLEDGED", "delayInMins": 10, "actions": [ { "id": "action125", "ruleId": "rule456", "type": "NOTIFY_NEXT_ON_CALL_USER", "targetId": null, "createdAt": "2023-08-08T12:10:00Z", "updatedAt": "2023-08-08T12:10:00Z" }, { "id": "action126", "ruleId": "rule456", "type": "NOTIFY_TEAM_MEMBER", "targetId": "member456", "createdAt": "2023-08-08T12:12:00Z", "updatedAt": "2023-08-08T12:12:00Z" } ] } ], "repeat": true, "repeatCount": 3, "repeatDelay": 15, "revertAcknowledgement": true, "autoResolveIncidentsAfterRepeat": false, "createdAt": "2023-08-08T12:00:00Z", "updatedAt": "2023-08-08T12:05:00Z" }, { "id": "escalationPolicy456", "siteId": "site123", "name": "Secondary Escalation Policy", "description": "This is the secondary escalation policy for site123.", "rules": [], "repeat": false, "repeatCount": 0, "repeatDelay": 0, "revertAcknowledgement": false, "autoResolveIncidentsAfterRepeat": false, "createdAt": "2023-08-08T12:10:00Z", "updatedAt": "2023-08-08T12:10:00Z" } ] } ``` ## Create Escalation Policy **Endpoint:** ```bash POST /escalation-policies ``` **Example request** ```json { "pageId": "12345", "name": "Critical Alerts Policy", "description": "Policy for handling critical alerts", "rules": [ { "delayInMins": 5, "condition": "NOT_ACKNOWLEDGED", "actions": [ { "targetId": "target-1", "type": "NOTIFY_TEAM_MEMBER" }, { "targetId": "target-2", "type": "NOTIFY_TEAM_MEMBER" } ] } ], "repeat": true, "repeatDelay": 10, "repeatCount": 3, "autoResolveIncidentsAfterRepeat": false, "revertAcknowledgement": true } ``` **Example response** ```json { "escalationPolicy": { "id": "new-escalation-policy-id", "pageId": "12345", "name": "Critical Alerts Policy", "description": "Policy for handling critical alerts", "rules": [ { "delayInMins": 5, "condition": "NOT_ACKNOWLEDGED", "actions": [ { "targetId": "target-1", "type": "NOTIFY_TEAM_MEMBER" }, { "targetId": "target-2", "type": "NOTIFY_TEAM_MEMBER" } ] } ], "repeat": true, "repeatDelay": 10, "repeatCount": 3, "autoResolveIncidentsAfterRepeat": false, "revertAcknowledgement": true }, "message": "Routing rule created successfully." } ``` ## Delete Escalation Policy **Endpoint:** ```bash DELETE /escalation-policies/:id ``` **Example request** ```bash DELETE /escalation-policies/escalationPolicy123 ``` **Example response** ```json { "message": "Escalation policy deleted successfully." } ``` ## Update Escalation Policy **Endpoint:** ```bash PUT /escalation-policies/:id ``` **Example request** ```json { "pageId": "12345", "name": "Updated Critical Alerts Policy", "description": "Updated Policy for handling critical alerts", "rules": [ { "delayInMins": 10, "condition": "NOT_ACKNOWLEDGED", "actions": [ { "targetId": "target-1", "type": "NOTIFY_TEAM_MEMBER" }, { "targetId": "target-2", "type": "NOTIFY_TEAM_MEMBER" } ] } ], "repeat": true, "repeatDelay": 10, "repeatCount": 3, "autoResolveIncidentsAfterRepeat": false, "revertAcknowledgement": true } ``` **Example response** ```json { "escalationPolicy": { "pageId": "12345", "name": "Updated Critical Alerts Policy", "description": "Updated Policy for handling critical alerts", "rules": [ { "delayInMins": 10, "condition": "NOT_ACKNOWLEDGED", "actions": [ { "targetId": "target-1", "type": "NOTIFY_TEAM_MEMBER" }, { "targetId": "target-2", "type": "NOTIFY_TEAM_MEMBER" } ] } ], "repeat": true, "repeatDelay": 10, "repeatCount": 3, "autoResolveIncidentsAfterRepeat": false, "revertAcknowledgement": true }, "message": "Routing rule updated successfully." } ``` --- # On-call Schedules API Reference Source: https://instatus.com/help/api/on-call-schedules ## Possible Values for fields **Restriction Type** | Value | Description | | --------------- | -------------------------------------------- | | `NONE` | No restriction | | `TIMEOFDAY` | Restriction based on a specific time of day | | `TIMEINTERVALS` | Restriction based on specific time intervals | **Rotation Type** | Value | Description | | -------- | ---------------------------------- | | `DAILY` | Rotation occurs daily | | `WEEKLY` | Rotation occurs weekly | | `CUSTOM` | Rotation follows a custom schedule | **Days Of Week** | Value | Description | | ----------- | ----------- | | `SATURDAY` | Saturday | | `SUNDAY` | Sunday | | `MONDAY` | Monday | | `TUESDAY` | Tuesday | | `WEDNESDAY` | Wednesday | | `THURSDAY` | Thursday | | `FRIDAY` | Friday | ## Get On-call Schedule Members **Endpoint:** ```bash GET /on-call-schedules/:id/members ``` **Example request** ```bash GET /on-call-schedules/clzmgn2ze40301poblv9e1pq5/members ``` **Example response** ```json { "currentMembers": [ { "id": "clh8nmaan72592bfokqjqd95s1", "name": null, "email": "member1@email.com", "avatar": "https://example.com/avatar.jpg" } ], "nextMembers": [ { "id": "clzajmm98115510h5olxn5i7ljr", "name": null, "email": "member2@email.com", "avatar": null } ], "allMembers": [ { "id": "clh8nmaan72592bfokqjqd95s1", "name": null, "email": "member1@email.com", "avatar": "https://example.com/avatar.jpg" }, { "id": "clzajmm98115510h5olxn5i7ljr", "name": null, "email": "member2@email.com", "avatar": null } ] } ``` ## Create On-call Schedule **Endpoint:** ```bash POST /on-call-schedules ``` **Example request** ```json { "name": "Primary On-call Schedule", "description": "This schedule is for the primary on-call team.", "onCallShifts": [ { "name": "Primary", "members": [ { "teamMemberId": "member123", "color": "#FF5733" }, { "teamMemberId": "member456", "color": "#33C4FF" } ], "rotationType": "WEEKLY", "customRotationTypeValue": null, "customRotationTypeUnit": null, "startDate": "2023-08-08T08:00:00Z", "endDate": "2024-08-21T08:42:00.000Z", "restrictionType": "TIMEINTERVALS", "timeOfDayRestrictionStartTime": null, "timeOfDayRestrictionEndTime": null, "timeIntervals": [ { "startDay": "SATURDAY", "startDayTime": "1970-01-01T21:00:00.000Z", "endDay": "SUNDAY", "endDayTime": "1970-01-01T03:00:00.000Z" } ] } ] } ``` **Example response** ```json { "id": "clzmgn2ze40301poblv9e1pq5", "name": "Primary On-call Schedule", "description": "This schedule is for the primary on-call team.", "status": "ACTIVE", "onCallShifts": [ { "id": "clzmgn2zt40361pobj78giwf7", "name": "Primary", "order": 1, "members": [ { "id": "clzmgn2zt40401pobjzq0pwjd", "order": 3, "color": "#0470a6", "teamMember": { "id": "member123", "user": { "id": "clh8nmaan72592bfokqjqd95s1", "name": null, "email": "member12@email.com", "avatar": null } } }, { "id": "clzmgn2zt40381pob690bwaxx", "order": 1, "color": "#195397", "teamMember": { "id": "member456", "user": { "id": "clzajmm98115510h5olxn5i7ljr", "name": null, "email": "member45@email.com", "avatar": null } } } ], "rotationType": "WEEKLY", "customRotationTypeValue": null, "customRotationTypeUnit": null, "startDate": "2024-08-09T08:42:34.557Z", "endDate": "2024-08-21T08:42:00.000Z", "restrictionType": "TIMEINTERVALS", "timeOfDayRestrictionStartTime": null, "timeOfDayRestrictionEndTime": null, "timeIntervals": [ { "id": "clzmjq8bn313521ioblyzg7hic", "startDay": "SATURDAY", "startDayTime": "1970-01-01T21:00:00.000Z", "endDay": "SUNDAY", "endDayTime": "1970-01-01T03:00:00.000Z" } ] } ] } ``` ## Update On-call Schedule **Endpoint:** ```bash PUT /on-call-schedules/:id ``` **Example request** ```bash PUT /on-call-schedules/clzmgn2ze40301poblv9e1pq5 ``` ```json { "id": "clzmgn2ze40301poblv9e1pq5", "name": "Name Update", "description": "This schedule is for the primary on-call team.", "status": "ACTIVE", "onCallShifts": [ { "id": "clzmgn2zt40361pobj78giwf7", "name": "Primary", "order": 1, "members": [ { "id": "clzmgn2zt40401pobjzq0pwjd", "order": 3, "color": "#0470a6", "teamMember": { "id": "member123", "user": { "id": "clh8nmaan72592bfokqjqd95s1", "name": null, "email": "member12@email.com", "avatar": null } } }, { "id": "clzmgn2zt40381pob690bwaxx", "order": 1, "color": "#195397", "teamMember": { "id": "member456", "user": { "id": "clzajmm98115510h5olxn5i7ljr", "name": null, "email": "member45@email.com", "avatar": null } } } ], "rotationType": "WEEKLY", "customRotationTypeValue": null, "customRotationTypeUnit": null, "startDate": "2024-08-09T08:42:34.557Z", "endDate": "2024-08-21T08:42:00.000Z", "restrictionType": "TIMEINTERVALS", "timeOfDayRestrictionStartTime": null, "timeOfDayRestrictionEndTime": null, "timeIntervals": [ { "id": "clzmjq8bn313521ioblyzg7hic", "startDay": "SATURDAY", "startDayTime": "1970-01-01T21:00:00.000Z", "endDay": "SUNDAY", "endDayTime": "1970-01-01T03:00:00.000Z" } ] } ] } ``` **Example response** ```json { "id": "clzmgn2ze40301poblv9e1pq5", "name": "Name Update", "description": "This schedule is for the primary on-call team.", "status": "ACTIVE", "onCallShifts": [ { "id": "clzmgn2zt40361pobj78giwf7", "name": "Primary", "order": 1, "members": [ { "id": "clzmgn2zt40401pobjzq0pwjd", "order": 3, "color": "#0470a6", "teamMember": { "id": "member123", "user": { "id": "clh8nmaan72592bfokqjqd95s1", "name": null, "email": "member12@email.com", "avatar": null } } }, { "id": "clzmgn2zt40381pob690bwaxx", "order": 1, "color": "#195397", "teamMember": { "id": "member456", "user": { "id": "clzajmm98115510h5olxn5i7ljr", "name": null, "email": "member45@email.com", "avatar": null } } } ], "rotationType": "WEEKLY", "customRotationTypeValue": null, "customRotationTypeUnit": null, "startDate": "2024-08-09T08:42:34.557Z", "endDate": "2024-08-21T08:42:00.000Z", "restrictionType": "TIMEINTERVALS", "timeOfDayRestrictionStartTime": null, "timeOfDayRestrictionEndTime": null, "timeIntervals": [ { "id": "clzmjq8bn313521ioblyzg7hic", "startDay": "SATURDAY", "startDayTime": "1970-01-01T21:00:00.000Z", "endDay": "SUNDAY", "endDayTime": "1970-01-01T03:00:00.000Z" } ] } ] } ``` ## Delete On-call Schedule **Endpoint:** ```bash DELETE /on-call-schedules/:id ``` **Example request** ```bash DELETE /on-call-schedules/schedule-id-1 ``` **Example response** ``` 204 No Content ```