Domain statuses
| Status | Description | Can send email |
|---|---|---|
pending_dns | Domain added, DNS records not yet verified. | No |
pending_warmup | DNS verified, warming up. | Yes (10/day limit) |
active | Fully verified and warmed up. | Yes (50/day limit, configurable) |
suspended | Sending suspended. | No |
AddDomain
Adds a custom domain to your account. Returns the domain record with a verification token. DNS records are configured asynchronously — check the required records usingListDomains or VerifyDomain after a moment.
Inputs
The domain name to add (e.g.,
"example.com"). Must be a valid domain format, not a public email provider domain, and not already registered on AgentPost.Unique identifier for the domain record.
The domain name you added.
Initial domain status. Typically
"pending_dns" immediately after adding.Token used to verify domain ownership via DNS.
A human-readable description of the next steps.
DNS records are set up asynchronously. Wait a moment after calling
AddDomain, then call VerifyDomain to retrieve the required DNS records and check their status.ListDomains
Lists all custom domains on your account with their verification status and sending capability. Inputs This tool takes no inputs. OutputTotal number of domains on your account.
VerifyDomain
Triggers a DNS verification check for a custom domain. Checks DKIM, SPF, and DMARC records against what the sending provider expects. If all checks pass and the domain is inpending_dns status, the domain transitions to pending_warmup and a warmup period begins (default 72 hours).
You can call this tool multiple times to re-check DNS records.
Inputs
The domain name to verify (e.g.,
"example.com"). You must own this domain.The domain name that was checked.
Updated domain status after the verification attempt.
Whether all DNS checks passed.
ISO 8601 timestamp of when the domain passed verification.
null if verification has not passed yet.ISO 8601 timestamp of when the warmup period ends.
null if not in warmup.Results of individual DNS record checks. Includes results for DKIM, SPF, and DMARC records.
RemoveDomain
Removes a custom domain from your account and from the sending provider. Mailboxes on the domain lose sending capability immediately. InputsThe domain name to remove (e.g.,
"example.com"). You must own this domain.Always
true when the domain was successfully removed.The domain name that was removed.