---
title: "Preview Homepage"
method: POST
path: "/api/domains/{domain_id}/content-system/homepage/preview"
tags: ["content_system"]
---

# Preview Homepage

`POST /api/domains/{domain_id}/content-system/homepage/preview`

## Request

- Base URL: `https://api-v1.unusual.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-v1.unusual.ai/api/domains/{domain_id}/content-system/homepage/preview`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login`

## Path parameters

- `domain_id` string, required

## Headers

- `x-view-as` string, nullable

## Request body

- HomepageContent
  - `heading` string, required
  - `description` string, required
  - `description_format` 'text' | 'markdown'
  - `sections` HomepageSection[]
    - `kind` 'text' | 'heading' | 'callout' | 'link' | 'code'
    - `text` string, required
    - `text_format` 'text' | 'markdown'
    - `url` string
    - `language` string

## Response `200`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/unusual/apis/dashboard-server.md) - [All operations](https://skmtc.dev/unusual/apis/dashboard-server/llms.txt) - [OpenAPI document](https://skmtc.dev/unusual/apis/dashboard-server/revisions/89f716930ead?raw)
