Authentication Routes

POST/api/auth/anonymous-login

Create an anonymous user account and get access token

Try it out

POST/api/auth/device-login?device_id={device_id}

Login or create user with device ID. If Authorization token or userId header is provided, updates that user's device_id. Otherwise, creates a new anonymous user with the device_id.

Try it out

If provided, will update the token owner's device_id
POST/api/auth/spotify-login-with-token

Login spotify user with current account

Try it out

POST/api/auth/youtube-login-with-token

Login youtube user with current account

Try it out

GET/api/auth/get-api-key-for-platform?platform=youtube

Get api key for platform

Try it out

POST/api/auth/deezer-login-with-token

Login deezer user with current account

Try it out

POST/api/auth/apple-music-login-with-token

Login apple music user with current account

Try it out

POST/api/auth/soundcloud-login-with-token

Login soundcloud user with current account

Try it out

POST/api/auth/signout

Logout user

Try it out

POST/api/auth/login-with-password

Login user with password

Try it out

POST/api/auth/set-analytics-id

Set analytics ID

Try it out