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

# Export MJML

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

Export conversation as MJML (Mailjet Markup Language) responsive email template. Returns URLs for file downloads.

## Path parameters

- `conversationId` string, required

## Response `200`

MJML 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' | 'mjml', 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' | 'mjml' | 'hubspot', required — Type of export performed
  - `error` string, nullable

## Other responses

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

---

[API](https://skmtc.net/migma/apis/migma-ai-api-v1.md) · [All operations](https://skmtc.net/migma/apis/migma-ai-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/migma/migma-ai-api-v1/versions/3f3dba69574b/schema)
