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

# List all teams

> Retrieve a list of teams for the authenticated user.



## OpenAPI

````yaml get /teams
openapi: 3.1.0
info:
  version: 0.0.1
  title: Abacus API
  description: Abacus is the operating system for Merchant Cash Advance businesses.
  contact:
    name: Abacus Support
    email: support@abacuslabs.co
    url: https://abacuslabs.co
  license:
    name: AGPL-3.0 license
    url: https://github.com/Suphian/abacus/blob/main/LICENSE
servers:
  - url: https://api.abacuslabs.co
    description: Production API
security:
  - oauth2: []
  - token: []
paths:
  /teams:
    get:
      tags:
        - Teams
      summary: List all teams
      description: Retrieve a list of teams for the authenticated user.
      operationId: listTeams
      responses:
        '200':
          description: Retrieve a list of teams for the authenticated user.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                          description: Unique identifier of the team
                          example: 123e4567-e89b-12d3-a456-426614174000
                        name:
                          type: string
                          description: Name of the team or organization
                          example: Acme Corporation
                        logoUrl:
                          type: string
                          nullable: true
                          format: uri
                          description: URL to the team's logo image
                          example: >-
                            https://example.supabase.co/storage/v1/object/public/avatars/logo.png
                        plan:
                          type: string
                          enum:
                            - trial
                            - connect
                            - pro
                          description: Current subscription plan of the team
                          example: pro
                      required:
                        - id
                        - name
                        - logoUrl
                        - plan
                    description: Array of teams that the user has access to
                required:
                  - data
components:
  securitySchemes:
    token:
      type: http
      scheme: bearer
      description: Default authentication mechanism
      x-speakeasy-example: ABACUS_API_KEY

````

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