Options for creating a Forge API fetch function.

interface ApiClientForgeApiExternalOptions {
    baseUrl: string;
    fetch: FetchMethodAllowingRoute;
    systemToken?: string;
}

Properties

baseUrl: string

Base URL for the cloud website.

fetch: FetchMethodAllowingRoute

Fetch function from the browser or @forge/api package.

systemToken?: string

Optional system token for authentication.