GET
/
v2
/
organizations
/
{orgId}
/
memberships
/
{membershipId}
curl --request GET \
  --url https://api.cal.com/v2/organizations/{orgId}/memberships/{membershipId}
{
  "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
membershipId
number
required

Response

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

"success"

data
object
required