domains commands let you add and verify sending domains; this page covers their arguments and flags.
Before running the examples, log in with a full API key, use your verified sender domain, and replace YOUR_RESOURCE_ID with a resource UUID from your test account. Create any named template, recipient, attachment, or JSON files first. Shell examples use Bash; examples that read JSON with jq need jq installed. Sends use sandbox mode.
Overview
list- List all domainscreate- Add a new domainget- Get domain detailsverify- Verify domain DNS configurationcheck-dns- Check published DNS recordsedit- Update domain settingsdelete- Remove a domain
List Domains
List all domains in your AhaSend account with their verification status, DNS record status, and other details. The list can be filtered and paginated for large numbers of domains.Create Domain
Verify Domain
After configuring DNS records:Most records verify within minutes. DNS changes can take up to 48 hours to propagate.
Get Domain Details
Check and Edit DNS Settings
--format also accepts bind and cloudflare; --no-dns-help omits DNS help.

