Back to projects

calcom-python-v2

calcom v2 api python package generated by openapi

1 Updated Feb 6, 2026
Repository

openapi-client

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.9.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.7+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/ImGajeed76/calcom-python-v2.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/ImGajeed76/calcom-python-v2.git)

Then import the package:

import openapi_client

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import openapi_client

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:


import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
    host = "https://api.cal.com/v2"
)



# Enter a context with an instance of the API client
with openapi_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = openapi_client.BookingsApi(api_client)
    cal_api_version = 'cal_api_version_example' # str | Must be set to `2024-08-13`
    booking_uid = 'booking_uid_example' # str | 
    cancel_booking_input20240813 = openapi_client.CancelBookingInput20240813() # CancelBookingInput20240813 | 

    try:
        # Cancel a booking
        api_response = api_instance.bookings_controller20240813_cancel_booking(cal_api_version, booking_uid, cancel_booking_input20240813)
        print("The response of BookingsApi->bookings_controller20240813_cancel_booking:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling BookingsApi->bookings_controller20240813_cancel_booking: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

ClassMethodHTTP requestDescription
BookingsApibookings_controller20240813_cancel_bookingPOST /v2/bookings/{bookingUid}/cancelCancel a booking
BookingsApibookings_controller20240813_create_bookingPOST /v2/bookingsCreate a booking
BookingsApibookings_controller20240813_get_bookingGET /v2/bookings/{bookingUid}Get a booking
BookingsApibookings_controller20240813_get_bookingsGET /v2/bookingsGet all bookings
BookingsApibookings_controller20240813_mark_no_showPOST /v2/bookings/{bookingUid}/mark-absentMark a booking absence
BookingsApibookings_controller20240813_reschedule_bookingPOST /v2/bookings/{bookingUid}/rescheduleReschedule a booking
CalendarsApicalendars_controller_checkGET /v2/calendars/{calendar}/checkCheck a calendar connection
CalendarsApicalendars_controller_check_ics_feedGET /v2/calendars/ics-feed/checkCheck an ICS feed
CalendarsApicalendars_controller_create_ics_feedPOST /v2/calendars/ics-feed/saveSave an ICS feed
CalendarsApicalendars_controller_delete_calendar_credentialsPOST /v2/calendars/{calendar}/disconnectDisconnect a calendar
CalendarsApicalendars_controller_get_busy_timesGET /v2/calendars/busy-timesGet busy times
CalendarsApicalendars_controller_get_calendarsGET /v2/calendarsGet all calendars
CalendarsApicalendars_controller_redirectGET /v2/calendars/{calendar}/connectGet connect URL
CalendarsApicalendars_controller_saveGET /v2/calendars/{calendar}/saveSave a calendar
CalendarsApicalendars_controller_sync_credentialsPOST /v2/calendars/{calendar}/credentialsSync credentials
DestinationCalendarsApidestination_calendars_controller_update_destination_calendarsPUT /v2/destination-calendarsUpdate destination calendars
EventTypesApievent_types_controller20240614_create_event_typePOST /v2/event-typesCreate an event type
EventTypesApievent_types_controller20240614_delete_event_typeDELETE /v2/event-types/{eventTypeId}Delete an event type
EventTypesApievent_types_controller20240614_get_event_type_by_idGET /v2/event-types/{eventTypeId}Get an event type
EventTypesApievent_types_controller20240614_get_event_typesGET /v2/event-typesGet all event types
EventTypesApievent_types_controller20240614_update_event_typePATCH /v2/event-types/{eventTypeId}Update an event type
EventTypesWebhooksApievent_type_webhooks_controller_create_event_type_webhookPOST /v2/event-types/{eventTypeId}/webhooksCreate a webhook
EventTypesWebhooksApievent_type_webhooks_controller_delete_all_event_type_webhooksDELETE /v2/event-types/{eventTypeId}/webhooksDelete all webhooks
EventTypesWebhooksApievent_type_webhooks_controller_delete_event_type_webhookDELETE /v2/event-types/{eventTypeId}/webhooks/{webhookId}Delete a webhook
EventTypesWebhooksApievent_type_webhooks_controller_get_event_type_webhookGET /v2/event-types/{eventTypeId}/webhooks/{webhookId}Get a webhook
EventTypesWebhooksApievent_type_webhooks_controller_get_event_type_webhooksGET /v2/event-types/{eventTypeId}/webhooksGet all webhooks
EventTypesWebhooksApievent_type_webhooks_controller_update_event_type_webhookPATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId}Update a webhook
ManagedUsersApio_auth_flow_controller_refresh_access_token_0POST /v2/oauth/{clientId}/refresh
MeApime_controller_get_meGET /v2/meGet my profile
MeApime_controller_update_mePATCH /v2/meUpdate my profile
OAuthApio_auth_flow_controller_authorizePOST /v2/oauth/{clientId}/authorizeAuthorize an OAuth client
OAuthApio_auth_flow_controller_exchangePOST /v2/oauth/{clientId}/exchangeExchange authorization code for access tokens
OAuthApio_auth_flow_controller_refresh_access_tokenPOST /v2/oauth/{clientId}/refresh
OrgsAttributesApiorganizations_attributes_controller_create_organization_attributePOST /v2/organizations/{orgId}/attributesCreate an attribute
OrgsAttributesApiorganizations_attributes_controller_delete_organization_attributeDELETE /v2/organizations/{orgId}/attributes/{attributeId}Delete an attribute
OrgsAttributesApiorganizations_attributes_controller_get_organization_attributeGET /v2/organizations/{orgId}/attributes/{attributeId}Get an attribute
OrgsAttributesApiorganizations_attributes_controller_get_organization_attributesGET /v2/organizations/{orgId}/attributesGet all attributes
OrgsAttributesApiorganizations_attributes_controller_update_organization_attributePATCH /v2/organizations/{orgId}/attributes/{attributeId}Update an attribute
OrgsAttributesOptionsApiorganizations_options_attributes_controller_assign_organization_attribute_option_to_userPOST /v2/organizations/{orgId}/attributes/options/{userId}Assign an attribute to a user
OrgsAttributesOptionsApiorganizations_options_attributes_controller_create_organization_attribute_optionPOST /v2/organizations/{orgId}/attributes/{attributeId}/optionsCreate an attribute option
OrgsAttributesOptionsApiorganizations_options_attributes_controller_delete_organization_attribute_optionDELETE /v2/organizations/{orgId}/attributes/{attributeId}/options/{optionId}Delete an attribute option
OrgsAttributesOptionsApiorganizations_options_attributes_controller_get_organization_attribute_optionsGET /v2/organizations/{orgId}/attributes/{attributeId}/optionsGet all attribute options
OrgsAttributesOptionsApiorganizations_options_attributes_controller_get_organization_attribute_options_for_userGET /v2/organizations/{orgId}/attributes/options/{userId}Get all attribute options for a user
OrgsAttributesOptionsApiorganizations_options_attributes_controller_unassign_organization_attribute_option_from_userDELETE /v2/organizations/{orgId}/attributes/options/{userId}/{attributeOptionId}Unassign an attribute from a user
OrgsAttributesOptionsApiorganizations_options_attributes_controller_update_organization_attribute_optionPATCH /v2/organizations/{orgId}/attributes/{attributeId}/options/{optionId}Update an attribute option
OrgsEventTypesApiorganizations_event_types_controller_create_phone_callPOST /v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/create-phone-callCreate a phone call
OrgsEventTypesApiorganizations_event_types_controller_create_team_event_typePOST /v2/organizations/{orgId}/teams/{teamId}/event-typesCreate an event type
OrgsEventTypesApiorganizations_event_types_controller_delete_team_event_typeDELETE /v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}Delete a team event type
OrgsEventTypesApiorganizations_event_types_controller_get_team_event_typeGET /v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}Get an event type
OrgsEventTypesApiorganizations_event_types_controller_get_team_event_typesGET /v2/organizations/{orgId}/teams/{teamId}/event-typesGet a team event type
OrgsEventTypesApiorganizations_event_types_controller_get_teams_event_typesGET /v2/organizations/{orgId}/teams/event-typesGet all team event types
OrgsEventTypesApiorganizations_event_types_controller_update_team_event_typePATCH /v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}Update a team event type
OrgsMembershipsApiorganizations_memberships_controller_create_membershipPOST /v2/organizations/{orgId}/membershipsCreate a membership
OrgsMembershipsApiorganizations_memberships_controller_delete_membershipDELETE /v2/organizations/{orgId}/memberships/{membershipId}Delete a membership
OrgsMembershipsApiorganizations_memberships_controller_get_all_membershipsGET /v2/organizations/{orgId}/membershipsGet all memberships
OrgsMembershipsApiorganizations_memberships_controller_get_org_membershipGET /v2/organizations/{orgId}/memberships/{membershipId}Get a membership
OrgsMembershipsApiorganizations_memberships_controller_update_membershipPATCH /v2/organizations/{orgId}/memberships/{membershipId}Update a membership
OrgsSchedulesApiorganizations_schedules_controller_create_user_schedulePOST /v2/organizations/{orgId}/users/{userId}/schedulesCreate a schedule
OrgsSchedulesApiorganizations_schedules_controller_delete_user_scheduleDELETE /v2/organizations/{orgId}/users/{userId}/schedules/{scheduleId}Delete a schedule
OrgsSchedulesApiorganizations_schedules_controller_get_organization_schedulesGET /v2/organizations/{orgId}/schedulesGet all schedules
OrgsSchedulesApiorganizations_schedules_controller_get_user_scheduleGET /v2/organizations/{orgId}/users/{userId}/schedules/{scheduleId}Get a schedule
OrgsSchedulesApiorganizations_schedules_controller_get_user_schedulesGET /v2/organizations/{orgId}/users/{userId}/schedulesGet all schedules
OrgsSchedulesApiorganizations_schedules_controller_update_user_schedulePATCH /v2/organizations/{orgId}/users/{userId}/schedules/{scheduleId}Update a schedule
OrgsTeamsApiorganizations_teams_controller_create_teamPOST /v2/organizations/{orgId}/teamsCreate a team
OrgsTeamsApiorganizations_teams_controller_delete_teamDELETE /v2/organizations/{orgId}/teams/{teamId}Delete a team
OrgsTeamsApiorganizations_teams_controller_get_all_teamsGET /v2/organizations/{orgId}/teamsGet all teams
OrgsTeamsApiorganizations_teams_controller_get_my_teamsGET /v2/organizations/{orgId}/teams/meGet team membership for user
OrgsTeamsApiorganizations_teams_controller_get_teamGET /v2/organizations/{orgId}/teams/{teamId}Get a team
OrgsTeamsApiorganizations_teams_controller_update_teamPATCH /v2/organizations/{orgId}/teams/{teamId}Update a team
OrgsTeamsMembershipsApiorganizations_teams_memberships_controller_create_org_team_membershipPOST /v2/organizations/{orgId}/teams/{teamId}/membershipsCreate a membership
OrgsTeamsMembershipsApiorganizations_teams_memberships_controller_delete_org_team_membershipDELETE /v2/organizations/{orgId}/teams/{teamId}/memberships/{membershipId}Delete a membership
OrgsTeamsMembershipsApiorganizations_teams_memberships_controller_get_all_org_team_membershipsGET /v2/organizations/{orgId}/teams/{teamId}/membershipsGet all memberships
OrgsTeamsMembershipsApiorganizations_teams_memberships_controller_get_org_team_membershipGET /v2/organizations/{orgId}/teams/{teamId}/memberships/{membershipId}Get a membership
OrgsTeamsMembershipsApiorganizations_teams_memberships_controller_update_org_team_membershipPATCH /v2/organizations/{orgId}/teams/{teamId}/memberships/{membershipId}Update a membership
OrgsUsersApiorganizations_users_controller_create_organization_userPOST /v2/organizations/{orgId}/usersCreate a user
OrgsUsersApiorganizations_users_controller_delete_organization_userDELETE /v2/organizations/{orgId}/users/{userId}Delete a user
OrgsUsersApiorganizations_users_controller_get_organizations_usersGET /v2/organizations/{orgId}/usersGet all users
OrgsUsersApiorganizations_users_controller_update_organization_userPATCH /v2/organizations/{orgId}/users/{userId}Update a user
OrgsUsersSchedulesApiorganizations_schedules_controller_create_user_schedule_0POST /v2/organizations/{orgId}/users/{userId}/schedulesCreate a schedule
OrgsUsersSchedulesApiorganizations_schedules_controller_delete_user_schedule_0DELETE /v2/organizations/{orgId}/users/{userId}/schedules/{scheduleId}Delete a schedule
OrgsUsersSchedulesApiorganizations_schedules_controller_get_user_schedule_0GET /v2/organizations/{orgId}/users/{userId}/schedules/{scheduleId}Get a schedule
OrgsUsersSchedulesApiorganizations_schedules_controller_get_user_schedules_0GET /v2/organizations/{orgId}/users/{userId}/schedulesGet all schedules
OrgsUsersSchedulesApiorganizations_schedules_controller_update_user_schedule_0PATCH /v2/organizations/{orgId}/users/{userId}/schedules/{scheduleId}Update a schedule
OrgsWebhooksApiorganizations_webhooks_controller_create_organization_webhookPOST /v2/organizations/{orgId}/webhooksCreate a webhook
OrgsWebhooksApiorganizations_webhooks_controller_delete_webhookDELETE /v2/organizations/{orgId}/webhooks/{webhookId}Delete a webhook
OrgsWebhooksApiorganizations_webhooks_controller_get_all_organization_webhooksGET /v2/organizations/{orgId}/webhooksGet all webhooks
OrgsWebhooksApiorganizations_webhooks_controller_get_organization_webhookGET /v2/organizations/{orgId}/webhooks/{webhookId}Get a webhook
OrgsWebhooksApiorganizations_webhooks_controller_update_org_webhookPATCH /v2/organizations/{orgId}/webhooks/{webhookId}Update a webhook
PlatformCalProviderApical_provider_controller_verify_access_tokenGET /v2/provider/{clientId}/access-tokenVerify an access token
PlatformCalProviderApical_provider_controller_verify_client_idGET /v2/provider/{clientId}Get a provider
PlatformConferencingApiconferencing_controller_connectPOST /v2/conferencing/{app}/connectconnect your conferencing application
PlatformConferencingApiconferencing_controller_defaultPOST /v2/conferencing/{app}/defaultset your default conferencing application
PlatformConferencingApiconferencing_controller_disconnectDELETE /v2/conferencing/{app}/disconnectdisconnect your conferencing application
PlatformConferencingApiconferencing_controller_list_conferencing_appsGET /v2/conferencinglist your conferencing applications
PlatformGoogleCalendarApigcal_controller_checkGET /v2/gcal/checkCheck a calendar connection status
PlatformGoogleCalendarApigcal_controller_redirectGET /v2/gcal/oauth/auth-urlGet auth URL
PlatformGoogleCalendarApigcal_controller_saveGET /v2/gcal/oauth/saveConnect a calendar
PlatformManagedUsersApio_auth_client_users_controller_create_userPOST /v2/oauth-clients/{clientId}/usersCreate a managed user
PlatformManagedUsersApio_auth_client_users_controller_delete_userDELETE /v2/oauth-clients/{clientId}/users/{userId}Delete a managed user
PlatformManagedUsersApio_auth_client_users_controller_force_refreshPOST /v2/oauth-clients/{clientId}/users/{userId}/force-refreshForce refresh tokens
PlatformManagedUsersApio_auth_client_users_controller_get_managed_usersGET /v2/oauth-clients/{clientId}/usersGet all managed users
PlatformManagedUsersApio_auth_client_users_controller_get_user_by_idGET /v2/oauth-clients/{clientId}/users/{userId}Get a managed user
PlatformManagedUsersApio_auth_client_users_controller_update_userPATCH /v2/oauth-clients/{clientId}/users/{userId}Update a managed user
PlatformWebhooksApio_auth_client_webhooks_controller_create_o_auth_client_webhookPOST /v2/oauth-clients/{clientId}/webhooksCreate a webhook
PlatformWebhooksApio_auth_client_webhooks_controller_delete_all_o_auth_client_webhooksDELETE /v2/oauth-clients/{clientId}/webhooksDelete all webhooks
PlatformWebhooksApio_auth_client_webhooks_controller_delete_o_auth_client_webhookDELETE /v2/oauth-clients/{clientId}/webhooks/{webhookId}Delete a webhook
PlatformWebhooksApio_auth_client_webhooks_controller_get_o_auth_client_webhookGET /v2/oauth-clients/{clientId}/webhooks/{webhookId}Get a webhook
PlatformWebhooksApio_auth_client_webhooks_controller_get_o_auth_client_webhooksGET /v2/oauth-clients/{clientId}/webhooksGet all webhooks
PlatformWebhooksApio_auth_client_webhooks_controller_update_o_auth_client_webhookPATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId}Update a webhook
SchedulesApischedules_controller20240611_create_schedulePOST /v2/schedulesCreate a schedule
SchedulesApischedules_controller20240611_delete_scheduleDELETE /v2/schedules/{scheduleId}Delete a schedule
SchedulesApischedules_controller20240611_get_default_scheduleGET /v2/schedules/defaultGet default schedule
SchedulesApischedules_controller20240611_get_scheduleGET /v2/schedules/{scheduleId}Get a schedule
SchedulesApischedules_controller20240611_get_schedulesGET /v2/schedulesGet all schedules
SchedulesApischedules_controller20240611_update_schedulePATCH /v2/schedules/{scheduleId}Update a schedule
SelectedCalendarsApiselected_calendars_controller_add_selected_calendarPOST /v2/selected-calendarsAdd a selected calendar
SelectedCalendarsApiselected_calendars_controller_remove_selected_calendarDELETE /v2/selected-calendarsDelete a selected calendar
SlotsApislots_controller_delete_selected_slotDELETE /v2/slots/selected-slotDelete a selected slot
SlotsApislots_controller_get_available_slotsGET /v2/slots/availableGet available slots
SlotsApislots_controller_reserve_slotPOST /v2/slots/reserveReserve a slot
StripeApistripe_controller_checkGET /v2/stripe/checkCheck stripe connection
StripeApistripe_controller_redirectGET /v2/stripe/connectGet stripe connect URL
StripeApistripe_controller_saveGET /v2/stripe/saveSave stripe credentials
TeamsApiorganizations_teams_controller_get_all_teams_0GET /v2/organizations/{orgId}/teamsGet all teams
TimezonesApitimezones_controller_get_time_zonesGET /v2/timezonesGet all timezones
WebhooksApiwebhooks_controller_create_webhookPOST /v2/webhooksCreate a webhook
WebhooksApiwebhooks_controller_delete_webhookDELETE /v2/webhooks/{webhookId}Delete a webhook
WebhooksApiwebhooks_controller_get_webhookGET /v2/webhooks/{webhookId}Get a webhook
WebhooksApiwebhooks_controller_get_webhooksGET /v2/webhooksGet all webooks (paginated)
WebhooksApiwebhooks_controller_update_webhookPATCH /v2/webhooks/{webhookId}Update a webhook

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

Oliver Seifert (@ImGajeed76)

About calcom-python-v2

What is calcom-python-v2?

calcom-python-v2 is calcom v2 api python package generated by openapi. It is built with Python, Shell and maintained by Oliver Seifert.

What language is calcom-python-v2 written in?

calcom-python-v2 is primarily written in Python (100% of the codebase). Other languages used include Shell (0%).

Most Similar to calcom-python-v2

Explore Something Different from calcom-python-v2