Skip to main content

Get a specific session

GET/users/self/sessions/{tokenId}/
v2
GET
user-get-session

Request

  • tokenIdstring
    required

    TokenId to identify a specific session.

Responses

application/json

The session.

  • createdstring (date-time)
    required
  • deviceobject
    required
    • browserstring
    • modelstring
    • osstring
    • typestring
  • lastAccessstring (date-time)
  • locationobject
    • citystring
    • countrystring
    • ipAddressstring (ipv4)
  • tokenIdstring (uuid)
    required

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/users/self/sessions/string