GET
/
security
/
token
using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components;
using LukeHagar.PlexAPI.SDK.Models.Requests;

var sdk = new PlexAPI(accessToken: "<YOUR_API_KEY_HERE>");

var res = await sdk.Authentication.GetTransientTokenAsync(
    type: GetTransientTokenQueryParamType.Delegation,
    scope: Scope.All
);

// handle response
This response does not have an example.

Authorizations

X-Plex-Token
string
header
required

Plex Authentication Token

Query Parameters

type
enum<string>
required

delegation - This is the only supported type parameter.

Available options:
delegation
scope
enum<string>
required

all - This is the only supported scope parameter.

Available options:
all

Response

200
_mintlify/placeholder

A Transient Token