v3
latestOpenAPI 3.0.12026-07-31240345599.7 KBRouting rules
Get routing rule
Gets a routing rule with given id in the request.
get/api/{cloudId}/v1/teams/{teamId}/routing-rules/{id}
Path parameters
teamIdstring required
Identifier of the routing rules owning team.
idstring required
Identifier of the routing rule.
Response
Returned if the request is successful.
Example response
{
"id": "4292c912-12ac-4ac0-b195-9484fbb98c5c",
"name": "My Primary Routing Rule",
"isDefault": "true",
"criteria": {
"type": "match-any-condition",
"conditions": [
{
"field": "message",
"operation": "matches",
"expectedValue": "my critical alert"
}
]
},
"timezone": "Europe/Istanbul",
"timeRestriction": {
"type": "weekday-and-time-of-day",
"restrictions": [
{
"startDay": "monday",
"endDay": "friday",
"startHour": 13,
"endHour": 18,
"startMin": 0,
"endMin": 0
}
]
},
"order": 0,
"notify": {
"id": "d2acfc54-a145-451e-a963-ffbc089baea1",
"type": "escalation"
}
}