Thankly SDK for JavaScript
    Preparing search index...

    Interface ThanklyAuthConfig

    Configuration for createThanklyAuth.

    interface ThanklyAuthConfig {
        apiHost: string;
        clientId: string;
        clientSecret: string;
        secretTokenKey: string;
        storageAdapter?: StorageAdapter | StorageAdapterType;
    }
    Index
    apiHost: string

    Base URL of the Thankly API, e.g. https://api.thankly.ai. No trailing slash.

    clientId: string

    Cognito client id issued for your organisation.

    clientSecret: string

    Cognito client secret.

    Server-side only — this authenticates as your whole organisation. If this value can reach a browser or an app bundle, the integration is wrong: use the per-experience token and @thankly/sdk-client there instead.

    secretTokenKey: string

    Key the cached access token is stored under. Namespace it if one process serves several orgs.

    Where the access token is cached between calls. Defaults to in-memory. A shared store only helps if several processes should reuse one token.