cURL
curl --request POST \ --url https://api.migma.ai/v1/emails/validate/links \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "html": "<string>", "timeout": 10000, "followRedirects": true } '
{ "success": true, "data": { "totalLinks": 123, "checkedLinks": [ { "url": "<string>", "type": "<string>", "status": 123, "statusText": "<string>", "responseTime": 123, "error": "<string>" } ], "summary": { "workingLinks": 123, "brokenLinks": 123, "unreachableLinks": 123, "averageResponseTime": 123 }, "recommendations": [ "<string>" ], "metadata": { "processingTime": 123, "linksChecked": 123, "linksSkipped": 123 } } }
Check all links in email HTML for validity and responsiveness. Identifies broken links, slow-loading resources, and unreachable URLs.
JWT Bearer token authentication. Use 'Authorization: Bearer ' where the JWT token is obtained from the login endpoint.
Email HTML content containing links
Timeout per link in milliseconds
1000 <= x <= 30000
Follow HTTP redirects when checking links
Link analysis completed
Show child attributes
Was this page helpful?