Skip to content

Contacts

Namecheap: domains.getContacts

GET /domains/:domain/contacts

Response 200

{
"data": {
"domain": "example.com",
"registrant": {
"firstName": "John",
"lastName": "Doe",
"address1": "123 Main St",
"city": "Anytown",
"stateProvince": "CA",
"postalCode": "90210",
"country": "US",
"phone": "+1.5551234567",
"emailAddress": "john@example.com"
},
"tech": { "..." },
"admin": { "..." },
"auxBilling": { "..." }
}
}

All four contact types are required.

Namecheap: domains.setContacts

POST /domains/:domain/contacts
{
"registrant": {
"firstName": "John",
"lastName": "Doe",
"address1": "123 Main St",
"city": "Anytown",
"stateProvince": "CA",
"postalCode": "90210",
"country": "US",
"phone": "+1.5551234567",
"emailAddress": "john@example.com"
},
"tech": { "...same fields..." },
"admin": { "...same fields..." },
"auxBilling": { "...same fields..." }
}

Contact fields:

FieldTypeRequired
firstNamestringyes
lastNamestringyes
address1stringyes
address2stringno
citystringyes
stateProvincestringyes
postalCodestringyes
countrystring (2-letter)yes
phonestring (+CC.NUMBER)yes
emailAddressstringyes
organizationNamestringno
jobTitlestringno
phoneExtstringno
faxstringno

Response 200

{
"data": { "domain": "example.com", "isSuccess": true }
}