GET
/
v2
/
organizations
/
{orgId}
/
teams
/
{teamId}
/
memberships
curl --request GET \
  --url https://api.cal.com/v2/organizations/{orgId}/teams/{teamId}/memberships
{
  "status": "success",
  "data": [
    {
      "id": 123,
      "userId": 123,
      "teamId": 123,
      "accepted": true,
      "role": "MEMBER",
      "disableImpersonation": true,
      "user": {
        "avatarUrl": "<string>",
        "username": "<string>",
        "name": "<string>",
        "email": "<string>",
        "bio": "<string>",
        "metadata": {
          "key": "value"
        }
      }
    }
  ]
}

Headers

Authorization
string

For non-platform customers - value must be Bearer <token> where <token> is api key prefixed with cal_

x-cal-secret-key
string

For platform customers - OAuth client secret key

x-cal-client-id
string

For platform customers - OAuth client ID

Path Parameters

orgId
number
required
teamId
number
required

Query Parameters

take
number

The number of items to return

skip
number

The number of items to skip

Response

200 - application/json
status
enum<string>
required
Available options:
success,
error
Example:

"success"

data
object[]
required