Announcements

Help Wizard

Step 1

NEXT STEP

is device id dynamic?

is device id dynamic?

The get devices endpoint return data which contains device id like this

 

{
    "devices": [
        {
            "id": "5fbb3ba6aa454b5534c4ba43a8c7e8e45a63ad0e",
            "is_active": false,
            "is_private_session": true,
            "is_restricted": false,
            "name": "My fridge",
            "type": "Computer",
            "volume_percent": 100
        }
    ]
}

the "id" means device id. Is it dynamic?

 

Reply
2 Replies

Hey there, help's here!

 

Hmm, I've taken a look and it seems that this is a fixed value. I've tried to log in on another account with the same device and the device ID stayed the same; also after a restart of the app. 

 

The device ID might change in other situations, such as a full reinstall of the Spotify app, factory reset of the device and others. Let me know if this clears things up a bit.

 

Have a great day,

Hubo

HuboSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

That's true, I've been making some experiments. Now I store the info of device for easier reuse. Since the get current playback is expired very quickly.

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random