PPylon Developers
ApiViewer

Read the current viewer for a public site

Returns { status, displayName?, id? } for the caller, anonymous when unauthenticated.

GET
/api/v1/viewer/session
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Response Body

application/json

curl -X GET "https://loading/api/v1/viewer/session"
{
  "status": "string",
  "displayName": null,
  "id": null
}