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

# Fetch an API token by ID

> Return the details of a specific API token from the authenticated user's account.



## OpenAPI

````yaml /api-reference/comecar.yaml get /v2/api-tokens/{id}
openapi: 3.0.0
info:
  title: Tarefy API
  description: >-
    Tarefy REST API — task management, culture and performance platform.


    Endpoints are versioned at `/v2/...`. Authentication via Bearer JWT in the
    `Authorization` header.


    To get started, see the [authentication guide](/authentication) and the
    [quickstart](/quickstart).
  version: 2.0.0
  contact:
    name: Tarefy Support
    email: suporte@tarefy.com
    url: https://tarefy.com
  license:
    name: Proprietary
    url: https://tarefy.com
servers:
  - url: https://app.tarefy.com/nodeapi
    description: Production
security:
  - bearerAuth: []
tags:
  - name: User
    description: Login, profile, session
  - name: API Tokens
    description: Persistent tokens for integrations
  - name: Accounts
    description: Organization account
paths:
  /v2/api-tokens/{id}:
    get:
      tags:
        - API Tokens
      summary: Fetch an API token by ID
      description: >-
        Return the details of a specific API token from the authenticated user's
        account.
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: integer
          description: ID do token de API
      responses:
        '200':
          description: Token retornado com sucesso
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: integer
                  name:
                    type: string
                  nivel:
                    type: integer
                  id_conta:
                    type: integer
                  created_by:
                    type: integer
                  created_by_name:
                    type: string
                    nullable: true
                  token_prefix:
                    type: string
                    nullable: true
                  expires_at:
                    type: string
                    format: date-time
                    nullable: true
                  revoked_at:
                    type: string
                    format: date-time
                    nullable: true
                  last_used_at:
                    type: string
                    format: date-time
                    nullable: true
                  created_at:
                    type: string
                    format: date-time
                  updated_at:
                    type: string
                    format: date-time
        '403':
          description: Acesso negado. Apenas Super Admin pode visualizar tokens
        '404':
          description: Token não encontrado
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````