POST
/
pins

Headers

X-Plex-Client-Identifier
string
required

An opaque identifier unique to the client (UUID, serial number, or other unique device ID)

X-Plex-Product
string

The name of the client application. (Plex Web, Plex Media Server, etc.)

X-Plex-Device
string

A relatively friendly name for the client device

X-Plex-Version
string

The version of the client application.

X-Plex-Platform
string

The platform of the client application.

Query Parameters

strong
boolean
default:
false

Determines the kind of code returned by the API call Strong codes are used for Pin authentication flows Non-Strong codes are used for Plex.tv/link

Response

201 - application/json
clientIdentifier
string
required

The X-Client-Identifier used in the request

code
string
required
createdAt
string
required
expiresAt
string
required
expiresIn
integer
default:
900
required

The number of seconds this pin expires, by default 900 seconds

id
integer
required
location
object
required

Geo location data

product
string
required
qr
string
required
trusted
boolean
default:
false
required
authToken
string | null
newRegistration
null