Actions17
Custom Domain → Create
AI-generatedSummary
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 containingdomain, and optionallyauth_regexanddomain_targetderived fromadditionalFields.authRegexandadditionalFields.domainTarget.