Skip to main content
POST /v1/account/domains/{id}/verify API Key

Verify domain

Trigger verification checks for both TXT (ownership) and CNAME (routing)
DNS records. Returns detailed status for each verification type.

Both verifications must pass for the domain to be considered fully verified.

Parameters

Name Location Type Description
id * path string Domain ID
X-API-Key * header string API key for authentication

* Required parameter

Response

200 Verification status

Content-Type: application/json

success boolean
data object

Result of domain verification check

domain string

The domain name

Example: trust.example.com

fully_verified boolean

Whether both verifications passed

Example: true

txt_verification object
status string

Example: verified

verified boolean

Example: true

verified_at string (date-time) nullable

Example: 2025-01-10T09:00:00Z

check_passed boolean

Example: true

error string nullable
cname_verification object
verified boolean

Example: true

verified_at string (date-time) nullable

Example: 2025-01-10T09:30:00Z

check_passed boolean

Example: true

error string nullable

Code Examples

import os
from aho_sdk import AhoSdk

client = AhoSdk.account(api_key=os.environ["AHO_API_KEY"])

result = client.domains.verify(
    id="example_id"
)

Try It

Log in to test this endpoint directly from the documentation.

Log in