cURL
curl --request POST \ --url https://api.migma.ai/v1/emails/validate/spelling \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "html": "<string>", "languages": [ "<string>" ], "checkGrammar": true } '
{ "success": true, "data": { "totalWords": 123, "errors": [ { "word": "<string>", "suggestions": [ "<string>" ], "context": "<string>", "type": "<string>" } ], "summary": { "totalErrors": 123, "uniqueErrors": 123 }, "metadata": { "processingTime": 123, "aiModel": "<string>", "tokensUsed": 123 } } }
AI-powered spell checking, grammar analysis, and content quality assessment for email content.
JWT Bearer token authentication. Use 'Authorization: Bearer ' where the JWT token is obtained from the login endpoint.
Email HTML content to check
Languages to check (auto-detected if not provided)
Include grammar checking
Spelling check completed
Show child attributes
Was this page helpful?