Palisade Mta Sts API
The MtaSts API from Palisade — 2 operation(s) for mtasts.
The MtaSts API from Palisade — 2 operation(s) for mtasts.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/palisade-email:palisade-email-mtasts-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
version: '2025-04-30'
title: Palisade Mta Sts API
description: 'The Palisade API uses independent rate-limit buckets. Honor the response headers — do not hard-code limits.
### Buckets
- **Global** — applies to every request reaching the API (public and authenticated alike).
- **DNS** — applies in addition to the global bucket on endpoints that trigger outbound DNS resolution during the request (domain verify, find-dkim-keys, the DNS-reading tools — audit, mailbox provider, SPF include validation, DNS lookup and header analysis — and DNS provider detect). A request can hit either bucket independently.
- **API key** — applies in addition to the global bucket on every request authenticated with an API key. Each key gets its own bucket, shared across all API instances.
- **API key DNS** — a stricter per-key bucket that applies in addition to the DNS bucket on the same DNS-triggering endpoints when the request is authenticated with an API key.
- **Signup** — a per-IP bucket on the headless signup endpoint.
- **MCP OAuth** — a per-subject bucket on the MCP server for requests authenticated with an OAuth (JWT) token, mirroring the API-key bucket for token callers.
### Headers on every response
- `RateLimit-Limit`, `RateLimit-Remaining`, `RateLimit-Reset` — current bucket state.
### Headers on 429 responses
- `Retry-After` — seconds to wait before retrying.
### 429 response body
`{ "error": "rate_limit_exceeded", "scope": "global" | "dns" | "api_key" | "api_key_dns" | "signup" | "mcp_oauth", "limit": N, "window_seconds": N, "retry_after_seconds": N, "message": "..." }`. Clients must respect `Retry-After` and back off exponentially on repeat failures.
### Keying
Limits are applied **per API key** when the request carries Basic credentials, **per JWT subject** for dashboard-session callers, and fall back to **per source IP** otherwise. Multiple keys from the same host each get their own bucket.'
servers:
- url: https://api.palisade.email
description: API server
tags:
- name: MtaSts
paths:
/domains/{domainId}/mta-sts:
get:
tags:
- MtaSts
summary: Get MTA-STS status
operationId: getMtaSts
security:
- BearerAuth: []
- BasicAuth: []
parameters:
- schema:
type: string
format: uuid
required: true
name: domainId
in: path
- schema:
$ref: '#/components/schemas/ApiVersion'
required: true
name: Palisade-Version
in: header
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/MtaSts'
post:
tags:
- MtaSts
summary: Enable MTA-STS
operationId: enableMtaSts
security:
- BearerAuth: []
- BasicAuth: []
parameters:
- schema:
type: string
format: uuid
required: true
name: domainId
in: path
- schema:
$ref: '#/components/schemas/ApiVersion'
required: true
name: Palisade-Version
in: header
requestBody:
content:
application/json:
schema:
type: object
properties:
mode:
type: string
enum:
- testing
- enforce
- none
default: testing
max_age:
type: number
minimum: 86400
maximum: 31557600
default: 86400
default: {}
additionalProperties: false
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/MtaSts'
put:
tags:
- MtaSts
summary: Update the MTA-STS policy
operationId: updateMtaStsPolicy
security:
- BearerAuth: []
- BasicAuth: []
parameters:
- schema:
type: string
format: uuid
required: true
name: domainId
in: path
- schema:
$ref: '#/components/schemas/ApiVersion'
required: true
name: Palisade-Version
in: header
requestBody:
content:
application/json:
schema:
type: object
properties:
mode:
type: string
enum:
- testing
- enforce
- none
max_age:
type: number
minimum: 86400
maximum: 31557600
additionalProperties: false
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/MtaSts'
delete:
tags:
- MtaSts
summary: Disable MTA-STS
operationId: disableMtaSts
security:
- BearerAuth: []
- BasicAuth: []
parameters:
- schema:
type: string
format: uuid
required: true
name: domainId
in: path
- schema:
$ref: '#/components/schemas/ApiVersion'
required: true
name: Palisade-Version
in: header
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/MtaSts'
/domains/{domainId}/mta-sts/retry:
post:
tags:
- MtaSts
summary: Retry a failed MTA-STS setup
operationId: retryMtaSts
description: Requests a fresh certificate for mta-sts.{domain} after a failed setup. The domain must already have MTA-STS hosting enabled, must currently be in the error state, and must be publishing the mta-sts CNAME, otherwise the retry is refused with an explanation. A setup still in progress is refused rather than restarted. Returns the domain unchanged when its certificate is already active.
security:
- BearerAuth: []
- BasicAuth: []
parameters:
- schema:
type: string
format: uuid
required: true
name: domainId
in: path
- schema:
$ref: '#/components/schemas/ApiVersion'
required: true
name: Palisade-Version
in: header
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/MtaSts'
components:
schemas:
MtaSts:
type: object
properties:
is_managed:
type: boolean
status:
allOf:
- $ref: '#/components/schemas/DnsStatus'
- {}
mode:
type:
- string
- 'null'
enum:
- testing
- enforce
- none
- null
max_age:
type:
- number
- 'null'
mx:
type:
- array
- 'null'
items:
type: string
policy_id:
type:
- string
- 'null'
custom_hostname_id:
type:
- string
- 'null'
cname_target:
type: string
txt_cname_target:
type: string
tls_reporting_email:
type:
- string
- 'null'
tls_rpt_record:
type:
- string
- 'null'
required:
- is_managed
- status
- mode
- max_age
- mx
- policy_id
- custom_hostname_id
- cname_target
- txt_cname_target
- tls_reporting_email
- tls_rpt_record
DnsStatus:
type: string
enum:
- unknown
- syncing
- ready
- error
ApiVersion:
type: string
enum:
- '2025-04-30'
- unstable
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
BasicAuth:
type: http
scheme: basic
description: 'API key sent as HTTP Basic credentials. Put the API key in the username and leave the password empty: `Authorization: Basic base64(<api_key>:)`.'
externalDocs:
description: View the raw OpenAPI Specification in JSON format
url: /swagger.json