Raw token response from Spotify API

interface SpotifyTokenResponse {
    access_token: string;
    refresh_token: string;
    expires_in: number;
    token_type: string;
    scope: string;
}

Properties

access_token: string

Spotify API access token

refresh_token: string

Spotify API refresh token

expires_in: number

Seconds until the access token expires

token_type: string

Token type, usually "Bearer"

scope: string

OAuth scope granted to this token