Cal.com Orgs / Teams / Roles / Permissions API

The Orgs / Teams / Roles / Permissions API from Cal.com — 2 operation(s) for orgs / teams / roles / permissions.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions Add permissions to a team role · Add permissions to an organization team role (single or batch) #
Ask an LLM
“How do I grant a team role additional permissions?”
“Can I add several permissions to a team role in one call?”
Tell an agent
Add permissions {permissions} to role {roleId} on team {teamId} in organization {orgId}.
Grant role {roleId} on team {teamId} in org {orgId} the actions {permissions}.
GET /v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions List a team role's permissions · List permissions for an organization team role #
Ask an LLM
“Which permissions does a team role have in my organization?”
“Can I see what a team role is allowed to do?”
Tell an agent
List the permissions of role {roleId} on team {teamId} in organization {orgId}.
Show which actions role {roleId} on team {teamId} is allowed in org {orgId}.
PUT /v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions Replace a team role's permissions · Replace all permissions for an organization team role #
Ask an LLM
“How do I overwrite all the permissions on a team role?”
“Can I reset a team role's permissions to a specific set?”
Tell an agent
Replace the permissions of role {roleId} on team {teamId} in organization {orgId} with {permissions}.
Set role {roleId} on team {teamId} in org {orgId} to exactly {permissions}.
DELETE /v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions Remove several permissions from a team role · Remove multiple permissions from an organization team role #
Ask an LLM
“How do I revoke multiple permissions from a team role at once?”
“Can I strip several permissions from a team role in a single request?”
Tell an agent destructive · confirm first
Remove permissions {permissions} from role {roleId} on team {teamId} in organization {orgId}.
Revoke the actions {permissions} from role {roleId} on team {teamId} in org {orgId}.
DELETE /v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions/{permission} Remove one permission from a team role · Remove a permission from an organization team role #
Ask an LLM
“How do I take away a single permission from a team role?”
“Can I revoke just one action on a team role?”
Tell an agent destructive · confirm first
Remove permission {permission} from role {roleId} on team {teamId} in organization {orgId}.
Revoke action {permission} on role {roleId} for team {teamId} in org {orgId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cal-com:cal-com-orgs-teams-roles-permissions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cal-com-orgs-teams-roles-permissions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cal.com API v2 Orgs / Teams / Roles / Permissions API
  description: ''
  version: 1.0.0
  contact: {}
servers: []
tags:
- name: Orgs / Teams / Roles / Permissions
paths:
  /v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions:
    post:
      operationId: OrganizationsTeamsRolesPermissionsController_addPermissions
      parameters:
      - name: Authorization
        in: header
        description: For non-platform customers - value must be `Bearer <token>` where `<token>` is api key prefixed with cal_
        required: false
        schema:
          type: string
      - name: x-cal-secret-key
        in: header
        description: For platform customers - OAuth client secret key
        required: false
        schema:
          type: string
      - name: x-cal-client-id
        in: header
        description: For platform customers - OAuth client ID
        required: false
        schema:
          type: string
      - name: orgId
        required: true
        in: path
        schema:
          type: number
      - name: roleId
        required: true
        in: path
        schema:
          type: string
      - name: teamId
        required: true
        in: path
        description: The team's uuid (preferred), its short-uuid (Flickr Base58) form, or its numeric id.
        schema:
          anyOf:
          - type: string
          - type: number
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTeamRolePermissionsInput'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetTeamRolePermissionsOutput'
      summary: Add permissions to an organization team role (single or batch)
      tags:
      - Orgs / Teams / Roles / Permissions
      x-platform-plan: SCALE
    get:
      description: 'Required membership role: `org admin`. PBAC permission: `role.readTeamRoles`. Learn more about API access control at https://cal.com/docs/api-reference/v2/access-control'
      operationId: OrganizationsTeamsRolesPermissionsController_listPermissions
      parameters:
      - name: Authorization
        in: header
        description: For non-platform customers - value must be `Bearer <token>` where `<token>` is api key prefixed with cal_
        required: false
        schema:
          type: string
      - name: x-cal-secret-key
        in: header
        description: For platform customers - OAuth client secret key
        required: false
        schema:
          type: string
      - name: x-cal-client-id
        in: header
        description: For platform customers - OAuth client ID
        required: false
        schema:
          type: string
      - name: orgId
        required: true
        in: path
        schema:
          type: number
      - name: roleId
        required: true
        in: path
        schema:
          type: string
      - name: teamId
        required: true
        in: path
        description: The team's uuid (preferred), its short-uuid (Flickr Base58) form, or its numeric id.
        schema:
          anyOf:
          - type: string
          - type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetTeamRolePermissionsOutput'
      summary: List permissions for an organization team role
      tags:
      - Orgs / Teams / Roles / Permissions
      x-platform-plan: SCALE
    put:
      operationId: OrganizationsTeamsRolesPermissionsController_setPermissions
      parameters:
      - name: Authorization
        in: header
        description: For non-platform customers - value must be `Bearer <token>` where `<token>` is api key prefixed with cal_
        required: false
        schema:
          type: string
      - name: x-cal-secret-key
        in: header
        description: For platform customers - OAuth client secret key
        required: false
        schema:
          type: string
      - name: x-cal-client-id
        in: header
        description: For platform customers - OAuth client ID
        required: false
        schema:
          type: string
      - name: orgId
        required: true
        in: path
        schema:
          type: number
      - name: roleId
        required: true
        in: path
        schema:
          type: string
      - name: teamId
        required: true
        in: path
        description: The team's uuid (preferred), its short-uuid (Flickr Base58) form, or its numeric id.
        schema:
          anyOf:
          - type: string
          - type: number
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTeamRolePermissionsInput'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetTeamRolePermissionsOutput'
      summary: Replace all permissions for an organization team role
      tags:
      - Orgs / Teams / Roles / Permissions
      x-platform-plan: SCALE
    delete:
      operationId: OrganizationsTeamsRolesPermissionsController_removePermissions
      parameters:
      - name: Authorization
        in: header
        description: For non-platform customers - value must be `Bearer <token>` where `<token>` is api key prefixed with cal_
        required: false
        schema:
          type: string
      - name: x-cal-secret-key
        in: header
        description: For platform customers - OAuth client secret key
        required: false
        schema:
          type: string
      - name: x-cal-client-id
        in: header
        description: For platform customers - OAuth client ID
        required: false
        schema:
          type: string
      - name: orgId
        required: true
        in: path
        schema:
          type: number
      - name: roleId
        required: true
        in: path
        schema:
          type: string
      - name: permissions
        required: false
        in: query
        description: 'Permissions to remove (format: resource.action). Supports comma-separated values as well as repeated query params.'
        schema:
          example: ?permissions=eventType.read,booking.read
          type: array
          items:
            type: string
            enum:
            - role.create
            - role.read
            - role.readTeamRoles
            - role.update
            - role.delete
            - eventType.create
            - eventType.read
            - eventType.readTeamEventTypes
            - eventType.update
            - eventType.delete
            - calEvent.create
            - calEvent.read
            - calEvent.update
            - calEvent.delete
            - team.read
            - team.readTeamSettings
            - team.readConferencing
            - team.readVerifiedResources
            - team.readMemberships
            - team.update
            - team.delete
            - team.invite
            - team.remove
            - team.listMembers
            - team.listMembersPrivate
            - team.changeMemberRole
            - team.impersonate
            - booking.read
            - booking.readTeamBookings
            - booking.readRecordings
            - booking.update
            - booking.updateTeamBookings
            - booking.reassignTeamPastBookings
            - booking.readTeamAuditLogs
            - insights.read
            - workflow.create
            - workflow.read
            - workflow.readTeamWorkflows
            - workflow.update
            - workflow.delete
            - routingForm.create
            - routingForm.read
            - routingForm.readTeamRoutingForms
            - routingForm.update
            - routingForm.delete
            - routingForm.readTeamAuditLogs
            - routingForm.readResponsePii
            - webhook.create
            - webhook.read
            - webhook.update
            - webhook.delete
            - availability.readTeamAvailability
            - featureOptIn.read
            - featureOptIn.update
            - tag.create
            - tag.update
            - tag.delete
      - name: teamId
        required: true
        in: path
        description: The team's uuid (preferred), its short-uuid (Flickr Base58) form, or its numeric id.
        schema:
          anyOf:
          - type: string
          - type: number
      responses:
        '204':
          description: ''
      summary: Remove multiple permissions from an organization team role
      tags:
      - Orgs / Teams / Roles / Permissions
      x-platform-plan: SCALE
  /v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions/{permission}:
    delete:
      operationId: OrganizationsTeamsRolesPermissionsController_removePermission
      parameters:
      - name: Authorization
        in: header
        description: For non-platform customers - value must be `Bearer <token>` where `<token>` is api key prefixed with cal_
        required: false
        schema:
          type: string
      - name: x-cal-secret-key
        in: header
        description: For platform customers - OAuth client secret key
        required: false
        schema:
          type: string
      - name: x-cal-client-id
        in: header
        description: For platform customers - OAuth client ID
        required: false
        schema:
          type: string
      - name: orgId
        required: true
        in: path
        schema:
          type: number
      - name: roleId
        required: true
        in: path
        schema:
          type: string
      - name: teamId
        required: true
        in: path
        description: The team's uuid (preferred), its short-uuid (Flickr Base58) form, or its numeric id.
        schema:
          anyOf:
          - type: string
          - type: number
      - name: permission
        required: true
        in: path
        schema:
          type: string
      responses:
        '204':
          description: ''
      summary: Remove a permission from an organization team role
      tags:
      - Orgs / Teams / Roles / Permissions
      x-platform-plan: SCALE
components:
  schemas:
    GetTeamRolePermissionsOutput:
      type: object
      properties:
        status:
          type: string
          enum:
          - success
          example: success
        data:
          type: array
          items:
            type: string
      required:
      - status
      - data
    CreateTeamRolePermissionsInput:
      type: object
      properties:
        permissions:
          type: array
          items:
            type: string
            enum:
            - role.create
            - role.read
            - role.readTeamRoles
            - role.update
            - role.delete
            - eventType.create
            - eventType.read
            - eventType.readTeamEventTypes
            - eventType.update
            - eventType.delete
            - calEvent.create
            - calEvent.read
            - calEvent.update
            - calEvent.delete
            - team.read
            - team.readTeamSettings
            - team.readConferencing
            - team.readVerifiedResources
            - team.readMemberships
            - team.update
            - team.delete
            - team.invite
            - team.remove
            - team.listMembers
            - team.listMembersPrivate
            - team.changeMemberRole
            - team.impersonate
            - booking.read
            - booking.readTeamBookings
            - booking.readRecordings
            - booking.update
            - booking.updateTeamBookings
            - booking.reassignTeamPastBookings
            - booking.readTeamAuditLogs
            - insights.read
            - workflow.create
            - workflow.read
            - workflow.readTeamWorkflows
            - workflow.update
            - workflow.delete
            - routingForm.create
            - routingForm.read
            - routingForm.readTeamRoutingForms
            - routingForm.update
            - routingForm.delete
            - routingForm.readTeamAuditLogs
            - routingForm.readResponsePii
            - webhook.create
            - webhook.read
            - webhook.update
            - webhook.delete
            - availability.readTeamAvailability
            - featureOptIn.read
            - featureOptIn.update
            - tag.create
            - tag.update
            - tag.delete
          description: 'Permissions to add (format: resource.action)'
          example:
          - eventType.read
          - booking.read
      required:
      - permissions
x-provenance:
  method: harvested
  publisher: Cal.com
  source: https://cal.com/docs/api-reference/v2/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)