As of now, the V2 of Freshdesk's API supports only the Freshdesk URL on HTTPs. Making calls using the vanity URL isn't supported.