Skip to main content

List domain mailboxes

Retrieve active mailboxes for a purchased domain, including basic mailbox information. For credentials and connection settings, use the get domain mailbox endpoint.

Request

Endpoint

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

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

List mailboxes

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

Response

Response examples

Request processed successfully. If there are no mailboxes under this domain, mailboxes will be an empty array.

{
"mailboxes": [
{
"first_name": "Richard",
"last_name": "Hendricks",
"email": "richard@piedpiper.com",
"provider": "GOOGLE",
"status": "PAID"
}
]
}

Body schema

FieldTypeDescription
mailboxesarrayMailboxes on the domain
  └─ first_namestringMailbox owner's first name
  └─ last_namestringMailbox owner's last name
  └─ emailstringMailbox email address
  └─ providerstringPublic provider name
  └─ statusstringMailbox status. Possible values are ORDERED and PAID