Getting Started
Platform / Managed Users
Platform / Webhooks
Orgs / Attributes
Orgs / Attributes / Options
Orgs / Bookings
Orgs / Delegation Credentials
Orgs / Memberships
Orgs / Orgs
Orgs / Routing forms
Orgs / Schedules
Orgs / Teams
Orgs / Teams / Bookings
Orgs / Teams / Event Types
Orgs / Teams / Memberships
Orgs / Teams / Routing forms
Orgs / Teams / Routing forms / Responses
Orgs / Teams / Users / Schedules
Orgs / Users / Bookings
Orgs / Users / OOO
Orgs / Users / Schedules
Orgs / Webhooks
Api Keys
Bookings
- GETGet all bookings
- POSTCreate a booking
- GETGet a booking
- POSTReschedule a booking
- POSTCancel a booking
- POSTMark a booking absence - provided authorization header refers to owner of the booking.
- POSTAutomatically reassign booking to a new host automatically - provided authorization header refers to person who reassigned the booking.
- POSTReassign a booking to a specific user specified by the :userId - provided authorization header refers to person who reassigned the booking.
- POSTConfirm booking that requires a confirmation - provided authorization header refers to owner of the booking.
- POSTDecline booking that requires a confirmation - provided authorization header refers to owner of the booking.
- GETGet 'Add to Calendar' links for a booking
Calendars
Conferencing
Destination Calendars
Event Types
Event Types / Webhooks
OAuth Clients
Organizations/Teams Conferencing
Schedules
Selected Calendars
Slots
Stripe
Teams / Event Types
Teams / Memberships
Teams
Update a team
PATCH
/
v2
/
teams
/
{teamId}
curl --request PATCH \
--url https://api.cal.com/v2/teams/{teamId} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"name": "CalTeam",
"slug": "caltel",
"logoUrl": "https://i.cal.com/api/avatar/b0b58752-68ad-4c0d-8024-4fa382a77752.png",
"calVideoLogo": "<string>",
"appLogo": "<string>",
"appIconLogo": "<string>",
"bio": "<string>",
"hideBranding": true,
"isPrivate": true,
"hideBookATeamMember": true,
"metadata": {
"key": "value"
},
"theme": "<string>",
"brandColor": "<string>",
"darkBrandColor": "<string>",
"bannerUrl": "https://i.cal.com/api/avatar/949be534-7a88-4185-967c-c020b0c0bef3.png",
"timeFormat": 123,
"timeZone": "America/New_York",
"weekStart": "Monday",
"bookingLimits": "<string>",
"includeManagedEventsInLimits": true
}'
{
"status": "success",
"data": {
"id": 123,
"parentId": 123,
"name": "<string>",
"slug": "<string>",
"logoUrl": "<string>",
"calVideoLogo": "<string>",
"appLogo": "<string>",
"appIconLogo": "<string>",
"bio": "<string>",
"hideBranding": true,
"isOrganization": true,
"isPrivate": true,
"hideBookATeamMember": false,
"metadata": {
"key": "value"
},
"theme": "<string>",
"brandColor": "<string>",
"darkBrandColor": "<string>",
"bannerUrl": "<string>",
"timeFormat": 123,
"timeZone": "Europe/London",
"weekStart": "Sunday"
}
}
Headers
value must be Bearer <token>
where <token>
is api key prefixed with cal_
Path Parameters
Body
application/json
Name of the team
Minimum length:
1
Example:
"CalTeam"
Team slug
Example:
"caltel"
URL of the teams logo image
Example:
"https://i.cal.com/api/avatar/b0b58752-68ad-4c0d-8024-4fa382a77752.png"
You can store any additional data you want here. Metadata must have at most 50 keys, each key up to 40 characters. Values can be strings (up to 500 characters), numbers, or booleans.
Example:
{ "key": "value" }
URL of the teams banner image which is shown on booker
Example:
"https://i.cal.com/api/avatar/949be534-7a88-4185-967c-c020b0c0bef3.png"
Timezone is used to create teams's default schedule from Monday to Friday from 9AM to 5PM. It will default to Europe/London if not passed.
Example:
"America/New_York"
Example:
"Monday"
Response
200 - application/json
Available options:
success
, error
Example:
"success"
Minimum length:
1
Example:
{ "key": "value" }
Was this page helpful?
curl --request PATCH \
--url https://api.cal.com/v2/teams/{teamId} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"name": "CalTeam",
"slug": "caltel",
"logoUrl": "https://i.cal.com/api/avatar/b0b58752-68ad-4c0d-8024-4fa382a77752.png",
"calVideoLogo": "<string>",
"appLogo": "<string>",
"appIconLogo": "<string>",
"bio": "<string>",
"hideBranding": true,
"isPrivate": true,
"hideBookATeamMember": true,
"metadata": {
"key": "value"
},
"theme": "<string>",
"brandColor": "<string>",
"darkBrandColor": "<string>",
"bannerUrl": "https://i.cal.com/api/avatar/949be534-7a88-4185-967c-c020b0c0bef3.png",
"timeFormat": 123,
"timeZone": "America/New_York",
"weekStart": "Monday",
"bookingLimits": "<string>",
"includeManagedEventsInLimits": true
}'
{
"status": "success",
"data": {
"id": 123,
"parentId": 123,
"name": "<string>",
"slug": "<string>",
"logoUrl": "<string>",
"calVideoLogo": "<string>",
"appLogo": "<string>",
"appIconLogo": "<string>",
"bio": "<string>",
"hideBranding": true,
"isOrganization": true,
"isPrivate": true,
"hideBookATeamMember": false,
"metadata": {
"key": "value"
},
"theme": "<string>",
"brandColor": "<string>",
"darkBrandColor": "<string>",
"bannerUrl": "<string>",
"timeFormat": 123,
"timeZone": "Europe/London",
"weekStart": "Sunday"
}
}