CloudMailin icon

CloudMailin

Manage CloudMailin inbound addresses, custom domains, sending domains, send emails, and track message statuses via the CloudMailin API.

Actions17

Custom Domain → Create

AI-generated

Summary

Create a custom domain for an inbound address in CloudMailin

Inputs

  • addressId (required) — The address ID this custom domain belongs to
  • domain (required) — The domain name to add. MX records must already point to CloudMailin.
  • additionalFields — Optional additional fields for the custom domain

Output shape

The created custom domain object returned by the CloudMailin API, including the domain's ID and configuration.

The operation posts to /custom_domains?address_id=${addressId} with a body containing domain, and optionally auth_regex and domain_target derived from additionalFields.authRegex and additionalFields.domainTarget.

Links

Discussion