# Validate Server JWT Validates a server JWT. Checks the following criteria: - the lifetime of the token - existence of the Login project - presence of an authentic signature from the login.xsolla.com server - value of the request_type field: gateway_token Endpoint: POST /server/token/validate Version: v1 ## Query parameters: - `projectId` (string, required) Login project ID from Publisher Account. ## Request fields (application/json): - `token` (string, required) The server token that is sent by the Xsolla Login server to your server in response to the authentication, user registration, or password reset request when using a [custom data storage](/doc/login/user-data-storage/custom-storage/#login_references_custom_storage). Example: "Server token" ## Response 400 fields (application/json): - `error` (object, required) - `error.code` (string, required) Error code. Example: "003-061" - `error.description` (string, required) Error description. Example: "Object not found." - `error.details` (object) Additional information. ## Response 401 fields (application/json): - `error` (object, required) - `error.code` (string, required) Error code. Example: "003-061" - `error.description` (string, required) Error description. Example: "Object not found." - `error.details` (object) Additional information. ## Response 404 fields (application/json): - `error` (object, required) - `error.code` (string, required) Error code. Example: "003-061" - `error.description` (string, required) Error description. Example: "Object not found." - `error.details` (object) Additional information. ## Response 422 fields (application/json): - `error` (object, required) - `error.code` (string, required) Error code. Example: "003-061" - `error.description` (string, required) Error description. Example: "Object not found." - `error.details` (object) Additional information. ## Response 429 fields (application/json): - `error` (object, required) - `error.code` (string, required) Error code. Example: "003-061" - `error.description` (string, required) Error description. Example: "Object not found." - `error.details` (object) Additional information. ## Response 204 fields