---
title: "Retrieve specific asset content"
method: GET
path: "/assets/{asset_id}/content"
tags: ["Assets"]
---

# Retrieve specific asset content

`GET /assets/{asset_id}/content`

## Request

- Base URL: `https://enterprise.knak.io/api/published/v1`
- URL: `https://enterprise.knak.io/api/published/v1/assets/{asset_id}/content`
- Auth: none declared
- TypeScript: <https://skmtc.dev/knak/apis/knak-enterprise-api/docs/assets/:asset_id/content/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve a specific asset's html content. Returns a similar response to the /assets/ GET endpoint, but includes field 'html' in the response.

## Path parameters

- `asset_id` string, required

## Query parameters

- `platform` string

## Response `200`

OK

- AssetContent
  - `data` object
    - `type` string
    - `id` string
    - `attributes` object
      - `id` string
      - `subject` string
      - `from_name` string
      - `from_email` string
      - `reply_email` string
      - `type` 'email' | 'landing'
      - `name` string
      - `text` string
      - `folder_path` string
      - `campaign` string
      - `brand` string
      - `language_code` string, nullable
      - `html` string
      - `version` string
      - `parent_asset_id` string, nullable

## Other responses

- `401`: Unauthenticated
- `403`: Unauthorized
- `404`: Not Found

---

[API](https://skmtc.dev/knak/apis/knak-enterprise-api.md) - [All operations](https://skmtc.dev/knak/apis/knak-enterprise-api/llms.txt) - [OpenAPI document](https://skmtc.dev/knak/apis/knak-enterprise-api/revisions/31d2c94edfcc?raw)
