Skip to main content

Domains

The /domains API lets you purchase domains and mailboxes that are preconfigured for cold emailing and ready to use in Woodpecker. You can also check domain availability, save domain owner details, list ordered and purchased domains and mailboxes with their statuses, and manage domain-level settings such as redirect URLs and email forwarding.

Before placing an order, use the provider and availability endpoints to check available options and pricing. Domain orders require domain owner details, so create or update them first if they are not saved in the account yet. After a domain is active, you can order additional mailboxes for it or update its redirect and forwarding settings.

Some operations create billable assets. Domain and mailbox purchases are paid from prepaid funds. After purchase, mailbox renewals are covered by your regular monthly Woodpecker billing cycle.

Purchase flow

  1. Check your prepaid funds in Woodpecker. If the balance is too low, add prepaid funds before placing an order.
  2. Use Get providers to review available providers and mailbox pricing, then use Search domain availability or Check domain availability to find domains you can buy.
  3. Use Get domain owner to check the saved owner details. If this is your first domain purchase or the details have changed, use Save domain owner before ordering.
  4. Place the order for domain and mailboxes with Order domains. To add mailboxes to an existing active domain, use Order mailboxes.
  5. Domain and mailbox orders are processed asynchronously. After the order is accepted, use List domains, Get domain details, List domain mailboxes, or Get domain mailbox to check whether the domain is ready and whether ordered mailboxes are paid and available.
  6. After the domain and mailboxes are ready, adjust domain and mailbox settings if needed. Redirect URL and email forwarding can use defaults saved in the owner configuration, or you can update them with Set redirect URL and Set email forwarding. Use Update mailbox profile picture to set mailbox avatars.

Available endpoints

The table below lists every documented endpoint under /rest/v2/domains.

EndpointMethod and pathUse it to
Get providersGET /rest/v2/domains/providersRetrieve providers available for domain orders, including mailbox prices
Search domain availabilityGET /rest/v2/domains/availabilitySearch available domains by phrase
Check domain availabilityPOST /rest/v2/domains/availabilityCheck a specific list of domains
Get domain ownerGET /rest/v2/domains/ownerRetrieve saved domain owner details
Save domain ownerPOST /rest/v2/domains/ownerCreate or update domain owner details
Order domainsPOST /rest/v2/domains/orderOrder domains and mailboxes together
Order mailboxesPOST /rest/v2/domains/mailboxes/orderOrder mailboxes for existing active domains
List domainsGET /rest/v2/domainsRetrieve domains that belong to your account
Get domain detailsGET /rest/v2/domains/{domain_name}Retrieve owner, settings, and mailbox summary for one domain
List domain mailboxesGET /rest/v2/domains/{domain_name}/mailboxesRetrieve mailboxes that belong to one domain
Get domain mailboxGET /rest/v2/domains/{domain_name}/mailboxes/{mailbox_email}Retrieve mailbox details and connection settings
Update mailbox profile picturePATCH /rest/v2/domains/{domain_name}/mailboxes/{mailbox_email}/profile_pictureUpdate a mailbox profile picture
Set redirect URLPATCH /rest/v2/domains/{domain_name}/set_redirect_urlUpdate the redirect URL for a domain
Set email forwardingPATCH /rest/v2/domains/{domain_name}/set_email_forwardingUpdate the forwarding address for a domain
Delete domainDELETE /rest/v2/domains/{domain_name}Delete a domain from Woodpecker
Delete mailboxDELETE /rest/v2/domains/{domain_name}/mailboxes/{mailbox_email}Delete a mailbox from a domain