auth username password - hmelder/TIDAL GitHub Wiki

Example Request

Method

POST

Url

https://api.tidal.com/v1/login/username

Url-Encoded Parameter

username: {username}
password: {password}
token: {client_id}
clientUniqueKey: {randomBytes} (optional)
clientVersion: {version} (optional)

Example Response

{
  "userId": xxxxxxxxx,
  "sessionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "countryCode": "DE"
}

Session based authentication works with the "sessionId={sessionId}" Url parameter. The authentication header is not necessary.