AhaSend · Schema

CreateDomainRequest

CreateDomainRequest schema from AhaSend API

EmailTransactional EmailDeveloper ToolsSMTPWebhook

Properties

Name Type Description
domain string Fully qualified domain name
dkim_private_key string DKIM Private Key for the domain. Only RSA keys with a minimum key size of 2048 bits are supported. **Note:** This parameter is only supported on [Platform Partner](https://ahasend.com/partners) accoun
tracking_subdomain string Optional custom tracking subdomain. Omit to use the default on create.
return_path_subdomain string Optional custom return-path subdomain. Omit to use the default on create.
subscription_subdomain string Optional custom subscription management subdomain. Omit to use the default on create.
media_subdomain string Optional custom media subdomain. Omit to use the default on create.
dkim_rotation_interval_days integer Optional custom DKIM rotation interval in days. Only supported for managed DNS domains on eligible plans.
View JSON Schema on GitHub

JSON Schema

openapi-v2-create-domain-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ahasend/refs/heads/main/json-schema/openapi-v2-create-domain-request-schema.json",
  "title": "CreateDomainRequest",
  "description": "CreateDomainRequest schema from AhaSend API",
  "type": "object",
  "properties": {
    "domain": {
      "type": "string",
      "format": "hostname",
      "description": "Fully qualified domain name",
      "example": "mail.example.com"
    },
    "dkim_private_key": {
      "type": "string",
      "description": "DKIM Private Key for the domain. Only RSA keys with a minimum key size of 2048 bits are supported.\n\n**Note:** This parameter is only supported on [Platform Partner](https://ahasend.com/partners) accounts.\n",
      "example": "aha-sk-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
    },
    "tracking_subdomain": {
      "type": "string",
      "description": "Optional custom tracking subdomain. Omit to use the default on create.",
      "example": "mail.example.com"
    },
    "return_path_subdomain": {
      "type": "string",
      "description": "Optional custom return-path subdomain. Omit to use the default on create.",
      "example": "mail.example.com"
    },
    "subscription_subdomain": {
      "type": "string",
      "description": "Optional custom subscription management subdomain. Omit to use the default on create.",
      "example": "mail.example.com"
    },
    "media_subdomain": {
      "type": "string",
      "description": "Optional custom media subdomain. Omit to use the default on create.",
      "example": "mail.example.com"
    },
    "dkim_rotation_interval_days": {
      "type": "integer",
      "description": "Optional custom DKIM rotation interval in days. Only supported for managed DNS domains on eligible plans.",
      "example": 1
    }
  },
  "required": [
    "domain"
  ],
  "example": {
    "domain": "example.com",
    "tracking_subdomain": "click",
    "return_path_subdomain": "mail",
    "subscription_subdomain": "preferences",
    "media_subdomain": "media",
    "dkim_rotation_interval_days": 45
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/openapi-v2-create-domain-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.