Skip to main content
GET
/
api
/
v1
/
calcom
/
agents
/
{agent_id}
/
info
Get Agent Cal.com Info
curl --request GET \
  --url https://api.ravan.ai/api/v1/calcom/agents/{agent_id}/info \
  --header 'Authorization: Bearer <token>'
{
  "success": <boolean>,
  "message": "Agent Cal.com info retrieved",
  "data": {
    "connected": <boolean>,
    "type": "<string>",
    "calcom_account_id": "<string>",
    "account_name": "<string>",
    "status": "<string>",
    "api_base_url": "<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

agent_id
string
required
The agent UUID whose effective Cal.com connection info you want to inspect.

Query Parameters

org_id
string
Optional fallback organization ID. It is used only when the JWT claims do not already include the org context.

Response

success
boolean
Whether the request succeeded.
message
string
Human-readable status message.
data
object
Effective Cal.com connection info for the agent.
{
  "success": <boolean>,
  "message": "Agent Cal.com info retrieved",
  "data": {
    "connected": <boolean>,
    "type": "<string>",
    "calcom_account_id": "<string>",
    "account_name": "<string>",
    "status": "<string>",
    "api_base_url": "<string>"
  }
}
{
  "success": false,
  "message": "<string>",
  "code": "INVALID_REQUEST"
}
{
  "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

agent_id
string
required

Agent UUID

Query Parameters

org_id
string

Fallback organization ID used only when not present in JWT claims

Response

Agent Cal.com info retrieved

success
boolean
message
string
data
object
Example:
{
"connected": true,
"type": "<string>",
"calcom_account_id": "<string>",
"account_name": "<string>",
"status": "<string>",
"api_base_url": "<string>"
}