domains

Write DNS records in one click

Writes the DNS records Mailly needs directly into your zone using the Cloudflare token (saved or passed in this request); idempotent, and conflicting records are not overwritten. The body is optional.

post/sender-domains/{id}/apply-dns

Request

  • Base URL: https://api.mailly.site (the document declares no server; this is the origin it was published from)
  • URL: https://api.mailly.site/sender-domains/{id}/apply-dns
  • Auth: HTTP bearer

Path parameters

idstring required

Domain record ID

Request body

providerstring

Only cloudflare is supported for now

scope'outbound' | 'inbound' | 'all'

Default all

apiTokenstring

Cloudflare token for this request (takes precedence over the saved one)

Response

DNS write result

successboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.