Skip to main content
GET
Retrieve web page

📌 Endpoint

GET /pages/{domain} Returns the published page of a store by domain.

🔐 Authentication

  • Public route.
  • The store linked to the domain needs an active plan.

🧾 Route parameters


✅ Example request


📦 Success response (200)


⚠️ Possible errors

  • 400 INVALID_DATA → invalid domain parameter (empty or longer than 255 characters)
  • 401 UNAUTHENTICATED → store without an associated owner or unavailable database connection
  • 403 NO_ACTIVE_SUBSCRIPTION → the store linked to the domain has no active plan
  • 404 DOMAIN_NOT_FOUND → invalid domain, not linked to any store or nonexistent (the ActivePlan middleware intercepts before the controller)
  • 404 PAGE_NOT_FOUND → valid domain, but the store has not yet published a page
  • 429 RATE_LIMIT_EXCEEDED → per-minute request limit exceeded
  • 502 PAGE_SOURCE_UNAVAILABLE → failed to read the page content from blob storage
  • 503 SERVICE_UNAVAILABLE → service temporarily unavailable

Path Parameters

domain
string
required
Required string length: 1 - 255

Response

Retrieve web page.

data
object
required

Store web page (HTML served on domain).