Global Event Rules/Rulesets/Rules
List Ruleset Rules
Get all rules of a GER Ruleset.
The request has succeeded.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
GET /v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": 1,
"global_event_rule_id": 1,
"description": "text",
"expression": "text",
"action": {
"route_to": "text"
},
"created_at": "2026-01-01T00:00:00.000Z",
"created_by": "text",
"updated_at": "2026-01-01T00:00:00.000Z",
"updated_by": "text"
}
],
"meta": {
"total_count": 1
}
}Create Rule
Create a GER Ruleset Rule.
The request has succeeded and a new resource has been created as a result.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
POST /v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 71
{
"description": "text",
"expression": "text",
"action": {
"route_to": "text"
}
}{
"data": {
"id": 1,
"global_event_rule_id": 1,
"description": "text",
"expression": "text",
"action": {
"route_to": "text"
},
"created_at": "2026-01-01T00:00:00.000Z",
"created_by": "text",
"updated_at": "2026-01-01T00:00:00.000Z",
"updated_by": "text"
}
}Get Rule by ID
Get a GER Ruleset Rule by its ID.
The request has succeeded.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
GET /v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules/{rule_id} HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"id": 1,
"global_event_rule_id": 1,
"description": "text",
"expression": "text",
"action": {
"route_to": "text"
},
"created_at": "2026-01-01T00:00:00.000Z",
"created_by": "text",
"updated_at": "2026-01-01T00:00:00.000Z",
"updated_by": "text"
}
}Delete Rule by ID
Delete a GER Ruleset Rule by its ID.
There is no content to send for this request, but the headers may be useful.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
DELETE /v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules/{rule_id} HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{}Update Rule by ID
Update a GER Ruleset Rule by its ID.
The request has succeeded.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
PATCH /v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules/{rule_id} HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 71
{
"description": "text",
"expression": "text",
"action": {
"route_to": "text"
}
}{
"data": {
"id": 1,
"global_event_rule_id": 1,
"description": "text",
"expression": "text",
"action": {
"route_to": "text"
},
"created_at": "2026-01-01T00:00:00.000Z",
"created_by": "text",
"updated_at": "2026-01-01T00:00:00.000Z",
"updated_by": "text"
}
}Reorder Ruleset By Index
Reorder a GER Ruleset Rule by its index in the ruleset.
The request has succeeded.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
PATCH /v3/global-event-rules/{ger_id}/rulesets/{alert_source_version}/{alert_source_shortname}/rules/{rule_id}/priority HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 38
{
"shift_to": "text",
"shift_index_by": 1
}{
"data": {
"ordering": [
1
]
}
}Last updated