Skip to main content

Get domain mailbox

Retrieve details of a single mailbox under a purchased domain, including general mailbox information, credentials, and IMAP/SMTP settings. To get a list of all mailboxes under a domain, use the list domain mailboxes endpoint.

Request

Endpoint

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

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
mailbox_emailYesstringMailbox email address. The mailbox must belong to the domain in domain_name. URL-encode it if your client does not encode path parameters automatically, for example richard%40piedpiper.com

Request samples

Get a mailbox

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

Response

Response examples

Request processed successfully

{
"first_name": "Richard",
"last_name": "Hendricks",
"email": "richard@piedpiper.com",
"login": "richard@piedpiper.com",
"provider": "MAILDOSO",
"status": "PAID",
"authenticator": null,
"smtp_server": "smtp.example.com",
"smtp_password": "secret",
"smtp_port": 587,
"imap_server": "imap.example.com",
"imap_email": "richard@piedpiper.com",
"imap_password": "secret",
"imap_port": 993,
"created": "2026-06-24T10:00:00",
"profile_picture": "https://avatars.example.com/users/40/avatar.png"
}

Body schema

FieldTypeDescription
first_namestringMailbox display first name
last_namestringMailbox display last name
emailstringMailbox email address
loginstringLogin used for the mailbox
providerstringPublic provider name
statusstringMailbox status. Possible values are ORDERED and PAID
authenticatorstring or nullCurrent one-time authenticator code when available
smtp_serverstringSMTP server hostname
smtp_passwordstringSMTP password
smtp_portintegerSMTP port number
imap_serverstringIMAP server hostname
imap_emailstringIMAP email address
imap_passwordstringIMAP password
imap_portintegerIMAP port number
createdstringMailbox creation timestamp
profile_picturestring or nullProfile picture URL