{"uid":"cap_MCmhXkgC-QvWp4HK87Y3u","slug":"agentmail-zone-file-retrieval-8b05574e","name":"AgentMail Zone File Retrieval","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/pods/%7Bpod_id%7D/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":["pod_id","domain_id"],"properties":{"pod_id":{"type":"string"},"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_uOY6PCgutf8LeLFqpKH8X","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 specific domain within an AgentMail pod","exampleAgentPrompt":"Can you fetch the DNS zone file for domain ID 'acme-corp' inside AgentMail pod 'pod-abc123'? I want to see the current DNS records configured for that email domain.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the DNS zone file data for the specified domain within the given AgentMail pod, including DNS records and configuration entries used to route email for that domain.","failureModes":["pod_id or domain_id not found — likely 404 error","Unauthorized access if authentication token is missing or invalid","Domain does not belong to the specified pod — mismatch error","Empty or malformed zone file if domain is newly provisioned","Rate limiting or payment required (x402) if free tier exceeded"],"whenToPreferThis":"Use this endpoint when you need to inspect, audit, or verify the DNS zone configuration for a specific email domain managed within an AgentMail pod. Ideal when setting up email routing, debugging deliverability issues, or confirming DNS records are correctly provisioned for an AI agent's inbox domain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-08T18:45:02.447Z","isFirstParty":false}