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

# Get Google Tokens

> Get Google OAuth2 tokens from the database.

Returns:
    List of OAuth2 tokens



## OpenAPI

````yaml https://dev-api.cattix.com/openapi.json get /api/v1/google-auth/get-tokens
openapi: 3.1.0
info:
  title: CATTIX API
  description: CATTIX Backend API
  version: 0.107.0
servers:
  - url: http://localhost:8000
    description: Local
  - url: https://dev-api.cattix.com
    description: Development
  - url: https://staging-api.cattix.com
    description: Staging
  - url: https://api.cattix.com
    description: Production
security: []
paths:
  /api/v1/google-auth/get-tokens:
    get:
      tags:
        - Google Auth
      summary: Get Google Tokens
      description: |-
        Get Google OAuth2 tokens from the database.

        Returns:
            List of OAuth2 tokens
      operationId: get_google_tokens_api_v1_google_auth_get_tokens_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/OAuth2TokenSchema'
                type: array
                title: Response Get Google Tokens Api V1 Google Auth Get Tokens Get
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    OAuth2TokenSchema:
      properties:
        id:
          type: integer
          title: Id
        user_info:
          $ref: '#/components/schemas/UserInfoSchema'
        token:
          type: string
          title: Token
        refresh_token:
          type: string
          title: Refresh Token
      type: object
      required:
        - id
        - user_info
        - token
        - refresh_token
      title: OAuth2TokenSchema
      description: The schema for an OAuth2 token.
    UserInfoSchema:
      properties:
        sub:
          type: string
          title: Sub
        name:
          type: string
          title: Name
        email:
          type: string
          format: email
          title: Email
        email_verified:
          type: boolean
          title: Email Verified
        given_name:
          type: string
          title: Given Name
        family_name:
          type: string
          title: Family Name
        picture:
          type: string
          title: Picture
      type: object
      required:
        - sub
        - name
        - email
        - email_verified
        - given_name
        - family_name
        - picture
      title: UserInfoSchema
      description: The schema for a user's info from Google.
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: api/v1/users/authorization/token

````