Obtain the Client Credential Access Token

Get the client credential access token to access all the public endpoints of Spotify without any user authorization.

In case we don't need access to any user resources, we can request an access token using the client credentials workflow. This is a straightforward authorization method and requires only one API call. In this lesson, we'll generate a token using this workflow.

Client credentials authorization

The base URI https://accounts.spotify.com/api/token is used to get a token using the client credentials flow.

Get hands-on with 1200+ tech skills courses.