Connect Plex

🔒 OAuth Required

Mints a Plex web-auth URL for the client to open. Plex uses a 2-step PIN OAuth; the PIN is stashed server-side under an opaque state token and Plex is forwarded to a website return endpoint that exchanges it and redirects back to your return_url with ?plex_status=connected|error.

return_url is validated against the trakt-owned allowlist (trakt://, http(s)://localhost, https://*.trakt.tv); a 400 is returned otherwise.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Body

string
required

Where to return the user once the Plex web-auth flow completes. Must be a trakt-owned destination (trakt://…, http(s)://localhost, or https://*.trakt.tv); the flow appends ?plex_status=connected|error.

Responses

Language
Credentials
Required Scopes
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json