code: def _build_url(self, endpoint):
          
          if not issubclass(type(self), ChatApiBase) and not self.subdomain:
              raise ZenpyException("subdomain is required when accessing the Zendesk API!")
  
          if self.subdomain:
              endpoint.netloc = '{}.{}'.format(self.subdomain, self.domain)
          else:
              endpoint.netloc = self.domain
  
          endpoint.prefix_path(self.api_prefix)
          return endpoint.build()
docs: Build complete URL