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

# Get Current User

> Returns the name, e-mail, remaining credits and affiliate code of the user that owns the token.



## OpenAPI

````yaml api-reference/tess-public-api.openapi.json GET /me
openapi: 3.0.0
info:
  title: Tess API
  version: '0.1'
servers:
  - url: https://api.tess.im
security: []
paths:
  /me:
    get:
      tags:
        - Account
      summary: Get the current user
      description: >-
        Returns the name, e-mail, remaining credits and affiliate code of the
        user that owns the token.
      operationId: getMe
      responses:
        '200':
          description: The current user
          content:
            application/json:
              schema:
                properties:
                  name:
                    type: string
                  surname:
                    type: string
                    nullable: true
                  email:
                    type: string
                  total_remaining_credits:
                    type: number
                  affiliate_code:
                    type: string
                    nullable: true
                type: object
      security:
        - token: []
components:
  securitySchemes:
    token:
      type: http
      bearerFormat: Bearer
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.