cURL
curl --request POST \ --url https://api.migma.ai/v1/emails/validate/deliverability \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "html": "<string>", "subject": "<string>", "fromName": "<string>", "fromEmail": "[email protected]" } '
{ "success": true, "data": { "prediction": { "category": "inbox", "confidence": 123, "score": 123, "reasoning": "<string>" }, "contentSignals": { "promotional": [ "<string>" ], "transactional": [ "<string>" ], "spam": [ "<string>" ], "engagement": [ "<string>" ] }, "spamScore": { "score": 123, "triggers": [ "<string>" ], "recommendations": [ "<string>" ] }, "recommendations": { "critical": [ "<string>" ], "important": [ "<string>" ], "suggested": [ "<string>" ] }, "metadata": { "processingTime": 123, "analysisType": "<string>" } } }
Predict email deliverability and inbox placement (Inbox/Promotions/Spam) based on content analysis.
JWT Bearer token authentication. Use 'Authorization: Bearer ' where the JWT token is obtained from the login endpoint.
Email HTML content to analyze
Email subject line
Sender name
Sender email address
Deliverability analysis completed
Show child attributes
inbox
promotions
spam
Was this page helpful?