Integrations API (v1)
Legacy V1 endpoints for integrations.
Legacy V1 endpoints for integrations. V1 is still available, but new integrations should use the V2 API. V1 passes the API key in the query string (GET) or the JSON body (POST).
| Base URL | https://api.alertops.com/api |
| Authentication | APIKey query parameter (GET) or body field (POST) |
| Endpoints | 2 |
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /api/integration | List Integrations |
| POST | /api/integration/CreateMaintenanceWindows | Create Maintenance Windows |
List Integrations
GET /api/integration
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
APIKey | string | Required | Your V1 API key. |
Responses
200 OK
{
"1800": "AppDynamics",
"1801": "AWS",
"1802": "AWSStatic",
"1803": "Azure",
"1804": "Azure Alert",
"1805": "Github",
"1806": "Loggly",
"1807": "Nagios CRITICAL",
"1808": "Nagios Service",
"1809": "Service Now",
"1810": "Splunk",
"1811": "WebmonSS",
"1812": "Zapier"
}Example request
curl -X GET "https://api.alertops.com/api/integration?APIKey=<YOUR_API_KEY>" \
-H "Content-Type: application/json"Create Maintenance Windows
POST /api/integration/CreateMaintenanceWindows
Request body
JSON object (required).
| Field | Type | Required | Description |
|---|---|---|---|
APIKey | string | Required | Your V1 API key. |
Description | string | Optional | (Required) Description Text for Maintenance Windows |
RecurrenceType | string | Optional | (Required) Recurrence Type 'O' for 'Once', 'D' for 'Daily', 'W' for 'Weekly' and 'M' for 'Monthly' |
IntegrationRuleIds | string | Optional | Integration Rule ID separated with comma |
StartDate | string | Optional | (Required) for Recurrence Type 'Once' and 'Monthly', (Optional) for other types, Date Time Format 'mm/dd/yy', Required if Start Date is Passed |
EndDate | string | Optional | (Optional) Date Time Format 'mm/dd/yy', Equals to Start Date for Recurrence Type 'Once' |
StartTime | string | Optional | Default '00:00'. 24 Hour time format eg: '16:45' |
EndTime | string | Optional | Default '23:59'. 24 Hour time format eg: '16:45' |
Sunday | boolean | Required | Default 'false' |
Monday | boolean | Required | Default 'false' |
Tuesday | boolean | Required | Default 'false' |
Wednesday | boolean | Required | Default 'false' |
Thursday | boolean | Required | Default 'false' |
Friday | boolean | Required | Default 'false' |
Saturday | boolean | Required | Default 'false' |
Example body
{
"APIKey": "<YOUR_API_KEY>",
"Description": "string",
"RecurrenceType": "string",
"IntegrationRuleIds": "string",
"StartDate": "string",
"EndDate": "string",
"StartTime": "string",
"EndTime": "string",
"Sunday": true,
"Monday": true,
"Tuesday": true,
"Wednesday": true,
"Thursday": true,
"Friday": true,
"Saturday": true
}Responses
200 OK · Any integer (MaintenanceWindowID if success or "0" if unchanged)
Example request
curl -X POST "https://api.alertops.com/api/integration/CreateMaintenanceWindows" \
-H "Content-Type: application/json" \
-d '{
"APIKey": "<YOUR_API_KEY>",
"Description": "string",
"RecurrenceType": "string",
"IntegrationRuleIds": "string",
"StartDate": "string",
"EndDate": "string",
"StartTime": "string",
"EndTime": "string",
"Sunday": true,
"Monday": true,
"Tuesday": true,
"Wednesday": true,
"Thursday": true,
"Friday": true,
"Saturday": true
}'