---
title: "Get"
method: GET
path: "/ip_policy_rules/{id}"
tags: ["IPPolicyRules"]
---

# Get

`GET /ip_policy_rules/{id}`

Get detailed information about an IP policy rule by ID.

## Path parameters

- `id` string, required

## Headers

- `ngrok-version` integer, required

## Response `200`

Get detailed information about an IP policy rule by ID.

- IPPolicyRule
  - `id` string — unique identifier for this IP policy rule
  - `uri` string — URI of the IP policy rule API resource
  - `created_at` string — timestamp when the IP policy rule was created, RFC 3339 format
  - `description` string — human-readable description of the source IPs of this IP rule. optional, max 255 bytes.
  - `metadata` string — arbitrary user-defined machine-readable data of this IP policy rule. optional, max 4096 bytes.
  - `cidr` string — an IP or IP range specified in CIDR notation. IPv4 and IPv6 are both supported.
  - `ip_policy` Ref
    - `id` string — a resource identifier
    - `uri` string — a uri for locating a resource
  - `action` string — the action to apply to the policy rule, either `allow` or `deny`

---

[API](https://skmtc.net/ngrok/apis/ngrok-openapi.md) · [All operations](https://skmtc.net/ngrok/apis/ngrok-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ngrok/ngrok-openapi/versions/1994bbb04714/schema)
