---
title: "Preview White-label Report"
method: POST
path: "/whitelabel/preview"
tags: ["White-label"]
---

# Preview White-label Report

`POST /whitelabel/preview`

Render a sample natal report PDF using the authenticated user's white-label configuration (colours, font, footer, logo). Pass `chart` to use your own birth data; omit to use the bundled Kyiv 1990 sample.

## Request body

- Preview
  - `chart` unknown
  - `language` 'uk' | 'en' | 'de' | 'ru' | 'pl' | 'es' | 'pt' | 'hi' | 'fr' | 'ko' | 'it' | 'ja' | 'id' | 'tr' | 'nl' | 'ro' | 'cs' | 'vi' | 'ar' | 'el' | 'hu'

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `url` string, nullable
    - `storage_key` string, nullable
    - `byte_length` number, nullable
    - `page_count` number, nullable
    - `duration_ms` number, nullable
    - `expires_at` string, nullable
    - `preview` boolean, nullable

## Other responses

- `400` — Validation error
- `401` — Missing or invalid API key

---

[API](https://skmtc.net/astroway/apis/astroway-calculation-api.md) · [All operations](https://skmtc.net/astroway/apis/astroway-calculation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/astroway/astroway-calculation-api/revisions/529d7d36d7d6/schema)
