---
title: "What a visitor must clear to open this site"
method: GET
path: "/api/sites/{slug}/gate"
tags: ["site-controller"]
---

# What a visitor must clear to open this site

`GET /api/sites/{slug}/gate`

## Request

- Base URL: `https://api.pagegoat.com`
- URL: `https://api.pagegoat.com/api/sites/{slug}/gate`
- Auth: HTTP bearer

Answers only for a gated site. Everything here is shown to the visitor at the wall, so nothing on it is private.

## Path parameters

- `slug` string, required

## Response `200`

The gate's rules.

## Other responses

- `404`: No such site, or it isn't gated.

---

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