GetRules
Gets the rules.
Allowed roles: Owner, Admin, Developer, Supervisor, Call list manager, Support.
Example request: Get the first rule for the template 74951234567.
Authentication
AuthorizationBearer
Voximplant Management API uses signed JWT tokens generated from your service-account private key. Pass the token in the `Authorization` header as a Bearer value:
```
Authorization: Bearer $VOXIMPLANT_TOKEN
```
See [Authorization](/api-reference/management-api/authorization) for ready-to-copy snippets in bash, Python, Node.js and Go that turn your `credentials.json` into a token.
Query parameters
application_id
The application ID. Required unless application_name is provided.
application_name
The application name. Required unless application_id is provided.
rule_id
The rule ID to filter
rule_name
The rule name part to filter
video_conference
Whether it is a video conference to filter
attached_key_id
The service account ID bound to the rule. Read more in the guide
template
Search for template matching
with_scenarios
Whether to get bound scenarios info
count
The max returning record count
offset
The first N records are skipped in the output
Response
Successful response
result
total_count
The total found rule count
count
The returned rule count