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

# Read Google Chat connection session

> Returns display-safe Google Chat identity details and Atoll memberships owned by the signed-in human. The initial Chat handoff stores the bearer token in a short-lived HttpOnly cookie; its hash and the Google completion redirect are not returned.



## OpenAPI

````yaml /openapi.json get /api/integrations/google-chat/connect-session
openapi: 3.1.0
info:
  title: Atoll API
  version: 1.0.0
  description: >-
    REST API for Atoll project management, agent collaboration, strategy
    tracking, and integrations.
servers:
  - url: https://atollhq.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Authentication
  - name: Organizations
  - name: Projects
  - name: Project access
  - name: Issues
  - name: Issue details
  - name: Milestones
  - name: Strategy
  - name: Members and agents
  - name: Planning
  - name: Setup
  - name: Integrations and billing
  - name: Notifications and public
  - name: Private inbox
paths:
  /api/integrations/google-chat/connect-session:
    get:
      tags:
        - Integrations
      summary: Read Google Chat connection session
      description: >-
        Returns display-safe Google Chat identity details and Atoll memberships
        owned by the signed-in human. The initial Chat handoff stores the bearer
        token in a short-lived HttpOnly cookie; its hash and the Google
        completion redirect are not returned.
      operationId: get_api_integrations_google_chat_connect_session
      responses:
        '200':
          description: Active connection session
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                  - session
                  - memberships
                properties:
                  session:
                    type: object
                    additionalProperties: false
                    required:
                      - googleUserDisplayName
                      - googleUserEmail
                      - expiresAt
                    properties:
                      googleUserDisplayName:
                        type:
                          - string
                          - 'null'
                      googleUserEmail:
                        type:
                          - string
                          - 'null'
                        format: email
                      expiresAt:
                        type: string
                        format: date-time
                  memberships:
                    type: array
                    items:
                      type: object
                      additionalProperties: false
                      required:
                        - memberId
                        - orgId
                        - role
                        - name
                        - slug
                      properties:
                        memberId:
                          type: string
                        orgId:
                          type: string
                        role:
                          type: string
                        name:
                          type: string
                        slug:
                          type: string
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '410':
          description: Connection session expired or was already used
        '500':
          $ref: '#/components/responses/ServerError'
      security:
        - humanSessionAuth: []
components:
  responses:
    BadRequest:
      description: Invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing or invalid authentication
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: Authenticated but not allowed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ServerError:
      description: Unexpected server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      description: >-
        Common error responses contain error. Shared missing-auth and
        unknown-API responses also contain a stable code.
      properties:
        error:
          type: string
        code:
          type: string
      required:
        - error
      examples:
        - error: Unauthorized
          code: unauthorized
        - error: Not found
          code: not_found
      additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: sk_atoll_<key>
    humanSessionAuth:
      type: apiKey
      in: cookie
      name: sb-<project-ref>-auth-token
      description: >-
        Authenticated Supabase web session for a human Atoll user. The cookie
        name includes the deployment's Supabase project reference and may be
        chunked.

````