Skip to content
Dashboard

developers / Models

Session

A device that is signed in, or an upload token. Never its token: only the response that creates it has that.

This page as Markdown

Fields

  • idinteger
  • userIdinteger
  • typeenum

    One ofUserUploadOAuthKey

  • publicIdstring

    Names the session: safe to show and to say to support, and what its token starts with after its kind and environment. It proves nothing.

  • createdAtdate-time
  • usedAtdate-time
  • expiresAtdate-time | null
  • ipstring | null
  • devicestring | null
  • notestring
Example
{
  "id": 1,
  "userId": 1,
  "type": "Upload",
  "publicId": "m0plGGtn67kMZy6D",
  "createdAt": "2026-11-10T18:24:00.000Z",
  "usedAt": "2026-11-10T18:24:00.000Z",
  "expiresAt": "2027-11-10T18:24:00.000Z",
  "ip": "203.0.113.7",
  "device": "Mozilla/5.0",
  "note": "ShareX"
}