cURL
curl --request POST \ --url https://api.migma.ai/v1/export/hubspot \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "conversationId": "<string>", "customOptions": { "customInstructions": "<string>" } } '
{ "success": true, "data": { "files": [ { "filename": "<string>", "url": "<string>", "content": "<string>", "format": "html", "description": "<string>", "fileSize": 123 } ], "executionTime": 123, "exportType": "html" }, "error": "<string>" }
Export conversation as HubSpot-compatible HTML and HubL files.
JWT Bearer token authentication. Use 'Authorization: Bearer ' where the JWT token is obtained from the login endpoint.
The conversation ID to export
Custom options for HubSpot export
Show child attributes
Custom instructions for the export
HubSpot export successful
Array of exported files with download URLs and content
Name of the exported file
Download URL for the exported file
File content
Format of the exported file
html
hubl
json
text
mjml
Description of the exported file
File size in bytes
Export execution time in milliseconds
Type of export performed
klaviyo
mailchimp
hubspot
Was this page helpful?