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
HubSpot export successful
Was this page helpful?