Creates a new third-party integration in your UptimeRobot account. Supports various integration types including Slack, Discord, PagerDuty, webhooks, and more. The integration will be active immediately after creation.
Integration configuration object (see IntegrationPayload interface for all options)
Promise that resolves to the created Integration object with assigned ID
// Create a Slack integration
const slackIntegration = await service.integrations.create({
name: 'Team Alerts',
type: 'slack',
url: 'https://hooks.slack.com/services/...',
isActive: true
});
https://uptimerobot.com/api/v3/#post-/integrations Official API Documentation
Removes an integration completely from your UptimeRobot account. This action cannot be undone. Any monitors using this integration will no longer send notifications through it.
Integration ID (number or string)
Promise that resolves to true when deletion is successful
// Delete an integration
const success = await service.integrations.delete((12345);
if (success) {
console.log('Integration deleted successfully');
}
https://uptimerobot.com/api/v3/#delete-/integrations/-id- Official API Documentation
Fetches complete configuration and status information for an individual integration by ID. Returns all integration properties including type, URL, credentials, and current status.
Integration ID (number or string)
Promise that resolves to the Integration object
// Get integration details
const integration = await service.integrations.get(12345);
console.log(`Integration "${integration.name}" is ${integration.isActive ? 'active' : 'inactive'}`);
https://uptimerobot.com/api/v3/#get-/integrations/-id- Official API Documentation
Retrieves a list of third-party integrations (Slack, Discord, PagerDuty, etc.) configured in your UptimeRobot account. Results are paginated using cursor-based pagination.
Optionalfilter: { cursor?: number }Query string parameters passed to the API
Optionalcursor?: numberPagination cursor for next page
OptionalreturnFullResponse: falsePromise that resolves to an array of Integration objects
// Get all integrations
const integrations = await service.integrations.list();
// Paginate through results
const page1 = await service.integrations.list();
const page2 = await service.integrations.list({ cursor: 123456789 });
// Get full response for pagination
const response = await service.integrations.list({}, true);
const nextUrl = new URL(response.nextLink);
const nextCursorVal = nextUrl.searchParams.get('cursor');
console.log(nextCursorVal);
https://uptimerobot.com/api/v3/#get-/integrations Official API Documentation
Retrieves a list of third-party integrations (Slack, Discord, PagerDuty, etc.) configured in your UptimeRobot account. Results are paginated using cursor-based pagination.
Query string parameters passed to the API
Optionalcursor?: numberPagination cursor for next page
Promise that resolves to an array of Integration objects
// Get all integrations
const integrations = await service.integrations.list();
// Paginate through results
const page1 = await service.integrations.list();
const page2 = await service.integrations.list({ cursor: 123456789 });
// Get full response for pagination
const response = await service.integrations.list({}, true);
const nextUrl = new URL(response.nextLink);
const nextCursorVal = nextUrl.searchParams.get('cursor');
console.log(nextCursorVal);
https://uptimerobot.com/api/v3/#get-/integrations Official API Documentation
Modifies the settings of an existing integration. Only provided fields will be updated; omitted fields retain their current values. Changes take effect immediately for future notifications.
Integration ID (number or string)
Integration configuration updates (partial IntegrationPayload object)
Promise that resolves to the updated Integration object
// Update integration name and status
const updatedIntegration = await service.integrations.update((12345, {
name: 'Updated Team Alerts',
isActive: false
});
// Update webhook URL
const webhookUpdate = await service.integrations.update((12345, {
url: 'https://new-webhook-url.com/endpoint'
});
https://uptimerobot.com/api/v3/#patch-/integrations/-id- Official API Documentation
Creates a new Integrations client.
The request client to use.
Client for the Integrations API.
See
https://uptimerobot.com/api/v3 Official API Documentation
Since
1.0.0