> ## 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.

# Lookup Cal.com Event Type

> Looks up a single event type by its Cal.com numeric ID or slug across all connected accounts for the organization.

### 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>

***

### Path Parameters

<ParamField path="platform_id" type="string" required>
  The Cal.com event type numeric ID, such as `123456`, or slug, such as `30min-intro`.
</ParamField>

***

### Query Parameters

<ParamField query="org_id" type="string" required>
  The organization ID whose connected Cal.com accounts should be searched.
</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="object">
  The matching Cal.com event type.

  <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 type 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 404 theme={null}
  {
    "success": false,
    "message": "<string>",
    "code": "NOT_FOUND"
  }
  ```
</ResponseExample>

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

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


## OpenAPI

````yaml GET /api/v1/calcom/event-types/lookup/{platform_id}
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/lookup/{platform_id}:
    get:
      tags:
        - CalComService
      summary: Lookup Cal.com Event Type
      description: Look up an event type by ID or slug.
      operationId: LookupCalcomEventType
      parameters:
        - name: platform_id
          in: path
          required: true
          schema:
            type: string
          description: Cal.com event type numeric ID or slug
        - name: org_id
          in: query
          required: true
          schema:
            type: string
          description: Organization ID
      responses:
        '200':
          description: Event type retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetCalcomEventTypeResponse'
              example:
                success: true
                message: Event type 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 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: Event type not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                message: <string>
                code: NOT_FOUND
        '500':
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                message: <string>
                code: INTERNAL_ERROR
      security:
        - BearerAuth: []
components:
  schemas:
    GetCalcomEventTypeResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          $ref: '#/components/schemas/CalcomEventType'
      example:
        success: true
        message: Event type 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

````