API referenceDomains
Write the domain's DNS records into Cloudflare
Uses a Cloudflare API token with DNS edit rights on the zone. Existing records are left alone. The token is not stored.
POST
Uses a Cloudflare API token with DNS edit rights on the zone. Existing records are left alone. The token is not stored.
bearerAuthheader
AuthorizationBearer <mr_live_ / mr_test_>API key. Never log the secret.
id*stringapplication/json- body
provider*"cloudflare"Value in
"cloudflare"api_token*stringinclude_inbound?booleanPer-record outcome (created, exists, skipped, failed)
curl -X POST 'https://api.mailroomapi.com/v1/domains/string/auto-configure' \ -H 'Content-Type: application/json' \ -d '{ "provider": "cloudflare", "api_token": "string"}'Example Response200
Empty