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

# GET /v1/meet/types

> List the meeting types of your company, with duration, location, hosts, and how meetings are assigned.

Lists the meeting types your team offers. Only active types by default, because they are the only ones that can be booked. Types are set up in the portal; the API reads them.

## Endpoint

```
GET https://api.keebai.com/v1/meet/types
```

## Required scope

`meet:types:read`

## Query params

| Param | Type | Required | Default | Description |
| - | - | - | - | - |
| `active` | `string` | No | `true` | `true` lists the active types, `false` the inactive ones. |

## Example request

```bash curl theme={"system"}
curl https://api.keebai.com/v1/meet/types \
  -H "Authorization: Bearer kbai_pk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
```

```js JavaScript theme={"system"}
const types = await (
  await fetch("https://api.keebai.com/v1/meet/types", {
    headers: { Authorization: `Bearer ${process.env.KEEBAI_API_TOKEN}` },
  })
).json();
```

## Response

### 200 OK

```json theme={"system"}
[
  {
    "id": "6731a2b3c4d5e6f7a8b9c0d1",
    "name": "Demo de 30 minutos",
    "description": "Te mostramos cómo funciona Keebai con tu caso.",
    "duration_minutes": 30,
    "location": "google_meet",
    "assignment": "round_robin",
    "host_user_ids": ["66c1d2e3f4a5b6c7d8e9f0a1", "66c1d2e3f4a5b6c7d8e9f0a2"],
    "min_notice_minutes": 120,
    "horizon_days": 14,
    "active": true
  }
]
```

| Field | Description |
| - | - |
| `location` | `google_meet`, `microsoft_teams`, or `none`. With a video location the meeting comes back with `meet_url`. |
| `assignment` | `round_robin`, `sticky`, or `collective`. See [how hosts are assigned](https://docs.keebai.com/dev/meet/overview.md#how-hosts-are-assigned). |
| `host_user_ids` | Keebai user ids of the people who take this type. |
| `min_notice_minutes` | A slot closer than this to now is not offered. |
| `horizon_days` | How many days ahead slots are offered. |

Meeting types change on a human timescale. Fetch them once and cache them.

### 401 Unauthorized · 403 Forbidden

Same semantics as the rest of the public API.


## OpenAPI

````yaml GET /v1/meet/types
openapi: 3.0.0
info:
  title: Keebai Public API
  description: Superficie pública REST autenticada con Personal Access Tokens (PAT).
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.keebai.com
    description: Production
security: []
tags: []
paths:
  /v1/meet/types:
    get:
      tags:
        - meet
      summary: Listar tipos de reunión
      description: >-
        Por defecto sólo los activos. Cada tipo trae su duración, ubicación
        (Google Meet, Teams o ninguna) y el reparto entre las personas que
        atienden.
      operationId: PublicMeetController_listTypes
      parameters:
        - name: active
          required: false
          in: query
          description: >-
            Por defecto sólo los tipos activos, que son los únicos que se pueden
            agendar. `false` lista los inactivos.
          schema:
            default: 'true'
            type: string
            enum:
              - 'true'
              - 'false'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PublicMeetingTypeResponseDto'
      security:
        - PAT: []
components:
  schemas:
    PublicMeetingTypeResponseDto:
      type: object
      properties:
        id:
          type: string
          description: ObjectId del tipo de reunión
        name:
          type: string
        description:
          type: string
          description: Texto que va en la invitación
        duration_minutes:
          type: number
          example: 30
        location:
          type: string
          enum:
            - google_meet
            - microsoft_teams
            - none
        assignment:
          type: string
          enum:
            - round_robin
            - sticky
            - collective
          description: >-
            round_robin reparte entre las personas, sticky devuelve al cliente a
            quien ya lo atendió, collective exige a todas.
        host_user_ids:
          description: Personas que atienden (auth_users._id)
          type: array
          items:
            type: string
        min_notice_minutes:
          type: number
          description: Minutos mínimos de anticipación para agendar
        horizon_days:
          type: number
          description: Días hacia adelante que se ofrecen
        active:
          type: boolean
      required:
        - id
        - name
        - duration_minutes
        - location
        - assignment
        - host_user_ids
        - active
  securitySchemes:
    PAT:
      scheme: bearer
      bearerFormat: kbai_pk_<hex>
      type: http
      description: >-
        Personal Access Token con prefijo `kbai_pk_`. Generar desde el portal
        con permiso `developer.manage_tokens`.

````

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