Skip to main content

Get domain owner

Retrieve the domain owner details saved for the account. These details are required before ordering domains and are used to register purchased domains.

Request

Endpoint

GET https://api.woodpecker.co/rest/v2/domains/owner

Headers

x-api-key: {YOUR_API_KEY}

For details on how to authenticate your requests, please see the authentication guide.

Request samples

Retrieve domain owner

curl --request GET \
--url "https://api.woodpecker.co/rest/v2/domains/owner" \
--header "x-api-key: {YOUR_API_KEY}"

Response

Response examples

Request processed successfully. If the account does not have saved owner details yet, the endpoint returns an object with all values set to null

{
"email": "richard@piedpiper.com",
"first_name": "Richard",
"last_name": "Hendricks",
"company_name": "Pied Piper",
"address": "123 Street",
"city": "Palo Alto",
"state": "CA",
"country": "US",
"zip_code": "943032",
"phone": "+1 100 200 3000",
"configuration": {
"default_domain_redirect_url": "https://piedpiper.com",
"default_email_forward_address": "forward@piedpiper.com"
}
}

Body schema

FieldTypeDescription
emailstring/nullOwner email address
first_namestring/nullOwner first name
last_namestring/nullOwner last name
company_namestring/nullCompany name
addressstring/nullOwner address
citystring/nullOwner city
statestring/nullOwner state or region
countrystring/nullOwner country code
zip_codestring/nullOwner postal code
phonestring/nullOwner phone number
configurationobjectDefault domain settings
  └─ default_domain_redirect_urlstring/nullDefault redirect URL for ordered domains
  └─ default_email_forward_addressstring/nullDefault forwarding address for ordered domains