{"uid":"cap_nRWoCF1kL-ZOv_dNO_NL7","slug":"agentmail-domain-id-7c0d3dad","name":"AgentMail Get Domain","description":"Get Domain","url":"https://mpp.api.agentmail.to/v0/pods/:pod_id/domains/:domain_id?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["pod_id","domain_id"],"properties":{"pod_id":{"type":"string","title":"PodId","description":"ID of pod."},"domain_id":{"type":"string","title":"DomainId","description":"The name of the domain. (e.g., \" your-domain.com\")"}}},"responseSchema":{"type":"object","title":"Domain","required":["domain_id","status","feedback_enabled","records","updated_at","created_at"],"properties":{"pod_id":{"type":"string","title":"PodId","description":"ID of pod."},"status":{"enum":["NOT_STARTED","PENDING","INVALID","FAILED","VERIFYING","VERIFIED"],"type":"string","title":"VerificationStatus"},"records":{"type":"array","items":{"type":"object","title":"VerificationRecord","required":["type","name","value","status"],"properties":{"name":{"type":"string","description":"The name or host of the record."},"type":{"enum":["TXT","CNAME","MX"],"type":"string","title":"RecordType"},"value":{"type":"string","description":"The value of the record."},"status":{"enum":["MISSING","INVALID","VALID"],"type":"string","title":"RecordStatus"},"priority":{"type":"integer","description":"The priority of the MX record."}}},"description":"A list of DNS records required to verify the domain."},"client_id":{"type":"string","title":"ClientId","description":"Client ID of domain."},"domain_id":{"type":"string","title":"DomainId","description":"The name of the domain. (e.g., \" your-domain.com\")"},"created_at":{"type":"string","format":"date-time","description":"Time at which the domain was created."},"updated_at":{"type":"string","format":"date-time","description":"Time at which the domain was last updated."},"feedback_enabled":{"type":"boolean","title":"FeedbackEnabled","description":"Bounce and complaint notifications are sent to your inboxes."}}},"example":null,"exampleRequest":null,"tags":["email","inboxes","domains","drafts","threads","webhooks","messaging","ai","social"],"displayCostAmount":"0","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"proven_free","priceSource":"unknown","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":null,"accepted":[]},"paymentMethods":[],"brandName":"AgentMail","brandSlug":"agentmail","brandBaseUrl":"https://agentmail.to","brandDocsUrl":"https://docs.agentmail.to","whatItDoes":"Retrieves the current verification status and DNS records for a specific domain registered under an AgentMail pod","exampleAgentPrompt":"Can you check the current verification status and DNS records for the domain 'myagent.com' under my AgentMail pod 'pod_abc123'?","exampleUseCases":[{"title":"Diagnose email setup blocking issues","prompt":"I'm trying to set up email for my AI agent but it's not sending. Can you pull the domain verification status for 'sales.mycompany.com' and tell me which DNS records are still missing or misconfigured?"},{"title":"Verify domain ready for production","prompt":"Before we go live with our agent fleet, I need to confirm that 'support-ai.example.org' is fully verified and ready to send emails from my AgentMail pod. Can you check if all the DNS records are valid?"},{"title":"Audit agent email notification setup","prompt":"I want to make sure bounce and complaint notifications are working properly for 'assistant.ourcompany.net' in our pod. Can you pull up the current domain details and tell me if feedback is enabled?"}],"resultDescription":"Returns a Domain object including the domain name, verification status (one of NOT_STARTED, PENDING, INVALID, FAILED, VERIFYING, VERIFIED), an array of required DNS records (TXT, CNAME, MX) each with name, value, and per-record status (MISSING, INVALID, VALID), whether feedback (bounce/complaint notifications) is enabled, and timestamps for creation and last update.","failureModes":["Pod not found — invalid pod_id returns 404","Domain not found — invalid or non-existent domain_id returns 404","Unauthorized — missing or invalid Bearer token returns 401","Domain status FAILED — domain verification has failed due to incorrect DNS records","Domain status INVALID — DNS records are present but incorrect"],"whenToPreferThis":"Use this endpoint when you need to check the verification state of a specific domain within an AgentMail pod, inspect which DNS records are missing or misconfigured, or confirm a domain is ready to use for AI agent email sending. Prefer this over listing all domains when you already know the specific domain_id and pod_id and need detailed per-record status.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-06-19T22:52:16.199Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T06:46:59.209Z","isFirstParty":false,"canonicalSlug":"agentmail-domain-id-7c0d3dad"}