Skip to content
  • There are no suggestions because the search field is empty.

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 URLhttps://api.alertops.com/api
AuthenticationAPIKey query parameter (GET) or body field (POST)
Endpoints3

Endpoints

MethodPathDescription
GET/api/groupList Groups
POST/api/group/AddGroupMemberAdd Member to Group
POST/api/group/CreateGroupCreate Group

List Groups

GET /api/group

Query parameters

NameTypeRequiredDescription
APIKeystringRequiredYour 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).

FieldTypeRequiredDescription
APIKeystringRequiredYour V1 API key.
GroupIDintegerRequiredGroup ID
UserNamestringRequiredUserName

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).

FieldTypeRequiredDescription
APIKeystringRequiredYour V1 API key.
GroupNamestringRequiredName of Group
DescriptionstringOptional(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"}'