@coveo/headless
    Preparing search index...

    Function getOrganizationEndpoint

    • Retrieves the endpoint URL for a specific organization.

      Parameters

      • organizationId: string

        The ID of the organization.

      • environment: "dev" | "stg" | "hipaa" | "prod" = 'prod'

        The environment of the organization. Defaults to 'prod'.

      • endpointType: "admin" | "analytics" | "platform" = 'platform'

        The type of the endpoint. Defaults to 'platform'.

      Returns string

      The endpoint URL for the organization.