cURL
curl --request POST \ --url https://api.migma.ai/v1/emails/validate/all \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "html": "<string>", "subject": "<string>", "options": { "checkCompatibility": true, "checkLinks": true, "checkSpelling": true, "checkDeliverability": true, "clients": [ "<string>" ], "languages": [ "<string>" ] } } '
{ "success": true, "data": { "overallScore": 123, "compatibility": {}, "linkAnalysis": {}, "spelling": {}, "deliverability": {}, "summary": { "criticalIssues": 123, "warnings": 123, "passed": [ "<string>" ], "failed": [ "<string>" ] } } }
Run all validation checks (compatibility, links, spelling, deliverability) in a single request for comprehensive email analysis.
JWT Bearer token authentication. Use 'Authorization: Bearer ' where the JWT token is obtained from the login endpoint.
Email HTML content to validate
Email subject line
Show child attributes
All validations completed
Was this page helpful?