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

# List Cal.com Event Types

> Lists event types fetched live from Cal.com across all connected org-level accounts, or one account if `account_id` is provided.

### Authorizations

<ParamField header="Authorization" type="string" required>
  Your JWT access token. Pass it as a Bearer token in the `Authorization` header. Example: `Authorization: Bearer <token>`.
</ParamField>

***

### Query Parameters

<ParamField query="org_id" type="string" required>
  The organization ID whose connected Cal.com event types you want to fetch.
</ParamField>

<ParamField query="account_id" type="string">
  Restricts results to one connected Cal.com account. The account must belong to the same organization.
</ParamField>

***

### Response

<ResponseField name="success" type="boolean">
  Whether the request succeeded.
</ResponseField>

<ResponseField name="message" type="string">
  Human-readable status message.
</ResponseField>

<ResponseField name="data" type="array">
  Array of Cal.com event types.

  <Expandable title="data[]">
    <ResponseField name="id" type="string">
      Event type ID from Cal.com.
    </ResponseField>

    <ResponseField name="slug" type="string">
      Event type slug.
    </ResponseField>

    <ResponseField name="title" type="string">
      Event type title suffixed with the owning account name.
    </ResponseField>

    <ResponseField name="description" type="string">
      Event type description.
    </ResponseField>

    <ResponseField name="duration_minutes" type="integer">
      Duration in minutes.
    </ResponseField>

    <ResponseField name="price" type="number">
      Event type price.
    </ResponseField>

    <ResponseField name="currency" type="string">
      Currency code.
    </ResponseField>

    <ResponseField name="is_active" type="boolean">
      Whether the event type is active.
    </ResponseField>

    <ResponseField name="calcom_account_id" type="string">
      Owning Cal.com account ID.
    </ResponseField>

    <ResponseField name="account_name" type="string">
      Owning Cal.com account name.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": <boolean>,
    "message": "Event types retrieved",
    "data": [
      {
        "id": "<string>",
        "slug": "<string>",
        "title": "<string>",
        "description": "<string>",
        "duration_minutes": <integer>,
        "price": <number>,
        "currency": "<string>",
        "is_active": <boolean>,
        "calcom_account_id": "<string>",
        "account_name": "<string>"
      }
    ]
  }
  ```
</ResponseExample>

<ResponseExample>
  ```json 400 theme={null}
  {
    "success": false,
    "message": "<string>",
    "code": "INVALID_REQUEST"
  }
  ```
</ResponseExample>

<ResponseExample>
  ```json 400 theme={null}
  {
    "success": false,
    "message": "<string>",
    "code": "NOT_CONNECTED"
  }
  ```
</ResponseExample>

<ResponseExample>
  ```json 401 theme={null}
  {
    "success": false,
    "message": "<string>"
  }
  ```
</ResponseExample>

<ResponseExample>
  ```json 404 theme={null}
  {
    "success": false,
    "message": "<string>",
    "code": "NOT_FOUND"
  }
  ```
</ResponseExample>

<ResponseExample>
  ```json 500 theme={null}
  {
    "success": false,
    "message": "<string>",
    "code": "INTERNAL_ERROR"
  }
  ```
</ResponseExample>


## OpenAPI

````yaml GET /api/v1/calcom/event-types
openapi: 3.0.1
info:
  title: Agni API
  version: 1.0.0
  description: >-
    Agni API for managing agents, tools, widget settings, telephony, and
    integrations.
servers:
  - url: https://api.ravan.ai
security:
  - X-Api-Key: []
tags:
  - name: AgentService
  - name: AgentToolService
  - name: WidgetSettingsService
  - name: PhoneService
  - name: AppointmentService
  - name: GHLService
  - name: CalComService
  - name: CampaignService
  - name: ContactService
  - name: CallingService
  - name: RAGService
  - name: ModelService
  - name: HealthService
paths:
  /api/v1/calcom/event-types:
    get:
      tags:
        - CalComService
      summary: List Cal.com Event Types
      operationId: ListCalcomEventTypes
      parameters:
        - name: org_id
          in: query
          required: true
          schema:
            type: string
          description: Organization ID
        - name: account_id
          in: query
          schema:
            type: string
          description: Restrict to one Cal.com account belonging to the org
      responses:
        '200':
          description: Event types retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListCalcomEventTypesResponse'
              example:
                success: true
                message: Event types retrieved
                data:
                  - id: <string>
                    slug: <string>
                    title: <string>
                    description: <string>
                    duration_minutes: 0
                    price: 0
                    currency: <string>
                    is_active: true
                    calcom_account_id: <string>
                    account_name: <string>
        '400':
          description: Missing org_id or no Cal.com account connected
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                message: <string>
                code: INVALID_REQUEST
        '401':
          description: Missing or invalid JWT
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedResponse'
              example:
                success: false
                message: <string>
        '404':
          description: account_id not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                message: <string>
                code: NOT_FOUND
        '500':
          description: Account belongs to another org or unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                message: <string>
                code: INTERNAL_ERROR
      security:
        - BearerAuth: []
components:
  schemas:
    ListCalcomEventTypesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: array
          items:
            $ref: '#/components/schemas/CalcomEventType'
      example:
        success: true
        message: Event types retrieved
        data:
          - id: <string>
            slug: <string>
            title: <string>
            description: <string>
            duration_minutes: 0
            price: 0
            currency: <string>
            is_active: true
            calcom_account_id: <string>
            account_name: <string>
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: string
    UnauthorizedResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
      example:
        success: false
        message: <string>
    CalcomEventType:
      type: object
      properties:
        id:
          type: string
        slug:
          type: string
        title:
          type: string
        description:
          type: string
        duration_minutes:
          type: integer
        price:
          type: number
        currency:
          type: string
        is_active:
          type: boolean
        calcom_account_id:
          type: string
        account_name:
          type: string
      example:
        id: <string>
        slug: <string>
        title: <string>
        description: <string>
        duration_minutes: 0
        price: 0
        currency: <string>
        is_active: true
        calcom_account_id: <string>
        account_name: <string>
  securitySchemes:
    X-Api-Key:
      type: apiKey
      in: header
      name: X-Api-Key
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````