---
title: "Ler arquivo do tema"
method: GET
path: "/{alias}/store/theme/files/content"
tags: ["Loja Virtual - Arquivos do tema"]
---

# Ler arquivo do tema

`GET /{alias}/store/theme/files/content`

## Request

- Base URL: `https://api.dooki.com.br/v2`
- URL: `https://api.dooki.com.br/v2/{alias}/store/theme/files/content`
- Auth: API key in header `User-Token` and API key in header `User-Secret-Key`

Retorna o conteúdo de um arquivo do tema em preview. Imagens vêm como data URI em base64.

## Path parameters

- `alias` string, required

## Query parameters

- `path` string, required

## Response `200`

Conteúdo do arquivo

- object
  - `data` string
  - `status` integer

## Other responses

- `400`: Arquivo inexistente ou falha na leitura
- `403`: Loja suspensa, sem acesso ao editor de código ou usuário sem a permissão `manage_open_code`
- `422`: Parâmetros inválidos

## Changes

- **2026-11-03** `bbafb577e11c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/yampi/apis/yampi-api/changes/:alias/store/theme/files/content/get.md)

---

[API](https://skmtc.dev/yampi/apis/yampi-api.md) - [All operations](https://skmtc.dev/yampi/apis/yampi-api/llms.txt) - [OpenAPI document](https://skmtc.dev/yampi/apis/yampi-api/revisions/74739ec8876f?raw)
