Headers
For non-platform customers - value must be Bearer <token> where <token> is api key prefixed with cal_
For platform customers - OAuth client secret key
For platform customers - OAuth client ID
curl --request GET \
--url https://api.cal.com/v2/organizations/{orgId}/roles/{roleId}{
"status": "success",
"data": {
"id": "<string>",
"name": "<string>",
"color": "<string>",
"description": "<string>",
"organizationId": 123,
"type": "SYSTEM",
"permissions": [
"booking.read",
"eventType.create"
],
"createdAt": "<string>",
"updatedAt": "<string>"
}
}curl --request GET \
--url https://api.cal.com/v2/organizations/{orgId}/roles/{roleId}{
"status": "success",
"data": {
"id": "<string>",
"name": "<string>",
"color": "<string>",
"description": "<string>",
"organizationId": 123,
"type": "SYSTEM",
"permissions": [
"booking.read",
"eventType.create"
],
"createdAt": "<string>",
"updatedAt": "<string>"
}
}For non-platform customers - value must be Bearer <token> where <token> is api key prefixed with cal_
For platform customers - OAuth client secret key
For platform customers - OAuth client ID
Was this page helpful?