{"uid":"cap_u5TQRkr544pEf3K8hLITz","slug":"agentmail-get-domain-zone-file-453e7b1f","name":"AgentMail Get Domain Zone File","description":"AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.","url":"https://x402.api.agentmail.to/v0/domains/%7Bdomain_id%7D/zone-file","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","pathParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","required":["domain_id"],"properties":{"domain_id":{"type":"string"}},"additionalProperties":false},"queryParams":{"type":"object","properties":{},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","additionalProperties":true}},"additionalProperties":false}},"additionalProperties":false},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"proven_free","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"free","summary":"Free","primary":{"kind":"free","protocol":"x402","network":"base","amountUsd":null,"per":"call","confidence":"unknown"},"accepted":[{"kind":"free","protocol":"x402","network":"base","amountUsd":null,"per":"call","confidence":"unknown"}]},"paymentMethods":[{"uid":"pm__b4VtuqMkA5DHyBdfWHb_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves the DNS zone file for a specified AgentMail email domain","exampleAgentPrompt":"Can you fetch the DNS zone file for my AgentMail domain with ID 'acme-corp-mail' so I can see the current DNS records configured for it?","exampleUseCases":null,"resultDescription":"Returns the DNS zone file for the specified domain, including DNS records such as MX, TXT, SPF, and other configuration entries that define how email is routed for that AgentMail domain.","failureModes":["Domain ID not found — returns 404 if the specified domain_id does not exist","Unauthorized — returns 401 or 403 if the caller lacks permission to access this domain","Invalid domain_id format — returns 400 for malformed path parameters","Empty response if the domain has no zone file configured yet"],"whenToPreferThis":"Use this endpoint when you need to inspect or verify the DNS zone file configuration for a specific AgentMail-managed email domain, for example to confirm MX records are set correctly or to audit DNS settings for an agent inbox domain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-08T18:39:12.257Z","isFirstParty":false}