Skip to main content
GET
/
ip_policies
List
curl --request GET \
  --url https://api.ngrok.com/ip_policies \
  --header 'Authorization: Bearer <token>' \
  --header 'ngrok-version: <ngrok-version>'
{
  "ip_policies": [
    {
      "id": "<string>",
      "uri": "<string>",
      "created_at": "<string>",
      "description": "<string>",
      "metadata": "<string>"
    }
  ],
  "uri": "<string>",
  "next_page_uri": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

ngrok-version
integer
default:2
required

Query Parameters

before_id
string
limit
string

Response

200 - application/json

List all IP policies on this account

ip_policies
object[]

the list of all IP policies on this account

uri
string

URI of the IP policy list API resource

next_page_uri
string

URI of the next page, or null if there is no next page