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

# List review API tokens

> List review API tokens for your company, including optional revoked tokens.



## OpenAPI

````yaml GET /v1/auth/tokens
openapi: 3.1.0
info:
  title: Propel API
  description: >-
    API for managing review API tokens and running asynchronous diff-based code
    reviews.
  version: 1.0.0
servers:
  - url: https://api.propelcode.ai
    description: Production
  - url: http://localhost:6060
    description: Local
security: []
paths:
  /v1/auth/tokens:
    get:
      summary: List review API tokens
      description: Lists review API tokens for the authenticated company.
      parameters:
        - name: include_revoked
          in: query
          required: false
          schema:
            type: boolean
            default: false
          description: Include revoked tokens in the response.
      responses:
        '200':
          description: Token list.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ReviewTokenListItem'
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - jwtAuth: []
components:
  schemas:
    ReviewTokenListItem:
      type: object
      required:
        - id
        - name
        - token_prefix
        - scopes
        - created_at
      properties:
        id:
          type: integer
        name:
          type: string
        token_prefix:
          type: string
        scopes:
          type: array
          items:
            type: string
        expires_at:
          type: string
          format: date-time
        last_used_at:
          type: string
          format: date-time
        revoked_at:
          type: string
          format: date-time
        created_at:
          type: string
          format: date-time
      additionalProperties: false
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
        message:
          type: string
      additionalProperties: true
  securitySchemes:
    jwtAuth:
      type: http
      scheme: bearer
      description: Dashboard authentication token.

````