Hatch

Where this account is signed in. Ids only: a session’s token never leaves the server.

On this page

GET/api/sessions

Authorization

  • session: Authorization: Bearer <token>. The session token from signing in (or the session cookie in a browser on the same origin).

Response

200: It worked

  • sessions array<Session> (required)

    • id string: At most 300 characters
    • agent string: At most 300 characters
    • createdAt number
    • lastSeen number
    • current boolean

Other answers:

  • 4XX: Refused, with a message to show the person