Skip to main content
GET
/
api
/
v1
/
calcom
/
event-types
/
lookup
/
{platform_id}
Lookup Cal.com Event Type
curl --request GET \
  --url https://api.ravan.ai/api/v1/calcom/event-types/lookup/{platform_id} \
  --header 'Authorization: Bearer <token>'
{
  "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>"
  }
}

Authorizations

Authorization
string
required
Your JWT access token. Pass it as a Bearer token in the Authorization header. Example: Authorization: Bearer <token>.

Path Parameters

platform_id
string
required
The Cal.com event type numeric ID, such as 123456, or slug, such as 30min-intro.

Query Parameters

org_id
string
required
The organization ID whose connected Cal.com accounts should be searched.

Response

success
boolean
Whether the request succeeded.
message
string
Human-readable status message.
data
object
The matching Cal.com event type.
{
  "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>"
  }
}
{
  "success": false,
  "message": "<string>",
  "code": "INVALID_REQUEST"
}
{
  "success": false,
  "message": "<string>",
  "code": "NOT_CONNECTED"
}
{
  "success": false,
  "message": "<string>",
  "code": "NOT_FOUND"
}
{
  "success": false,
  "message": "<string>"
}
{
  "success": false,
  "message": "<string>",
  "code": "INTERNAL_ERROR"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

platform_id
string
required

Cal.com event type numeric ID or slug

Query Parameters

org_id
string
required

Organization ID

Response

Event type retrieved

success
boolean
message
string
data
object
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>"
}