---
agentTools:
  projectIndex: https://financial-cloud.readme.io/llms.txt
---

# check is a token is valid

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Helpdesk",
    "description": "The helpdesk API allows customers to interact and manage their accounts on our platform.",
    "version": "10.0.2"
  },
  "tags": [
    {
      "name": "auth_legacy",
      "description": "These are the legacy Auth endpoints."
    }
  ],
  "servers": [
    {
      "url": "{protocol}://{domain}/helpdesk",
      "description": "Dynamic server",
      "variables": {
        "protocol": {
          "enum": [
            "http",
            "https"
          ],
          "default": "https"
        },
        "domain": {
          "enum": [
            "public.glabs.financial-cloud.co.uk",
            "localhost:8080"
          ],
          "default": "public.glabs.financial-cloud.co.uk"
        }
      }
    }
  ],
  "paths": {
    "/auth/legacy/token/validate": {
      "get": {
        "deprecated": true,
        "summary": "check is a token is valid",
        "operationId": "authLegacyValidateToken",
        "tags": [
          "auth_legacy"
        ],
        "parameters": [
          {
            "required": true,
            "schema": {
              "title": "Token",
              "type": "string"
            },
            "name": "token",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericMessage"
                }
              }
            }
          },
          "400": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericMessage"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "GenericMessage": {
        "title": "GenericMessage",
        "type": "object",
        "required": [
          "message"
        ],
        "description": "A schema for generic message responses, often used for errors or notifications.",
        "properties": {
          "message": {
            "title": "Message",
            "type": "string",
            "description": "A generic message detailing the nature of the response.",
            "example": "details do not match our records"
          }
        },
        "example": {
          "message": "details do not match our records"
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 100,
      "1": 237,
      "2": 233,
      "3": 61,
      "4": 213,
      "5": 219,
      "6": 87,
      "7": 0,
      "8": 100,
      "9": 246,
      "10": 124,
      "11": 81
    }
  }
}
```