Access Control Rule Object
The Access Control Rule (ACR) Object represents an individual matching condition that determines whether a call or SMS satisfies specific criteria.
A rule consists of:
- A
fieldto evaluate (e.g., destination number), - A set of
entriesto match against that field, - An
operationthat defines how to compare, - A
quantifierthat determines how many entries must match.
Rules are reusable across Access Control Lists. Depending on how you combine them, you can build fine-grained access control strategies — for example, blocking entire number ranges, allowing only specific patterns, or rejecting traffic outside of a defined set.
Access Control Rule Object Attributes
These fields and values make up the JSON object that gets returned with successful requests.
| Attribute | Data Type | Description |
|---|---|---|
| entries | array | The list of entries to compare against the |
| field | string | The field from the call or SMS to check. This value will be used in comparison with |
| name | string | The access control rule name. The value will be set to |
| operation | string | Determines how the value is checked. Values accepted in this field are:
|
| quantifier | string | The type of comparison to be made between
|
| read_only read only | boolean | Shows whether the access control rule can be modified or not. Values accepted in this field are:
The default value is |
| rule_sid read only | string | The access control rule secure ID. |
Sample Access Control Rule Object
{
"entries": [
"1800",
"1615"
],
"field": "to",
"name": "N/A",
"operation": "prefix",
"quantifier": "any",
"read_only": false,
"rule_sid": "c9109b54-13f2-4157-ba23-2984b3a207dc"
}