# Stacktree Sites API

**Canonical:** https://apis.io/apis/stacktr-ee/stacktr-ee-sites-api/  
**Provider:** Stacktree — https://apis.io/providers/stacktr-ee/  
**Base URL:** https://api.stacktr.ee  
**Documentation:** https://stacktr.ee/developers

Stacktree Sites API is one of 12 APIs that [Stacktree](https://apis.io/providers/stacktr-ee/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 2 JSON Schema definitions. Tagged areas include Sites. The published artifact set on APIs.io includes an OpenAPI specification and 2 JSON Schemas.

Publish, update, and delete static HTML sites.

## Operations (24)

| Method | Path | Summary |
|---|---|---|
| POST | `/uploads` | Start sending a file too big for one request, in parts |
| GET | `/uploads/{id}` | Which parts of an upload have arrived, for resuming |
| DELETE | `/uploads/{id}` | Give up an upload and delete what was sent |
| PUT | `/uploads/{id}/parts/{n}` | Send one part of an upload, as raw bytes |
| POST | `/uploads/{id}/complete` | Join an upload's parts. Optional: publishing it does this |
| GET | `/sites` | List sites belonging to the authenticated principal |
| POST | `/sites` | Publish a new site |
| GET | `/sites/{idOrSlug}` | Get a site by id or slug |
| PUT | `/sites/{idOrSlug}` | Replace the site contents (full re-upload, same URL) |
| PATCH | `/sites/{idOrSlug}` | Update site settings (visibility, slug, expiry, passcode, email gate, client… |
| DELETE | `/sites/{idOrSlug}` | Take a page down. Restorable for 30 days |
| GET | `/sites/{idOrSlug}/activity` | Has anyone opened it? |
| POST | `/sites/{idOrSlug}/keep` | Email the claim link for an unclaimed page to its human, plus one reminder as… |
| POST | `/sites/{idOrSlug}/restore` | Put a page that was deleted or expired back at the same URL |
| GET | `/sites/{idOrSlug}/content` | Read the exact stored HTML source of a site you own |
| GET | `/sites/{idOrSlug}/versions` | List earlier versions of a page you own, newest first |
| POST | `/sites/{idOrSlug}/versions/{versionId}/restore` | Put an earlier version of a page back at the same URL |
| POST | `/sites/revision-match` | Ask, before publishing, whether a page would be a new version of one you have |
| GET | `/sites/{idOrSlug}/passcode` | Show the passcode set on a site you own |
| PUT | `/sites/{idOrSlug}/cover` | Set the image that stands for a site you own |
| DELETE | `/sites/{idOrSlug}/cover` | Remove a site's cover image |
| POST | `/sites/{idOrSlug}/claim` | Claim an anonymous site into your account |
| POST | `/sites/{idOrSlug}/beautify` | Generate a beautified rebuild of a single-file HTML page (preview only… |
| GET | `/design-guide` | The house design guide for improving a published page |

## Machine-readable artifacts (3)

- **OpenAPI** — https://artifacts.apis.io/stacktr-ee/openapi/stacktr-ee-sites-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/stacktr-ee/json-schema/stacktr-ee-site-schema.json
- **JSONSchema** — https://artifacts.apis.io/stacktr-ee/json-schema/stacktr-ee-site-upload-schema.json

## Other Stacktree APIs (11)

- [Stacktree Agent feedback API](https://apis.io/apis/stacktr-ee/stacktr-ee-agent-feedback-api/)
- [Stacktree API keys API](https://apis.io/apis/stacktr-ee/stacktr-ee-api-keys-api/)
- [Stacktree Client spaces API](https://apis.io/apis/stacktr-ee/stacktr-ee-client-spaces-api/)
- [Stacktree Custom domains API](https://apis.io/apis/stacktr-ee/stacktr-ee-custom-domains-api/)
- [Stacktree Feedback API](https://apis.io/apis/stacktr-ee/stacktr-ee-feedback-api/)
- [Stacktree MCP API](https://apis.io/apis/stacktr-ee/stacktr-ee-mcp-api/)
- [Stacktree OAuth API](https://apis.io/apis/stacktr-ee/stacktr-ee-oauth-api/)
- [Stacktree Provision API](https://apis.io/apis/stacktr-ee/stacktr-ee-provision-api/)
- [Stacktree Share tokens API](https://apis.io/apis/stacktr-ee/stacktr-ee-share-tokens-api/)
- [Stacktree Sign Off API](https://apis.io/apis/stacktr-ee/stacktr-ee-sign-off-api/)
- [Stacktree Webhooks API](https://apis.io/apis/stacktr-ee/stacktr-ee-webhooks-api/)

## Tags

Sites

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/stacktr-ee` 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/stacktr-ee/stacktr-ee-sites-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/stacktr-ee/.
