How to create dynamic domain aliases or via API?

Hi, @iamromec. Why, yes! There is an API: