---
title: "Get a rule from a paging policy step"
method: GET
path: "/api-public/v1/profile/{username}/policies/{step}/{rule}"
tags: ["Personal Paging Policies"]
---

# Get a rule from a paging policy step

`GET /api-public/v1/profile/{username}/policies/{step}/{rule}`

## Request

- Base URL: `https://api.victorops.com`
- URL: `https://api.victorops.com/api-public/v1/profile/{username}/policies/{step}/{rule}`
- Auth: none declared. Required headers: `X-VO-Api-Id`, `X-VO-Api-Key`
- TypeScript: <https://skmtc.dev/victorops/apis/victorops-api/docs/api-public/v1/profile/:username/policies/:step/:rule/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a rule from a paging policy step

This API may be called a maximum of 2 times per second.

## Path parameters

- `username` string, required
- `step` number, required
- `rule` number, required

## Headers

- `X-VO-Api-Id` string, required
- `X-VO-Api-Key` string, required

## Response `200`

The rule from the paging policy step

- object
  - `stepRule` PagingPolicyStepRule
    - `index` number
    - `type` 'push' | 'email' | 'sms' | 'phone'
    - `contact` Contact
      - `id` number
      - `type` 'email' | 'phone'
  - `_selfUrl` string

## Other responses

- `400`: Problem with the request arguments. The response payload may include an error message.
- `401`: Authentication parameters missing
- `403`: Authentication failed or rate-limit reached
- `500`: Internal Server Error

---

[API](https://skmtc.dev/victorops/apis/victorops-api.md) - [All operations](https://skmtc.dev/victorops/apis/victorops-api/llms.txt) - [OpenAPI document](https://skmtc.dev/victorops/apis/victorops-api/revisions/e19555bfa51c?raw)
