Skip to main content

Order domain mailboxes

Order mailboxes for domains you already purchased in Woodpecker.

The mailboxes are preconfigured for cold emailing and ready to use in Woodpecker. To purchase a new domain together with mailboxes, use the order domains endpoint.

Request

info

This endpoint will create billable mailbox assets

Mailbox purchases are paid from your prepaid funds, so you need enough balance before placing an order. After purchase, mailbox renewals are covered by your regular monthly Woodpecker billing cycle. Use the get domain providers endpoint to check mailbox pricing before placing an order.

Endpoint

POST https://api.woodpecker.co/rest/v2/domains/mailboxes/order

Headers

x-api-key: {YOUR_API_KEY}
Content-Type: application/json

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

Body

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

Body schema

FieldTypeRequiredDescription
mailboxesarrayYesMailboxes to order for existing active domains
  └─ first_namestringYesMailbox owner's first name. Used to display the 'from name'
  └─ last_namestringYesMailbox owner's last name. Used to display the 'from name'
  └─ emailstringYesMailbox email address to order

Request samples

Order a mailbox

curl --request POST \
--url "https://api.woodpecker.co/rest/v2/domains/mailboxes/order" \
--header "x-api-key: {YOUR_API_KEY}" \
--header "Content-Type: application/json" \
--data '{
"mailboxes": [
{
"first_name": "Richard",
"last_name": "Hendricks",
"email": "richard@piedpiper.com"
}
]
}'

Response

Response examples

The order has been accepted for processing. Use the list domain mailboxes endpoint to review the processing status.