Fetches a list of alert contacts (email, SMS, webhook, etc.) configured in the user's account. These contacts can be used for monitor notifications and alerts.
Promise that resolves to an array of AlertContact objects
// Get all alert contacts
const contacts = await service.users.getAlertContacts();
contacts.forEach(contact => {
console.log(`${contact.type}: ${contact.value} (${contact.status})`);
});
https://uptimerobot.com/api/v3/#get-/user/alert-contacts Official API Documentation
Fetches detailed information about all alert contacts including their usage statistics, associated monitors, and configuration details. Provides more comprehensive data than getAlertContacts().
Promise that resolves to an array of UserAlertsResponse objects with extended details
// Get detailed alert contact information
const detailedContacts = await service.users.getAllAlertContacts();
detailedContacts.forEach(contact => {
console.log(`${contact.type}: ${contact.value}`);
console.log(`Associated monitors: ${contact.monitorCount}`);
});
https://uptimerobot.com/api/v3/#get-/user/all-alert-contacts Official API Documentation
Fetches detailed information about the authenticated user's UptimeRobot account, including email, plan details, monitor limits, and account status.
Promise that resolves to the User object containing account details
// Get current user info
const user = await service.users.me();
console.log(`Account: ${user.email} (${user.planType})`);
console.log(`Monitor limit: ${user.monitorLimit}`);
https://uptimerobot.com/api/v3/#get-/user/me Official API Documentation
Client for the Users API.
See
https://uptimerobot.com/api/v3 Official API Documentation
Since
1.0.0