Home > widget-integration > FilterService > getFilterApiEndpoint

FilterService.getFilterApiEndpoint() method

Gets the filter API endpoint URL.

Returns the configured filter URL from app config, or the Node SSR filter endpoint when SSR is enabled. Centralizes endpoint resolution so overrides can customize where filter requests are sent.

Signature:

getFilterApiEndpoint(): string;

Returns:

string

Filter API endpoint URL

Example

Override to route filter requests through a custom proxy:

getFilterApiEndpoint() {
  const customProxy = this.appService.TAEAppConfig.customFilterProxy;
  return customProxy || super.getFilterApiEndpoint();
}