---
agentTools:
  projectIndex: https://lemmy.readme.io/llms.txt
---

# List login tokens for your user

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Unofficial Lemmy OpenAPI Documentation",
    "version": "v0.19.3",
    "license": {
      "name": "AGPLv3",
      "url": "https://www.gnu.org/licenses/agpl-3.0.en.html#license-text"
    },
    "x-logo": {
      "url": "https://raw.githubusercontent.com/LemmyNet/lemmy-ui/main/src/assets/icons/favicon.svg",
      "altText": "Lemmy Icon",
      "href": "https://github.com/MV-GH/lemmy_openapi_spec"
    },
    "contact": {
      "url": "https://github.com/MV-GH/lemmy_openapi_spec"
    }
  },
  "servers": [
    {
      "url": "https://lemmy.ml/api/v3"
    },
    {
      "url": "https://enterprise.lemmy.ml/api/v3"
    },
    {
      "url": "https://ds9.lemmy.ml/api/v3"
    },
    {
      "url": "https://voyager.lemmy.ml/api/v3"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    },
    {
      "cookieAuth": []
    }
  ],
  "paths": {
    "/user/list_logins": {
      "get": {
        "tags": [
          "User"
        ],
        "operationId": "listLogins",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LoginToken"
                  }
                }
              }
            }
          }
        },
        "summary": "List login tokens for your user"
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "cookieAuth": {
        "type": "apiKey",
        "in": "cookie",
        "name": "auth"
      }
    },
    "schemas": {
      "LocalUserId": {
        "title": "LocalUserId",
        "type": "integer"
      },
      "LoginToken": {
        "properties": {
          "user_id": {
            "$ref": "#/components/schemas/LocalUserId",
            "title": "LoginToken.user_id"
          },
          "published": {
            "title": "LoginToken.published",
            "type": "string"
          },
          "ip": {
            "title": "LoginToken.ip",
            "type": "string"
          },
          "user_agent": {
            "title": "LoginToken.user_agent",
            "type": "string"
          }
        },
        "required": [
          "user_id",
          "published"
        ],
        "additionalProperties": false,
        "title": "LoginToken",
        "type": "object"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 101,
      "1": 74,
      "2": 98,
      "3": 186,
      "4": 26,
      "5": 20,
      "6": 16,
      "7": 0,
      "8": 13,
      "9": 68,
      "10": 55,
      "11": 44
    }
  }
}
```