Skip to content

WhoisGuard

Namecheap: whoisguard.getList

GET /whoisguard?listType=ALL
ParamValuesDefault
listTypeALL, ALLOTED, FREE, EXPIREDALL
pagenumber1
pageSizenumber20

Response 200

{
"data": [
{
"id": "38495",
"domainName": "example.com",
"created": "05/13/2024",
"expires": "05/13/2025",
"status": "enabled"
}
],
"meta": { "totalItems": 1, "currentPage": 1, "pageSize": 20 }
}

Namecheap: whoisguard.enable

POST /whoisguard/:id/enable
{ "forwardedToEmail": "forward@example.com" }

Namecheap: whoisguard.disable

POST /whoisguard/:id/disable

Namecheap: whoisguard.renew

POST /whoisguard/:id/renew
{ "years": 1 }

Assign a WhoisGuard subscription to a domain.

Namecheap: whoisguard.allot

POST /whoisguard/:id/allot
{
"domainName": "example.com",
"forwardedToEmail": "forward@example.com"
}

Detach WhoisGuard from a domain (doesn’t delete it).

POST /whoisguard/:id/unallot

POST /whoisguard/:id/email
{ "forwardedToEmail": "new@example.com" }

Response 200

{
"data": {
"whoisguardId": "38495",
"isSuccess": true,
"newEmail": "new@example.com",
"oldEmail": "old@example.com"
}
}