latestOpenAPI 3.0.3GitGuardian2026-08-201871515.0 MB

511b067cdcb1

IP Allowlist

List IP allowlist rules

This endpoint allows you to list all the IP allowlist rules of your workspace.

The response contains the list of IP allowlist rules and a pagination cursor to retrieve the next page.

If you are using a personal access token, you need to have an access level superior or equal to manager.

get/v1/ip-allowlist

Query parameters

cursorstring

Pagination cursor.

per_pageinteger

Number of items to list per page.

searchstring

Search IP allowlist rules based on their tag and/or the IP ranges.

ordering'created_at' | '-created_at' | 'tag' | '-tag'

Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.

Response

List IP allowlist rules

idstring uuid
tagstring

Tag for the IP allowlist rule

created_atstring date-time

Creation date of the IP allowlist rule

ip_rangesstring[]

The IP addresses (individual IPs or CIDR notation) included in the IP allowlist rule

Example response

[
  {
    "id": "d45a123f-b15d-4fea-abf6-ff2a8479de5b",
    "tag": "Main office",
    "created_at": "2019-08-22T14:15:22Z",
    "ip_ranges": [
      "35.153.173.97",
      "10.0.0.0/24"
    ]
  }
]