Mixcloud - Getting an access token

First you'll need to create and application. Then you will be assigned a client_id and client_secret.
Only browser based authorization is supported currently.

Redirect your user to

where they will be given the option to log in and allow or deny your application access to their data.
If the user accepts Mixcloud will redirect the user to YOUR_REDIRECT_URI?code=OAUTH_CODE.

Once you have received the OAUTH_CODE send a request to


This will respond with an access token:


Which can be used on future requests as an access_token query string parameter to access protected resources.
Note it is possible for the user to revoke their access token so your application will need to handle An invalid access token was provided errors and re-authenticate the user.