nylas
    Preparing search index...

    Interface TokenExchangeRequest

    Interface of a Nylas token exchange request

    interface TokenExchangeRequest {
        clientId: string;
        clientSecret?: string;
        redirectUri: string;
        refreshToken: string;
    }
    Index

    Properties

    clientId: string

    Client ID of the application.

    clientSecret?: string

    Client secret of the application. If not provided, the API Key will be used instead.

    redirectUri: string

    Should match the same redirect URI that was used for getting the code during the initial authorization request.

    refreshToken: string

    Token to refresh/request your short-lived access token