---
title: "Export HTML"
method: GET
path: "/v1/export/html/{conversationId}"
tags: ["Emails"]
---

# Export HTML

`GET /v1/export/html/{conversationId}`

Export conversation as standard HTML.

## Path parameters

- `conversationId` string, required

## Response `200`

HTML export successful

- ApiResponseExport
  - `success` boolean, required
  - `data` object, nullable
    - `files` V1ExportFile[], required — Array of exported files with download URLs and content
      - `filename` string, required — Name of the exported file
      - `url` string, uri, required — Download URL for the exported file
      - `content` string, required — File content
      - `format` 'html' | 'hubl' | 'json' | 'text' | 'png', required — Format of the exported file
      - `description` string, required — Description of the exported file
      - `fileSize` number, required — File size in bytes
    - `executionTime` number, required — Export execution time in milliseconds
    - `exportType` 'html' | 'klaviyo' | 'mailchimp' | 'png' | 'hubspot', required — Type of export performed
  - `error` string, nullable

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Resource not found

## Changes

- **2026-08-15** `5ed4a5a287b5` — 2 warning, 2 info
  - added the new `png` enum value to the `allOf[subschema #2]/data/exportType` response property for the response status `200`
  - added the new `png` enum value to the `allOf[subschema #2]/data/files/items/format` response property for the response status `200`
  - removed the `mjml` enum value from the `allOf[subschema #2]/data/exportType` response property for the response status `200`
  - removed the `mjml` enum value from the `allOf[subschema #2]/data/files/items/format` response property for the response status `200`

[Change history](https://skmtc.dev/migma/apis/migma-ai-api-v1/changes/v1/export/html/:conversationId/get.md)

---

[API](https://skmtc.dev/migma/apis/migma-ai-api-v1.md) · [All operations](https://skmtc.dev/migma/apis/migma-ai-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/migma/migma-ai-api-v1/revisions/6b3357db6cf6/schema)
