Skip to main content

List all sessions

GET/users/self/sessions/
v2
GET
user-list-sessions

Request

Responses

Response headers

  • X-Pagination-Limitinteger

    The limit used to select the resources for the response

  • X-Pagination-Skipinteger

    The number of skipped items

  • X-Pagination-Pagenumber

    The calculate page of the list response. Refer to parameters to learn more.

  • X-Pagination-TotalCountinteger

    The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.

application/json

List of all sessions.

  • Array[
    • *object
      • 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?limit=50&page=1