Creates a new public status page in your UptimeRobot account. The status page will be live immediately after creation.
PSP configuration object (see PSPPayload interface for all options)
Promise that resolves to the created PSP object with assigned ID
// Create a password-protected status page with two monitors
const httpMonitor = await service.psps.create({
friendlyName: 'My PSP',
monitorIds: ['id-1', 'id-2'],
logo: './images/logo.png',
password: 'securepassword'
});
https://uptimerobot.com/api/v3/#post-/psps Official API Documentation
Removes a public status page completely from your UptimeRobot account. This action cannot be undone. The status page URL will become inaccessible immediately.
PSP ID (number or string)
Promise that resolves to true when deletion is successful
// Delete a status page
const success = await service.psps.delete(12345);
if (success) {
console.log('Status page deleted successfully');
}
https://uptimerobot.com/api/v3/#delete-/psps/-id- Official API Documentation
Fetches complete configuration and current information for an individual public status page by ID. Returns all PSP properties including friendly name, monitors, customization settings, and access details.
PSP ID (number or string)
Promise that resolves to the PSP object
// Get PSP details
const psp = await service.psps.get(12345);
console.log(`Status page "${psp.friendlyName}" has ${psp.monitorIds.length} monitors`);
https://uptimerobot.com/api/v3/#get-/psps/-id- Official API Documentation
Retrieves a list of public status pages (PSPs) from your UptimeRobot account. Results are paginated using cursor-based pagination.
Optionaloptions: { cursor?: number }Query string parameters passed to the API
Optionalcursor?: numberPagination cursor for next page
OptionalreturnFullResponse: falseReturns PSP[] by default, or URFullResponse<PSP> if returnFullResponse is true.
// Get status pages
const psps = await service.psps.list();
// Paginate through results
const page1 = await service.psps.list();
const page2 = await service.psps.list({ cursor: 123456789 });
// Get full response for pagination
const response = await service.psps.list({}, true);
const nextUrl = new URL(response.nextLink);
const nextCursorVal = nextUrl.searchParams.get('cursor');
console.log(nextCursorVal);
https://uptimerobot.com/api/v3/#get-/psps Official API Documentation
Retrieves a list of public status pages (PSPs) from your UptimeRobot account. Results are paginated using cursor-based pagination.
Query string parameters passed to the API
Optionalcursor?: numberPagination cursor for next page
Returns PSP[] by default, or URFullResponse<PSP> if returnFullResponse is true.
// Get status pages
const psps = await service.psps.list();
// Paginate through results
const page1 = await service.psps.list();
const page2 = await service.psps.list({ cursor: 123456789 });
// Get full response for pagination
const response = await service.psps.list({}, true);
const nextUrl = new URL(response.nextLink);
const nextCursorVal = nextUrl.searchParams.get('cursor');
console.log(nextCursorVal);
https://uptimerobot.com/api/v3/#get-/psps Official API Documentation
Modifies the settings of an existing public status page. Only provided fields will be updated; omitted fields retain their current values. Changes take effect immediately on the live status page.
PSP ID (number or string)
PSP configuration updates (partial PSPPayload object)
Promise that resolves to the updated PSP object
// Update status page name and add monitors
const updatedPSP = await service.psps.update(12345, {
friendlyName: 'Updated Status Page',
monitorIds: ['monitor1', 'monitor2', 'monitor3']
});
// Update with new logo image
const pspWithLogo = await service.psps.update(12345, {
logo: './images/new-logo.png'
});
https://uptimerobot.com/api/v3/#post-/psps Official API Documentation
Client for the Public Status Pages (PSPs) API.
Announcements for a status page are on PSPs.announcements.
See
https://uptimerobot.com/api/v3 Official API Documentation
Since
1.0.0