Skip to main content
GET
/
v1
/
export
/
html
/
{conversationId}
Export HTML
curl --request GET \
  --url https://api.migma.ai/v1/export/html/{conversationId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "files": [
      {
        "filename": "<string>",
        "url": "<string>",
        "content": "<string>",
        "format": "html",
        "description": "<string>",
        "fileSize": 123
      }
    ],
    "executionTime": 123,
    "exportType": "html"
  },
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use 'Authorization: Bearer ' where the JWT token is obtained from the login endpoint.

Path Parameters

conversationId
string
required

The conversation ID to export

Response

HTML export successful

success
boolean
required
data
object
error
string | null