Read and update the WHOIS contacts on a domain: the registrant, admin, technical, and billing parties.

Get contact details

Return the current contact set for a domain. GET /domains/{domain}/contact

Parameters

text
required
The domain to read, for example example.com.

Request

Response

Once the domain is active, this returns the stored contact set. Before the domain is provisioned to your account, it returns an empty array:

Save contact details

Replace the contact set on a domain. POST /domains/{domain}/contact

Parameters

text
required
The domain to update, for example example.com.
object
required
The full contact set, keyed by role: Registrant, Technical, Billing, and Admin. Each value is a Contact object.
The save keys are capitalized (Registrant, Technical, Billing, Admin) and differ from the lowercase contacts keys used when ordering (registrant, tech, billing, admin). See Models.
Encode each contact with nested bracket notation, for example contactdetails[Registrant][firstname]=Jane.

Request

Response

string
success when the contacts are saved.
string
Mirrors status; success on a successful save.
string
Empty on success, or an error description on failure.