curl --request GET \
--url https://api.cal.com/v2/organizations/{orgId}/teams/{teamId}/roles{
"status": "success",
"data": [
{
"id": "<string>",
"name": "<string>",
"type": "SYSTEM",
"permissions": [
"booking.read",
"eventType.create"
],
"createdAt": "<string>",
"updatedAt": "<string>",
"color": "<string>",
"description": "<string>",
"teamId": 123
}
]
}curl --request GET \
--url https://api.cal.com/v2/organizations/{orgId}/teams/{teamId}/roles{
"status": "success",
"data": [
{
"id": "<string>",
"name": "<string>",
"type": "SYSTEM",
"permissions": [
"booking.read",
"eventType.create"
],
"createdAt": "<string>",
"updatedAt": "<string>",
"color": "<string>",
"description": "<string>",
"teamId": 123
}
]
}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
Maximum number of items to return
1 <= x <= 250Number of items to skip
x >= 0Was this page helpful?