Skip to main content
POST
/
v2
/
insights
/
bookings
/
members
Get booking member stats
curl --request POST \
  --url https://api.cal.com/v2/insights/bookings/members \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "scope": "user",
  "timeZone": "America/New_York",
  "selectedTeamId": 12,
  "columnFilters": [
    {
      "id": "createdAt",
      "value": {
        "type": "dr",
        "data": {
          "startDate": "2024-01-01",
          "endDate": "2024-01-31",
          "preset": "custom"
        }
      }
    }
  ]
}
'
{
  "status": "success",
  "data": {
    "mostBookings": [
      {
        "userId": 101,
        "user": {
          "id": 101,
          "email": "[email protected]",
          "username": "alice",
          "name": "Alice",
          "avatarUrl": "/alice/avatar.png"
        },
        "emailMd5": "c160f8cc69a4f0bf2b0362752353d060",
        "count": 8
      }
    ],
    "leastBookings": [
      {
        "userId": 101,
        "user": {
          "id": 101,
          "email": "[email protected]",
          "username": "alice",
          "name": "Alice",
          "avatarUrl": "/alice/avatar.png"
        },
        "emailMd5": "c160f8cc69a4f0bf2b0362752353d060",
        "count": 8
      }
    ],
    "mostCancelled": [
      {
        "userId": 101,
        "user": {
          "id": 101,
          "email": "[email protected]",
          "username": "alice",
          "name": "Alice",
          "avatarUrl": "/alice/avatar.png"
        },
        "emailMd5": "c160f8cc69a4f0bf2b0362752353d060",
        "count": 8
      }
    ],
    "mostCompleted": [
      {
        "userId": 101,
        "user": {
          "id": 101,
          "email": "[email protected]",
          "username": "alice",
          "name": "Alice",
          "avatarUrl": "/alice/avatar.png"
        },
        "emailMd5": "c160f8cc69a4f0bf2b0362752353d060",
        "count": 8
      }
    ],
    "leastCompleted": [
      {
        "userId": 101,
        "user": {
          "id": 101,
          "email": "[email protected]",
          "username": "alice",
          "name": "Alice",
          "avatarUrl": "/alice/avatar.png"
        },
        "emailMd5": "c160f8cc69a4f0bf2b0362752353d060",
        "count": 8
      }
    ],
    "mostNoShow": [
      {
        "userId": 101,
        "user": {
          "id": 101,
          "email": "[email protected]",
          "username": "alice",
          "name": "Alice",
          "avatarUrl": "/alice/avatar.png"
        },
        "emailMd5": "c160f8cc69a4f0bf2b0362752353d060",
        "count": 8
      }
    ],
    "highestRatings": [
      {
        "userId": 101,
        "user": {
          "id": 101,
          "email": "[email protected]",
          "username": "alice",
          "name": "Alice",
          "avatarUrl": "/alice/avatar.png"
        },
        "emailMd5": "c160f8cc69a4f0bf2b0362752353d060",
        "count": 8
      }
    ],
    "lowestRatings": [
      {
        "userId": 101,
        "user": {
          "id": 101,
          "email": "[email protected]",
          "username": "alice",
          "name": "Alice",
          "avatarUrl": "/alice/avatar.png"
        },
        "emailMd5": "c160f8cc69a4f0bf2b0362752353d060",
        "count": 8
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://cal.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Body

application/json
scope
enum<string>
required
Available options:
user,
team,
org
Example:

"user"

timeZone
string
required

IANA timezone used to group time-series insights

Example:

"America/New_York"

selectedTeamId
number

Team ID for team-scoped insights

Example:

12

columnFilters
object[]

Data-table column filters (discriminated union by type: ss, ms, t, n, dr). Date range filters use id=startTime or id=createdAt.

Example:
[
{
"id": "createdAt",
"value": {
"type": "dr",
"data": {
"startDate": "2024-01-01",
"endDate": "2024-01-31",
"preset": "custom"
}
}
}
]

Response

200 - application/json
status
enum<string>
required

Response status

Available options:
success,
error
Example:

"success"

data
object
required

Member statistics grouped by ranking category