Skip to content

Instantly share code, notes, and snippets.

@FyeCobain
Last active January 4, 2026 18:38
Show Gist options
  • Select an option

  • Save FyeCobain/1e367b0a9d5693c579a4fd6b20fac682 to your computer and use it in GitHub Desktop.

Select an option

Save FyeCobain/1e367b0a9d5693c579a4fd6b20fac682 to your computer and use it in GitHub Desktop.
Kasa token and devices IDs
// Get token
(POST) https://wap.tplinkcloud.com
{
"method": "login",
"params": {
"appType": "Kasa",
"cloudUserName": "EMAIL",
"cloudPassword": "PASSWORD",
"terminalUUID": "SOME_4_UUID"
}
}
// Get devices IDs
(POST) https://wap.tplinkcloud.com?token=TOKEN
{
"method": "getDeviceList"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment