> ## Documentation Index
> Fetch the complete documentation index at: https://trustos.telefonicatech.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Verify Token

> Verifies the validity of a JWT (JSON Web Token) authentication token.



## OpenAPI

````yaml post /verify
openapi: 3.0.1
info:
  title: TrustOS EVM ID API
  description: >-
    TrustOS EVM ID API is used to interact with EVM based blockchain networks.
    In case you have some questions or need more about the use of this API,
    don't hesitate to contact B-Team:
  contact:
    name: Blockchain Team
    email: soporte-bteam@telefonica.com
  version: 2.3.3
servers:
  - url: https://lab.trustos.telefonicatech.com/id/v2
    description: Lab
security: []
tags:
  - name: Authentication
    description: Users authentication via a JSON Web Token (JWT).
  - name: Identity
    description: User identity management.
paths:
  /verify:
    post:
      tags:
        - Authentication
      summary: Verify token.
      requestBody:
        description: Data needed for verifying authN and authZ.
        content:
          application/json:
            schema:
              type: object
              properties:
                method:
                  type: string
                  description: The endpoint's method.
                  example: POST
                endpoint:
                  type: string
                  description: The endpoint's path.
                  example: /certificates
              required:
                - method
                - endpoint
        required: true
      responses:
        '200':
          $ref: '#/components/responses/200-SuccessfulVerify'
        '401':
          $ref: '#/components/responses/401-AuthenticationError'
        '429':
          $ref: '#/components/responses/429-OutOfCreditsError'
        '500':
          $ref: '#/components/responses/500-InternalServerError'
        '503':
          $ref: '#/components/responses/503-ServiceUnavailable'
      security:
        - bearerAuth: []
components:
  responses:
    200-SuccessfulVerify:
      description: Successful token verification.
      content:
        application/json:
          schema:
            type: object
            properties:
              statusCode:
                type: number
                description: Request status code.
                example: 200
              message:
                type: string
                description: Message returned by the request.
                example: Token verified sucessfully
              data:
                type: string
                description: Data returned by the request.
                example: Valid token
    401-AuthenticationError:
      description: Authentication Error.
      content:
        application/json:
          schema:
            type: object
            properties:
              statusCode:
                type: number
                description: Request status code.
                example: 401
              type:
                type: string
                description: Error type.
                example: Authentication Error
              message:
                type: string
                description: Message returned by the request.
                example: Token is not provided
    429-OutOfCreditsError:
      description: Out Of Credits Error.
      content:
        application/json:
          schema:
            type: object
            properties:
              statusCode:
                type: number
                description: Request status code.
                example: 429
              type:
                type: string
                description: Error type.
                example: Out Of Credits Error
              message:
                type: string
                description: Message returned by the request.
                example: >-
                  User has run out of credits. Please, contact BTeam to increase
                  the limit
    500-InternalServerError:
      description: Internal Server Error.
      content:
        application/json:
          schema:
            type: object
            properties:
              statusCode:
                type: number
                description: Request status code.
                example: 500
              type:
                type: string
                description: Error type.
                example: Internal Server Error
              message:
                type: string
                description: Message returned by the request.
                example: Oops! Something went wrong, please try again later
    503-ServiceUnavailable:
      description: Service unavailable error.
      content:
        application/json:
          schema:
            type: object
            properties:
              statusCode:
                type: number
                description: Request status code.
                example: 503
              type:
                type: string
                description: Error type.
                example: Service Unavailable Error
              message:
                type: string
                description: Message returned by the request.
                example: Service temporarily unavailable, please try again later
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````