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

# List the Microsoft Teams teams

> Every team in the customer's Microsoft organisation, whether Statisfy is in it, and whether it can post there yet. Like the app's list, it records the connection's health: whether Microsoft lets Statisfy in. A 409 when Teams is not connected; a 422 when the customer withdrew its approval of Statisfy. Calls Microsoft Graph: a 502 when Microsoft fails or cannot be reached, a 503 (with Retry-After when Microsoft sends one) while it throttles Statisfy, a 500 when Statisfy's own Microsoft sign-in fails.



## OpenAPI

````yaml /api/statisfy-api.openapi.json get /v1/integrations/microsoft_teams/teams
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/integrations/microsoft_teams/teams:
    get:
      tags:
        - integrations
      summary: List the Microsoft Teams teams
      description: >-
        Every team in the customer's Microsoft organisation, whether Statisfy is
        in it, and whether it can post there yet. Like the app's list, it
        records the connection's health: whether Microsoft lets Statisfy in. A
        409 when Teams is not connected; a 422 when the customer withdrew its
        approval of Statisfy. Calls Microsoft Graph: a 502 when Microsoft fails
        or cannot be reached, a 503 (with Retry-After when Microsoft sends one)
        while it throttles Statisfy, a 500 when Statisfy's own Microsoft sign-in
        fails.
      operationId: integrations_microsoft_teams_list_teams
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamsTeams'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    TeamsTeams:
      properties:
        teams:
          items:
            $ref: '#/components/schemas/TeamsTeam'
          title: Teams
          type: array
      required:
        - teams
      title: TeamsTeams
      type: object
    TeamsTeam:
      properties:
        id:
          description: >-
            The team's id (its Microsoft Entra group id), as GET /teams returns
            it
          title: Id
          type: string
        installed:
          description: Statisfy is in the team, so its channels can be read
          title: Installed
          type: boolean
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        ready_to_send:
          description: >-
            Statisfy can post in the team's channels (Teams sent the team's
            address)
          title: Ready To Send
          type: boolean
      required:
        - id
        - name
        - installed
        - ready_to_send
      title: TeamsTeam
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.