Services/Suppression Rules
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
serviceIDstringRequired
Responses
200
The request has succeeded.
application/json
400
The server could not understand the request due to invalid syntax.
application/json
401
Access is unauthorized.
application/json
402
Client error
application/json
403
Access is forbidden.
application/json
404
The server cannot find the requested resource.
application/json
409
The request conflicts with the current state of the server.
application/json
422
Client error
application/json
500
Server error
application/json
502
Server error
application/json
503
Service unavailable.
application/json
504
Server error
application/json
get/v3/services/{serviceID}/suppression-rules
GET /v3/services/{serviceID}/suppression-rules HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"rules": [
{
"rule_id": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"created_by": "text",
"updated_by": "text",
"description": "text",
"expression": "text",
"is_basic": true,
"is_timebased": true,
"timeslots": [
{
"time_zone": "text",
"start_time": "text",
"end_time": "text",
"is_allday": true,
"repetition": "text",
"is_custom": true,
"custom": {
"repeats_count": 1,
"repeats": "text",
"repeats_on_weekdays": [
1
],
"repeats_on_month": "text"
},
"ends_never": true,
"ends_on": "text"
}
],
"basic_expression": [
{
"lhs": "text",
"op": "text",
"rhs": "text"
}
]
}
]
}
}Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
serviceIDstringRequired
Body
Responses
200
The request has succeeded.
application/json
400
The server could not understand the request due to invalid syntax.
application/json
401
Access is unauthorized.
application/json
402
Client error
application/json
403
Access is forbidden.
application/json
404
The server cannot find the requested resource.
application/json
409
The request conflicts with the current state of the server.
application/json
422
Client error
application/json
500
Server error
application/json
502
Server error
application/json
503
Service unavailable.
application/json
504
Server error
application/json
post/v3/services/{serviceID}/suppression-rules
POST /v3/services/{serviceID}/suppression-rules HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 548
{
"rules": [
{
"rule_id": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"created_by": "text",
"updated_by": "text",
"description": "text",
"expression": "text",
"is_basic": true,
"is_timebased": true,
"timeslots": [
{
"time_zone": "text",
"start_time": "text",
"end_time": "text",
"is_allday": true,
"repetition": "text",
"is_custom": true,
"custom": {
"repeats_count": 1,
"repeats": "text",
"repeats_on_weekdays": [
1
],
"repeats_on_month": "text"
},
"ends_never": true,
"ends_on": "text"
}
],
"basic_expression": [
{
"lhs": "text",
"op": "text",
"rhs": "text"
}
]
}
]
}{
"data": {
"id": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"service_id": "text",
"organization_id": "text",
"rules": [
{
"rule_id": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"created_by": "text",
"updated_by": "text",
"description": "text",
"expression": "text",
"is_basic": true,
"is_timebased": true,
"timeslots": [
{
"time_zone": "text",
"start_time": "text",
"end_time": "text",
"is_allday": true,
"repetition": "text",
"is_custom": true,
"custom": {
"repeats_count": 1,
"repeats": "text",
"repeats_on_weekdays": [
1
],
"repeats_on_month": "text"
},
"ends_never": true,
"ends_on": "text"
}
],
"basic_expression": [
{
"lhs": "text",
"op": "text",
"rhs": "text"
}
]
}
]
}
}Last updated