JavaScript
import Migma from 'migma'; const migma = new Migma('YOUR_API_KEY'); const { data, error } = await migma.export.getStatus('CONVERSATION_ID');
{ "success": true, "data": { "conversationId": "<string>", "canExport": true, "availableFormats": [ "<string>" ], "reason": "<string>" }, "error": "<string>" }
Check export availability for a conversation
API key authentication. Use 'Authorization: Bearer YOUR_API_KEY' where YOUR_API_KEY is obtained from the Migma dashboard under Settings → API Integration.
The conversation ID to check
Export status retrieved
Show child attributes
Was this page helpful?