@coveo/headless-react
    Preparing search index...

    Function getOrganizationEndpoint

    • Retrieves the endpoint URL for a specific organization.

      Parameters

      • organizationId: string

        The ID of the organization.

      • Optionalenvironment: "dev" | "stg" | "hipaa" | "prod"

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

      • OptionalendpointType: "admin" | "analytics" | "platform"

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

      Returns string

      The endpoint URL for the organization.