Headers
value must be Bearer <token> where <token> is api key prefixed with cal_
curl --request GET \
  --url https://api.cal.com/v2/teams/{teamId}/memberships/{membershipId} \
  --header 'Authorization: <authorization>'{
  "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"
      }
    }
  }
}curl --request GET \
  --url https://api.cal.com/v2/teams/{teamId}/memberships/{membershipId} \
  --header 'Authorization: <authorization>'{
  "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"
      }
    }
  }
}value must be Bearer <token> where <token> is api key prefixed with cal_
Was this page helpful?