---
updatedAt: 2025-06-16T23:24:49.000Z
agentTools:
  projectIndex: https://developers.directscale.com/llms.txt
---

# Validate Token

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "extension-api",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://{clientId}.corpadmin.directscalestage.com/api/extension",
      "variables": {
        "clientId": {
          "default": "clientId"
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/pages/ValidateToken": {
      "post": {
        "summary": "Validate Token",
        "description": "",
        "operationId": "validate-token",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "\"username\""
                  }
                },
                "schema": {
                  "type": "string",
                  "example": "username"
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "{ \"Error Message\" }"
                  }
                }
              }
            }
          },
          "500": {
            "description": "500",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```