Get Status Page
Fetches detailed information about a specific status page using its unique identifier. This endpoint is typically used to display or manage individual status pages in administrative interfaces or integrations. The returned data includes the page's name, subdomain, optional custom domain, visibility settings, and other details such as creation timestamps. It enables clients to retrieve a full snapshot of a status page’s configuration and presentation. This is useful for service status monitoring tools, dashboards, or auditing systems that need to access or verify the configuration of a single status page at any given time.

Authorization: Bearer YOUR_TOKEN


Expected Behavior:


  • On success, the system will return the statuspage details.
  • If the request is invalid, the system will return a 400 error message.
  • If authorization fails, a 401 error message will be returned.
  • If the statuspage is not found, a 404 error will be returned.
Path Parameters
  • id string
    The unique ID of the statuspage to be retrieved. Example: 'c03b02ec-244f-4d2c-8f68-3910071ed5c8'
JavaScript
Response codes
const axios = require('axios');

const url = "https://statuspage-query.api.pinghome.io/v1/statuspage/c03b02ec-244f-4d2c-8f68-3910071ed5c8";
axios.get(url, {
  headers: {
    'Authorization': 'Bearer YOUR_TOKEN',
    'Content-Type': 'application/json'
  }
})
.then(response => {
  console.log(response.data);
})
.catch(error => {
  console.error(error);
});
ResponseThis section is used to view the possible HTTP response codes returned by the API. These codes indicate the status of a request, such as 201 (Created), 401 (Unauthorized), 409 (Conflict), or 422 (Unprocessable Entity).