Pulsarr

Poll Plex PIN for auth token

GET
/v1/plex/pin/{pinId}

Checks if the user has completed authorization at plex.tv/link. Returns authToken when authorized.

Authorization

headerX-API-Key<token>

API key authentication using X-API-Key header

Path Parameters

pinId*number

Query Parameters

clientId*string

Response Body

Default Response

application/json
  1. response

The token once the PIN is approved, null until then

authToken*string|null
expiresIn*number
Example Request
curl -X GET 'http://localhost:3003/v1/plex/pin/0?clientId=string'
Example Response
{  "authToken": "string",  "expiresIn": 0}