AhaSend Domains API

Manage sending domains

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v2/accounts/{account_id}/domains List sending domains · Get Domains #
Ask an LLM
“Which sending domains have I added to my account?”
“Can I list only the domains whose DNS records still aren't valid?”
Tell an agent
List all sending domains on account {account_id}.
Show domains on account {account_id} filtered by DNS valid = {dns_valid}.
POST /v2/accounts/{account_id}/domains Add a sending domain · Create Domain #
Ask an LLM
“How do I add a new domain to send email from in AhaSend?”
“Can I choose a custom tracking subdomain when I first add a domain?”
Tell an agent
Add the domain {domain} to account {account_id}.
Register {domain} on account {account_id} using tracking subdomain {tracking_subdomain}.
GET /v2/accounts/{account_id}/domains/{domain} View one domain and its DNS records · Get Domain #
Ask an LLM
“What DNS records do I need to publish for my domain?”
“Can I see the current configuration of a single domain I've added?”
Tell an agent
Show the details for domain {domain} on account {account_id}.
Get the DNS setup required for {domain} in account {account_id}.
PUT /v2/accounts/{account_id}/domains/{domain} Change a domain's subdomains or DKIM settings · Update Domain #
Ask an LLM
“How do I change the return-path subdomain on a domain I already added?”
“Can I change how often DKIM keys rotate on an existing domain?”
Tell an agent
Change the tracking subdomain of existing domain {domain} to {tracking_subdomain} on account {account_id}.
Rotate DKIM for {domain} every {dkim_rotation_interval_days} days on account {account_id}.
DELETE /v2/accounts/{account_id}/domains/{domain} Remove a sending domain · Delete Domain #
Ask an LLM
“How do I remove a domain I no longer send from?”
“Can I delete a domain from my account entirely?”
Tell an agent destructive · confirm first
Delete domain {domain} from account {account_id}.
Remove {domain} from the sending domains on account {account_id}.
POST /v2/accounts/{account_id}/domains/{domain}/check-dns Re-check a domain's DNS records · Check Domain DNS #
Ask an LLM
“How do I verify my DNS records after I've published them?”
“Why does a DNS check return the same result if I run it twice within a minute?”
Tell an agent
Run a DNS validation check on {domain} in account {account_id}.
Verify whether the DNS for {domain} on account {account_id} is now correct.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ahasend:ahasend-domains-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ahasend-domains-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AhaSend API v2 Domains API
  description: The AhaSend API v2 allows you to send transactional emails, manage domains, webhooks, routes, API keys, and view statistics.
  version: 2.0.0
  contact:
    email: support@ahasend.com
  license:
    name: MIT
    identifier: MIT
servers:
- url: https://api.ahasend.com
  description: Production server
security:
- BearerAuth: []
tags:


# --- truncated at 32 KB (33 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/ahasend/refs/heads/main/openapi/ahasend-domains-api-openapi.yml