Sessions

List sessions

get
Authorizations
Responses
200
OK
application/json
get
GET /me/sessions HTTP/1.1
Host: 
Authorization: Bearer jwt
Accept: */*
200

OK

[
  {
    "userId": "123e4567-e89b-12d3-a456-426614174000",
    "tokenId": "123e4567-e89b-12d3-a456-426614174000",
    "ip": "text",
    "userAgent": "text",
    "country": "text",
    "region": "text",
    "city": "text",
    "createdAt": "2025-07-03T22:57:01.101Z",
    "updatedAt": "2025-07-03T22:57:01.101Z"
  }
]

Get session

get
Authorizations
Path parameters
tokenIdstringRequired
Responses
200
OK
application/json
get
GET /me/sessions/{tokenId} HTTP/1.1
Host: 
Authorization: Bearer jwt
Accept: */*
{
  "userId": "123e4567-e89b-12d3-a456-426614174000",
  "tokenId": "123e4567-e89b-12d3-a456-426614174000",
  "ip": "text",
  "userAgent": "text",
  "country": "text",
  "region": "text",
  "city": "text",
  "createdAt": "2025-07-03T22:57:01.101Z",
  "updatedAt": "2025-07-03T22:57:01.101Z"
}

Delete session

delete
Authorizations
Path parameters
tokenIdstringRequired
Responses
204
Deleted
delete
DELETE /me/sessions/{tokenId} HTTP/1.1
Host: 
Authorization: Bearer jwt
Accept: */*

No content

Last updated

Was this helpful?