I have registered a custom domain (My Domain) in my Enterprise Edition Org and I am able to successfully login through the custom domain url.
Custom Domain: mobilecustomdomain
However, if I try to fetch details about the custom domain using salesforce provisioned apis, there is no data that is getting returned for the same. I have done dnslookup for the same and able to get the CNAME records.
API I have used
I have created this custom domain 2 days back.
Let me know what is the issue with the api here.