Groups API (v1)
Legacy V1 endpoints for groups.
Legacy V1 endpoints for groups. 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 | 3 |
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /api/group | List Groups |
| POST | /api/group/AddGroupMember | Add Member to Group |
| POST | /api/group/CreateGroup | Create Group |
List Groups
GET /api/group
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
APIKey | string | Required | Your V1 API key. |
Responses
200 OK
{
"1000": "Support",
"1001": "Database",
"1002": "Development",
"1003": "Network",
"1004": "Operations",
"1005": "Sales",
"1006": "dev-team",
"1007": "Slack",
"1008": "hr",
"1009": "Event Management"
}Example request
curl -X GET "https://api.alertops.com/api/group?APIKey=<YOUR_API_KEY>" \
-H "Content-Type: application/json"Add Member to Group
POST /api/group/AddGroupMember
Request body
JSON object (required).
| Field | Type | Required | Description |
|---|---|---|---|
APIKey | string | Required | Your V1 API key. |
GroupID | integer | Required | Group ID |
UserName | string | Required | UserName |
Example body
{
"APIKey": "<YOUR_API_KEY>",
"GroupID": 0,
"UserName": "string"
}Responses
200 OK
Example request
curl -X POST "https://api.alertops.com/api/group/AddGroupMember" \
-H "Content-Type: application/json" \
-d '{"APIKey":"<YOUR_API_KEY>","GroupID":0,"UserName":"string"}'Create Group
POST /api/group/CreateGroup
Request body
JSON object (required).
| Field | Type | Required | Description |
|---|---|---|---|
APIKey | string | Required | Your V1 API key. |
GroupName | string | Required | Name of Group |
Description | string | Optional | (Optional)Group Keywords |
Example body
{
"APIKey": "<YOUR_API_KEY>",
"GroupName": "string",
"Description": "string"
}Responses
200 OK · Success: 1004
Example request
curl -X POST "https://api.alertops.com/api/group/CreateGroup" \
-H "Content-Type: application/json" \
-d '{"APIKey":"<YOUR_API_KEY>","GroupName":"string","Description":"string"}'