# PageHub Domain API

**Canonical:** https://apis.io/apis/pagehub-dev/pagehub-dev-domain-api/  
**Provider:** PageHub — https://apis.io/providers/pagehub-dev/  
**Base URL:** https://pagehub.dev  
**Documentation:** https://pagehub.dev/docs/api

PageHub Domain API is one of 23 APIs that [PageHub](https://apis.io/providers/pagehub-dev/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 1 JSON Schema definition. Tagged areas include Domain. The published artifact set on APIs.io includes an OpenAPI specification and 1 JSON Schema.

A site's custom domain.

## Operations (3)

| Method | Path | Summary |
|---|---|---|
| GET | `/api/v1/sites/{id}/domain` | Read a site's domain, or preflight one |
| PATCH | `/api/v1/sites/{id}/domain` | Attach a domain or change its redirect mode |
| DELETE | `/api/v1/sites/{id}/domain` | Detach the domain |

## Machine-readable artifacts (2)

- **OpenAPI** — https://artifacts.apis.io/pagehub-dev/openapi/pagehub-dev-domain-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/pagehub-dev/json-schema/pagehub-dev-domain-state-schema.json

## Other PageHub APIs (12)

- [PageHub Blocks API](https://apis.io/apis/pagehub-dev/pagehub-dev-blocks-api/)
- [PageHub Chat API](https://apis.io/apis/pagehub-dev/pagehub-dev-chat-api/)
- [PageHub Collections API](https://apis.io/apis/pagehub-dev/pagehub-dev-collections-api/)
- [PageHub Components API](https://apis.io/apis/pagehub-dev/pagehub-dev-components-api/)
- [PageHub Components library API](https://apis.io/apis/pagehub-dev/pagehub-dev-components-library-api/)
- [PageHub Content API](https://apis.io/apis/pagehub-dev/pagehub-dev-content-api/)
- [PageHub Emails API](https://apis.io/apis/pagehub-dev/pagehub-dev-emails-api/)
- [PageHub Files API](https://apis.io/apis/pagehub-dev/pagehub-dev-files-api/)
- [PageHub Format API](https://apis.io/apis/pagehub-dev/pagehub-dev-format-api/)
- [PageHub Forms API](https://apis.io/apis/pagehub-dev/pagehub-dev-forms-api/)
- [PageHub History API](https://apis.io/apis/pagehub-dev/pagehub-dev-history-api/)
- [PageHub Media API](https://apis.io/apis/pagehub-dev/pagehub-dev-media-api/)

## Tags

Domain

## Use this from code or an agent

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