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

# Callback for Google authorization

> Google OAuth callback. Persists the issued tokens against the mailbox subchannel.



## OpenAPI

````yaml https://dev.enneo.dev/api/mind/docs/open-api get /settings/mailbox/google/authorization/callback
openapi: 3.0.0
info:
  version: '1'
  title: enneo.MIND API
  description: This describes the API of enneo Mind, the main ticketing backend
  contact:
    name: enneo GmbH
    email: richard@enneo.ai
  license:
    name: Proprietary software
    url: https://enneo.ai
servers:
  - url: https://demo.enneo.ai/api/mind
    description: Production server, demo client
  - url: https://main.enneo.dev/api/mind
    description: Development main branch
  - url: http://localhost:8005/api/mind
    description: Local development server
security:
  - bearerAuth:
      - api
  - cookieAuth:
      - api
paths:
  /settings/mailbox/google/authorization/callback:
    get:
      tags:
        - Settings
      summary: Callback for Google authorization
      description: >-
        Google OAuth callback. Persists the issued tokens against the mailbox
        subchannel.
      operationId: googleAuthorizationCallback
      parameters:
        - name: code
          in: query
          required: false
          description: Authorization code returned by Google.
          schema:
            type: string
        - name: state
          in: query
          required: false
          description: Opaque state set during the authorization request.
          schema:
            type: string
      responses:
        '302':
          description: Redirect to the post-callback success page
        '400':
          description: Bad request
        '403':
          description: Unauthorized
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT-based authentication
      x-scopes:
        api: Full access to the API
    cookieAuth:
      type: apiKey
      in: cookie
      name: connect.sid
      description: Cookie-based authentication
      x-scopes:
        api: Full access to the API

````