---
title: "MTA-STS policy check"
method: GET
path: "/email/mta-sts"
tags: ["email"]
---

# MTA-STS policy check

`GET /email/mta-sts`

## Request

- Base URL: `https://intodns.ai/api`
- URL: `https://intodns.ai/api/email/mta-sts`
- Auth: none required

Check the _mta-sts TXT record and fetch the HTTPS MTA-STS policy file.

## Query parameters

- `domain` string, required

## Response `200`

MTA-STS analysis result

- MTASTSResult
  - `exists` boolean
  - `record` string
  - `policyId` string
  - `policy` object
  - `policyUrl` string
  - `valid` boolean
  - `issues` string[]

---

[API](https://skmtc.dev/intodns/apis/intodns-ai-api.md) · [All operations](https://skmtc.dev/intodns/apis/intodns-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/intodns/apis/intodns-ai-api/revisions/c6c196b2fb4c?raw)
