Skip to main content
GET
/
v1
/
export
/
klaviyo
/
{conversationId}
Export Klaviyo
curl --request GET \
  --url https://api.migma.ai/v1/export/klaviyo/{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

Query Parameters

klaviyoType
enum<string>
default:hybrid

Type of Klaviyo export: 'html' for static HTML or 'hybrid' for dynamic hybrid with editable regions

Available options:
html,
hybrid

Response

Klaviyo export successful

success
boolean
required
data
object
error
string | null