Skip to main content

Get domain details

Retrieve details for a single purchased domain, including owner data, forwarding settings, readiness status, and mailbox summary. To retrieve all purchased domains that belong to your account, use the list domains endpoint.

Request

Endpoint

GET https://api.woodpecker.co/rest/v2/domains/{domain_name}

Headers

x-api-key: {YOUR_API_KEY}

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

Parameters

ParameterRequiredTypeDescription
domain_nameYesstringFull domain name

Request samples

Get a domain

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

Response

Response examples

Request processed successfully

{
"owner": {
"email": "owner@piedpiper.com",
"first_name": "Richard",
"last_name": "Hendricks",
"company_name": "Pied Piper",
"address": "5230 Newell Road",
"city": "Palo Alto",
"state": "CA",
"country": "US",
"zip_code": "94303",
"phone": "+1 650 555 0100"
},
"email_forward_address": "forward@piedpiper.com",
"domain_redirect_url": "https://piedpiper.com",
"expires": "2027-06-24T10:00:00",
"created": "2026-06-24T10:00:00",
"is_custom_domain": true,
"is_ready": true,
"provider": "GOOGLE",
"mailboxes_count": 2,
"max_mailboxes": 10,
"all_mailboxes_are_ready": false
}

Body schema

FieldTypeDescription
ownerobjectDomain owner details
  └─ emailstringOwner email address
  └─ first_namestringOwner first name
  └─ last_namestringOwner last name
  └─ company_namestring or nullOwner company name
  └─ addressstringOwner street address
  └─ citystringOwner city
  └─ statestringOwner state or region
  └─ countrystringOwner country code
  └─ zip_codestringOwner postal code
  └─ phonestringOwner phone number
email_forward_addressstring or nullDomain forwarding email address
domain_redirect_urlstring or nullDomain redirect URL
expiresstringDomain expiration timestamp
createdstringDomain creation timestamp
is_custom_domainbooleanWhether the domain is marked as custom
is_readybooleanWhether the domain is ready to use
providerstringPublic provider name
mailboxes_countintegerNumber of non-deleted mailboxes on the domain
max_mailboxesintegerMaximum number of mailboxes allowed on the domain
all_mailboxes_are_readybooleanWhether every non-deleted mailbox on the domain is ready