Skip to main content
GET
/
api
/
v1
/
calcom
/
agents
/
{agent_id}
/
status
Get Agent Cal.com Status
curl --request GET \
  --url https://api.ravan.ai/api/v1/calcom/agents/{agent_id}/status \
  --header 'Authorization: Bearer <token>'
{
  "success": <boolean>,
  "message": "Agent connection status retrieved",
  "data": {
    "connected": <boolean>,
    "status": "<string>",
    "accounts": [
      {
        "id": "<string>",
        "account_name": "<string>",
        "status": "<string>",
        "error": "<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 private Cal.com connection status you want to inspect.

Response

success
boolean
Whether the request succeeded.
message
string
Human-readable status message.
data
object
Returned private Cal.com connection status for the agent.
{
  "success": <boolean>,
  "message": "Agent connection status retrieved",
  "data": {
    "connected": <boolean>,
    "status": "<string>",
    "accounts": [
      {
        "id": "<string>",
        "account_name": "<string>",
        "status": "<string>",
        "error": "<string>"
      }
    ]
  }
}
{
  "success": <boolean>,
  "message": "No agent-level connection found",
  "data": {
    "connected": false,
    "status": "not_connected",
    "accounts": []
  }
}
{
  "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

Response

Agent connection status retrieved

success
boolean
message
string
data
object
Example:
{
"connected": true,
"status": "active",
"accounts": [
{
"id": "<string>",
"account_name": "<string>",
"status": "<string>",
"error": "<string>"
}
]
}