IoT Stadium

API Documentation

Flow auth Personal Access Token

Flow auth Personal Access Token - List Token

Get

{{url}}/api/list-token
{
  "success": true,
  "data": [
    {
      "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
      "created_at": "2023-05-01T12:00:00Z",
      "expires_in": "2026-05-01T12:00:00Z",
      "email": "owner@gmail.com"
    },
    {
      "token": "another.token.value...",
      "created_at": "2022-05-01T12:00:00Z",
      "expires_in": "2025-05-01T12:00:00Z",
      "email": "admin@example.com"
    }
  ]
}
{
  "success": false,
  "error": "Unauthorized",
  "code": 401
}