---
title: "Upload White-label Logo"
method: POST
path: "/whitelabel/logo"
tags: ["White-label"]
---

# Upload White-label Logo

`POST /whitelabel/logo`

Upload a logo as a base64 data URL (`data:image/<png|jpeg|svg+xml|webp>;base64,...`). Maximum 512 KB. Replaces any prior logo and deletes the old file from storage.

## Request body

- Logo
  - `data_url` string, required

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `logo_storage_key` string, nullable
    - `logo_url` string, nullable
    - `byte_length` number, nullable
    - `mime_type` string, 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)
