/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
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"
)
client = AhoSdk.account(api_key: ENV["AHO_API_KEY"])
result = client.domains.verify(
id: "example_id"
)
import { AhoSdk } from '@aho/sdk';
const client = AhoSdk.account({ apiKey: process.env.AHO_API_KEY });
const result = await client.domains.verify({
id: "example_id"
});
curl -X POST 'https://api.aho.com/v1/account/domains/example_id/verify' \
-H 'X-API-Key: $AHO_API_KEY'
Try It
Log in to test this endpoint directly from the documentation.
Log in