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

# Get Token

<RequestExample>
  ```bash cURL theme={null}
  curl --url https://try.flipt.io/auth/v1/tokens/{id} \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer {token}'
  ```
</RequestExample>


## OpenAPI

````yaml GET /auth/v1/tokens/{id}
openapi: 3.0.3
info:
  title: api
  version: 1.47.0
servers:
  - url: http://localhost:8080
security:
  - bearerAuth: []
tags:
  - name: AuthenticationMethodKubernetesService
  - name: AuthenticationMethodOIDCService
  - name: AuthenticationMethodTokenService
  - name: AuthenticationService
  - name: EvaluationService
  - name: Flipt
  - name: OFREPService
paths:
  /auth/v1/tokens/{id}:
    get:
      tags:
        - AuthenticationService
      operationId: getAuthToken
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Authentication'
components:
  schemas:
    Authentication:
      type: object
      properties:
        id:
          type: string
        method:
          enum:
            - METHOD_NONE
            - METHOD_TOKEN
            - METHOD_OIDC
            - METHOD_KUBERNETES
            - METHOD_GITHUB
            - METHOD_JWT
            - METHOD_CLOUD
          type: string
          format: enum
        expiresAt:
          type: string
          format: date-time
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        metadata:
          type: object
          additionalProperties:
            type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````