---
title: "Public, no credentials: someone opened a preview link after the preview went to sleep, so start it again (the preview gateway's \"waking up\" page calls this). Answers only whether the preview is coming; readable cross-origin"
method: POST
path: "/builder/previews/{sessionId}/wake"
tags: ["Builder"]
---

# Public, no credentials: someone opened a preview link after the preview went to sleep, so start it again (the preview gateway's "waking up" page calls this). Answers only whether the preview is coming; readable cross-origin

`POST /builder/previews/{sessionId}/wake`

## Request

- Base URL: `https://hostingsurge.com/api/v1`
- URL: `https://hostingsurge.com/api/v1/builder/previews/{sessionId}/wake`
- Auth: none required

## Path parameters

- `sessionId` string, uuid, required

## Response `200`

Whether the preview is coming

- object
  - `status` 'starting' | 'running' | 'unavailable', required: starting: it is being started (reload in a few seconds); running: it serves; unavailable: there is no preview to show at this address (unknown, archived, not drafted yet, or previews are off)

## Other responses

- `429`: Too many wake requests from this address (code rate_limited); see Retry-After

---

[API](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api.md) · [All operations](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api/revisions/4d08337cdff1?raw)
