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

# Get teams

> Gets teams from the database.



## OpenAPI

````yaml /api-v2-reference/openapi.yml get /organizations/{organizationId}/teams
openapi: 3.1.0
info:
  title: Formbricks API
  description: Manage Formbricks resources programmatically.
  version: 2.0.0
servers:
  - url: https://app.formbricks.com/api/v2
    description: Formbricks Cloud
security:
  - apiKeyAuth: []
tags:
  - name: Health
    description: Operations for checking critical application dependencies health status.
  - name: Roles
    description: Operations for managing roles.
  - name: Me
    description: Operations for managing your API key.
  - name: Management API - Responses
    description: Operations for managing responses.
  - name: Management API - Contacts
    description: Operations for managing contacts.
  - name: Management API - Contact Attributes
    description: Operations for managing contact attributes.
  - name: Management API - Contact Attribute Keys
    description: Operations for managing contact attribute keys.
  - name: Management API - Surveys
    description: Operations for managing surveys.
  - name: Management API - Surveys - Contact Links
    description: Operations for generating personalized survey links for contacts.
  - name: Management API - Webhooks
    description: Operations for managing webhooks.
  - name: Organizations API - Teams
    description: Operations for managing teams.
  - name: Organizations API - Project Teams
    description: Operations for managing project teams.
  - name: Organizations API - Users
    description: Operations for managing users.
paths:
  /organizations/{organizationId}/teams:
    get:
      tags:
        - Organizations API - Teams
      summary: Get teams
      description: Gets teams from the database.
      operationId: getTeams
      parameters:
        - in: path
          name: organizationId
          description: The ID of the organization
          schema:
            $ref: '#/components/schemas/organizationId'
          required: true
        - in: query
          name: limit
          description: Number of items to return
          schema:
            type: number
            minimum: 1
            maximum: 250
            default: 50
            description: Number of items to return
        - in: query
          name: skip
          description: Number of items to skip
          schema:
            type: number
            minimum: 0
            default: 0
            description: Number of items to skip
        - in: query
          name: sortBy
          description: Sort by field
          schema:
            type: string
            enum:
              - createdAt
              - updatedAt
            default: createdAt
            description: Sort by field
        - in: query
          name: order
          description: Sort order
          schema:
            type: string
            enum:
              - asc
              - desc
            default: desc
            description: Sort order
        - in: query
          name: startDate
          description: Start date
          schema:
            type: string
            description: Start date
        - in: query
          name: endDate
          description: End date
          schema:
            type: string
            description: End date
        - in: query
          name: filterDateField
          description: Date field to filter by
          schema:
            type: string
            enum:
              - createdAt
              - updatedAt
            description: Date field to filter by
      responses:
        '200':
          description: Teams retrieved successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: The ID of the team
                        createdAt:
                          type: string
                          description: The date and time the team was created
                          example: '2021-01-01T00:00:00.000Z'
                        updatedAt:
                          type: string
                          description: The date and time the team was last updated
                          example: '2021-01-01T00:00:00.000Z'
                        name:
                          type: string
                          description: The name of the team
                          example: My team
                        organizationId:
                          type: string
                          description: The ID of the organization
                  meta:
                    type: object
                    properties:
                      total:
                        type: number
                      limit:
                        type: number
                      offset:
                        type: number
components:
  schemas:
    organizationId:
      type: string
      description: The ID of the organization
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Use your Formbricks x-api-key to authenticate.

````