@seamapi/http - v2.4.1
    Preparing search index...

    Interface SeamHttpOptionsWithApiKey

    Options for creating a SeamHttp client authenticated with an API key.

    interface SeamHttpOptionsWithApiKey {
        apiKey: string;
        axiosOptions?: AxiosRequestConfig<any>;
        axiosRetryOptions?: IAxiosRetryConfig;
        endpoint?: string;
        timeout?: number;
        waitForActionAttempt?: boolean | ResolveActionAttemptOptions;
    }

    Hierarchy

    • SeamHttpCommonOptions
      • SeamHttpOptionsWithApiKey
    Index
    apiKey: string

    The API key to use for authentication.

    axiosOptions?: AxiosRequestConfig<any>
    axiosRetryOptions?: IAxiosRetryConfig
    endpoint?: string

    The Seam API endpoint, e.g., https://connect.getseam.com. Defaults to the SEAM_ENDPOINT or SEAM_API_URL environment variable, if set.

    timeout?: number
    waitForActionAttempt?: boolean | ResolveActionAttemptOptions

    Controls whether to wait for the action attempt to resolve when a request returns an action attempt. Pass a boolean to toggle waiting, or ResolveActionAttemptOptions to also configure the timeout and polling interval.