/v1/policy
Parsed MTA-STS policy file
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/mtasts-api/v1/policy" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mtasts-api/v1/policy", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mtasts-api/v1/policy");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/mtasts-api/v1/policy",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"mx": [
"*.mail.protection.outlook.com"
],
"url": "https://mta-sts.microsoft.com/.well-known/mta-sts.txt",
"mode": "enforce",
"found": true,
"domain": "microsoft.com",
"max_age": 604800,
"version": "STSv1"
},
"meta": {
"timestamp": "2026-06-01T23:40:44.675Z",
"request_id": "93b6c1a0-8174-4bc6-b1a9-a890be526bb6"
},
"status": "ok",
"message": "Policy retrieved",
"success": true
}