# PageGoat Site Controller API

**Canonical:** https://apis.io/apis/pagegoat-com/pagegoat-com-site-controller-api/  
**Provider:** PageGoat — https://apis.io/providers/pagegoat-com/  
**Base URL:** https://api.pagegoat.com  
**Documentation:** https://pagegoat.com/docs

PageGoat Site Controller API is one of 6 APIs that [PageGoat](https://apis.io/providers/pagegoat-com/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 5 JSON Schema definitions. Tagged areas include site-controller. The published artifact set on APIs.io includes an OpenAPI specification and 5 JSON Schemas.

The site-controller API from PageGoat — 25 operation(s) for site-controller.

## Operations (34)

| Method | Path | Summary |
|---|---|---|
| PUT | `/api/sites/{slug}/visitors/{visitorId}/blocked` | Block or unblock one captured address |
| PUT | `/api/sites/{slug}/visibility` | Set a site's link-access mode |
| GET | `/api/sites/{slug}/content` | Download a site's entrypoint HTML |
| PUT | `/api/sites/{slug}/content` | Replace a site's files with a new version |
| GET | `/api/sites` | List every site the caller can access |
| POST | `/api/sites` | Create a site from an uploaded file or ZIP |
| POST | `/api/sites/{slug}/visitors/{visitorId}/resend` | Mail one captured address a fresh code |
| POST | `/api/sites/{slug}/invites` | Invite an email with no account yet |
| GET | `/api/sites/{slug}/gate` | What a visitor must clear to open this site |
| POST | `/api/sites/{slug}/gate` | Unlock a password-protected site |
| GET | `/api/sites/{slug}/comments` | List a site's comments |
| POST | `/api/sites/{slug}/comments` | Create a comment or a reply |
| POST | `/api/sites/{slug}/comments/{commentId}/resolve` | Resolve a thread |
| POST | `/api/sites/{slug}/comments/{commentId}/reopen` | Reopen a resolved thread |
| POST | `/api/sites/{slug}/capture/verify` | Confirm a code and get the pass |
| POST | `/api/sites/{slug}/capture/request` | Ask for a code at a site's email gate |
| GET | `/api/sites/{slug}/access` | Who can reach this site |
| POST | `/api/sites/{slug}/access` | Grant a user, org or group a role on this site |
| GET | `/api/sites/{slug}` | Site detail |
| DELETE | `/api/sites/{slug}` | Delete a site |
| PATCH | `/api/sites/{slug}` | Update a site's editable metadata |
| DELETE | `/api/sites/{slug}/comments/{commentId}` | Delete a comment |
| PATCH | `/api/sites/{slug}/comments/{commentId}` | Edit your own comment |
| GET | `/api/sites/{slug}/visitors` | Captured email addresses for this site |
| DELETE | `/api/sites/{slug}/visitors` | Forget every captured address on this site |
| GET | `/api/sites/{slug}/visitors.csv` | Export the captured list as CSV |
| GET | `/api/sites/{slug}/versions` | A site's deploy history |
| GET | `/api/sites/slug-available` | Check whether a slug is free |
| GET | `/api/sites/page` | One page of the caller's sites |
| GET | `/api/sites/counts` | Totals for the caller's sites |
| DELETE | `/api/sites/{slug}/visitors/{visitorId}` | Forget one captured address |
| DELETE | `/api/sites/{slug}/invites/{inviteId}` | Withdraw a pending site invitation |
| DELETE | `/api/sites/{slug}/access/{grantId}` | Revoke a grant on this site |
| GET | `/api/sites/{slug}/assets/{path}` | Download one file of a multi-file site |

## Machine-readable artifacts (6)

- **OpenAPI** — https://artifacts.apis.io/pagegoat-com/openapi/pagegoat-com-site-controller-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/pagegoat-com/json-schema/pagegoat-com-site-schema.json
- **JSONSchema** — https://artifacts.apis.io/pagegoat-com/json-schema/pagegoat-com-comment-schema.json
- **JSONSchema** — https://artifacts.apis.io/pagegoat-com/json-schema/pagegoat-com-set-visibility-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/pagegoat-com/json-schema/pagegoat-com-upload-site-form-schema.json
- **JSONSchema** — https://artifacts.apis.io/pagegoat-com/json-schema/pagegoat-com-visitor-page-schema.json

## Other PageGoat APIs (5)

- [PageGoat Free Link Claim Controller API](https://apis.io/apis/pagegoat-com/pagegoat-com-free-link-claim-controller-api/)
- [PageGoat Me Controller API](https://apis.io/apis/pagegoat-com/pagegoat-com-me-controller-api/)
- [PageGoat Project Controller API](https://apis.io/apis/pagegoat-com/pagegoat-com-project-controller-api/)
- [PageGoat Usage Controller API](https://apis.io/apis/pagegoat-com/pagegoat-com-usage-controller-api/)
- [PageGoat Workspace Controller API](https://apis.io/apis/pagegoat-com/pagegoat-com-workspace-controller-api/)

## Tags

site-controller

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/pagegoat-com` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/pagegoat-com/pagegoat-com-site-controller-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/pagegoat-com/.
