Get Name servers to connect domain
Get nameservers#
This endpoint lets you get nameservers.Endpoint#
Request Body#
Name | Type | Description |
---|
domainName | string | The name of the domain |
maskForwarding | boolean | Maskforwarding should be enabled or not. |
Request Code Samples
curl --location --request POST 'https://api.zapmail.ai/api/v2/domains/name-servers' \
--header 'x-auth-zapmail: '
Responses
application/json {
"status": 200,
"message": "NS records for transfer fetched successfully",
"data": {
"nameServers": "braelyn.ns.cloudflare.com,jermaine.ns.cloudflare.com"
}
}
Modified at 2025-06-20 05:30:25