---
title: "getThemeFromDesign"
method: GET
path: "/v1/designs/{designId}/parse"
tags: ["design-builder"]
---

# getThemeFromDesign

`GET /v1/designs/{designId}/parse`

Search for a especific design owned by user organization and parse them to a new or old theme

## Path parameters

- `designId` string, required — Id of the design

## Query parameters

- `orgId` string
- `theme` 'NEW' | 'OLD', required — Type of theme to be parsed and returned

## Response `200`

Success - design parsed with success.

- ParseThemeFromDesignResp
  - `theme` 'NEW' | 'OLD' — Type of theme to be parsed and returned
  - `design` object
    - `id` string
    - `last_modified_at` string
    - `style_name` string
    - `style` object
      - `logo` LogoData
        - `main` FileData
          - `name` string, required
          - `display_name` string
          - `file_type` 'LOGO' | 'FONT' | 'IMAGE'
          - `s3_object_key` string, required
          - `url` string, required
          - `file_id` string — ID of the source file entity in the epilot file-entity system. Set when the file was picked from the File Manager (rather than uploaded directly to the design-builder bucket). Consumers resolve the live `public_url` via this reference. The org id is derived from the journey's owning org at render time (same convention as journey image blocks), so blueprint cross-org installs work without any extra remapping.
      - `palette` PaletteData
        - `primary` string, required
        - `secondary` string, required
        - `error` string, required
        - `background` string, required
        - `paper` string, required
        - `navbar` string, required
        - `portal_login_background` string
      - `typography` TypographyData
        - `font` FontData, required
          - `font_id` string, required
          - `font_name` string, required
          - `font_family` string
          - `font_weight_regular` string
          - `font_weight_medium` string
          - `font_weight_bold` string
          - `urls` FontResponseUrl[], required
            - `type` 'WOFF2' | 'WOFF' | 'TTF' | 'EOT'
            - `url` string
        - `primary` string, required
        - `secondary` string, required
    - `custom_theme` string
    - `use_custom_theme` boolean
    - `journey_design_tokens` object — Design tokens for journey customization (renamed from design_tokens)

## Other responses

- `400` — Validation Errors
- `401` — Authentication Errors
- `404` — No design found
- `500` — Other errors

---

[API](https://skmtc.net/epilot/apis/design-builder-api-v2.md) · [All operations](https://skmtc.net/epilot/apis/design-builder-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/epilot/design-builder-api-v2/versions/220aa4fb07e9/schema)
