Skip to content

Instantly share code, notes, and snippets.

@alghanmi
Created August 27, 2019 16:34
Show Gist options
  • Save alghanmi/346ecef6261d772b52b04efd5ff5cb77 to your computer and use it in GitHub Desktop.
Save alghanmi/346ecef6261d772b52b04efd5ff5cb77 to your computer and use it in GitHub Desktop.
Obtain Permanent Plex Token
curl -X POST \
-H 'X-Plex-Version: 0.3.0' \
-H 'X-Plex-Product: YOUR PRODUCT NAME' \
-H 'X-Plex-Client-Identifier: YOUR-PRODUCT-ID' \
-H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
--data-urlencode 'user[password]=PLEX_PASSWORD' \
--data-urlencode 'user[login]=PLEX_USERNAME' \
https://plex.tv/users/sign_in.json