Caly Calendars API
The Calendars API from Caly — 9 operation(s) for calendars.
The Calendars API from Caly — 9 operation(s) for calendars.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/trycaly-com:trycaly-com-calendars-api"
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.
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: 3.2.0
info:
title: Caly Calendars API
description: 'REST API for Caly. Authenticate with an API key from Settings → Developer → API keys, sent as `Authorization: Bearer `. Every endpoint lives under `/v2`.'
version: 1.0.0
contact: {}
servers:
- url: https://api.trycaly.com
description: Caly production
tags:
- name: Calendars
paths:
/v2/calendars/ics-feed/save:
post:
operationId: CalendarsController_createIcsFeed
summary: Save an ICS feed
parameters:
- name: Authorization
in: header
description: value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateIcsFeedInputDto'
responses:
'201':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/CreateIcsFeedOutputResponseDto'
tags:
- Calendars
/v2/calendars/ics-feed/check:
get:
operationId: CalendarsController_checkIcsFeed
summary: Check an ICS feed
parameters:
- name: Authorization
in: header
description: value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
required: true
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
tags:
- Calendars
/v2/calendars/busy-times:
get:
operationId: CalendarsController_getBusyTimes
summary: Get busy times
description: 'Get busy times from a calendar. Example request URL is `https://api.trycaly.com/v2/calendars/busy-times?timeZone=Europe%2FMadrid&dateFrom=2024-12-18&dateTo=2024-12-18&calendarsToLoad[0][credentialId]=135&calendarsToLoad[0][externalId]=skrauciz%40gmail.com`. Note: loggedInUsersTz is deprecated, use timeZone instead.'
parameters:
- name: loggedInUsersTz
required: false
in: query
deprecated: true
description: 'Deprecated: Use timeZone instead. The timezone of the user represented as a string'
schema:
example: America/New_York
type: string
- name: timeZone
required: false
in: query
description: The timezone for the busy times query represented as a string
schema:
example: America/New_York
type: string
- name: dateFrom
required: false
in: query
description: The starting date for the busy times query
schema:
example: '2023-10-01'
type: string
- name: dateTo
required: false
in: query
description: The ending date for the busy times query
schema:
example: '2023-10-31'
type: string
- name: credentialId
in: query
required: true
schema:
type: number
- name: externalId
in: query
required: true
schema:
type: string
- name: Authorization
in: header
description: value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
required: true
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/GetBusyTimesOutput'
tags:
- Calendars
/v2/calendars:
get:
operationId: CalendarsController_getCalendars
summary: Get all calendars
parameters:
- name: Authorization
in: header
description: value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
required: true
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ConnectedCalendarsOutput'
tags:
- Calendars
/v2/calendars/{calendar}/connect:
get:
operationId: CalendarsController_redirect
summary: Get OAuth connect URL
parameters:
- name: Authorization
required: true
in: header
description: value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
schema:
type: string
- name: calendar
required: true
in: path
schema:
enum:
- office365
- google
type: string
- name: isDryRun
required: true
in: query
schema:
type: boolean
- name: redir
required: false
in: query
description: Redirect URL after successful calendar authorization.
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
tags:
- Calendars
/v2/calendars/{calendar}/save:
get:
operationId: CalendarsController_save
summary: Save Google or Outlook calendar credentials
parameters:
- name: state
required: true
in: query
schema:
type: string
- name: code
required: true
in: query
schema:
type: string
- name: calendar
required: true
in: path
schema:
enum:
- office365
- google
type: string
responses:
'200':
description: ''
tags:
- Calendars
/v2/calendars/{calendar}/credentials:
post:
operationId: CalendarsController_syncCredentials
summary: Save Apple calendar credentials
parameters:
- name: calendar
required: true
in: path
schema:
enum:
- apple
type: string
- name: Authorization
in: header
description: value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateCalendarCredentialsInput'
responses:
'201':
description: ''
tags:
- Calendars
/v2/calendars/{calendar}/check:
get:
operationId: CalendarsController_check
summary: Check a calendar connection
parameters:
- name: calendar
required: true
in: path
schema:
enum:
- apple
- google
- office365
type: string
- name: Authorization
in: header
description: value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
required: true
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
tags:
- Calendars
/v2/calendars/{calendar}/disconnect:
post:
operationId: CalendarsController_deleteCalendarCredentials
summary: Disconnect a calendar
parameters:
- name: calendar
required: true
in: path
schema:
enum:
- apple
- google
- office365
type: string
- name: Authorization
in: header
description: value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteCalendarCredentialsInputBodyDto'
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/DeletedCalendarCredentialsOutputResponseDto'
tags:
- Calendars
components:
schemas:
BusyTimesOutput:
type: object
properties:
start:
format: date-time
type: string
end:
format: date-time
type: string
source:
type:
- string
- 'null'
required:
- start
- end
DestinationCalendar:
type: object
properties:
id:
type: object
integration:
type: string
externalId:
type: string
primaryEmail:
type:
- string
- 'null'
userId:
type:
- number
- 'null'
eventTypeId:
type:
- number
- 'null'
credentialId:
type:
- number
- 'null'
delegationCredentialId:
type:
- string
- 'null'
name:
type:
- string
- 'null'
primary:
type: boolean
readOnly:
type: boolean
email:
type: string
integrationTitle:
type: string
required:
- id
- integration
- externalId
- primaryEmail
- userId
- eventTypeId
- credentialId
DeletedCalendarCredentialsOutputResponseDto:
type: object
properties:
status:
type: string
example: success
enum:
- success
- error
data:
$ref: '#/components/schemas/DeletedCalendarCredentialsOutputDto'
required:
- status
- data
ConnectedCalendar:
type: object
properties:
integration:
$ref: '#/components/schemas/Integration'
credentialId:
type: number
delegationCredentialId:
type:
- string
- 'null'
primary:
$ref: '#/components/schemas/Primary'
calendars:
type: array
items:
$ref: '#/components/schemas/Calendar'
required:
- integration
- credentialId
DeletedCalendarCredentialsOutputDto:
type: object
properties:
id:
type: number
type:
type: string
userId:
type:
- number
- 'null'
teamId:
type:
- number
- 'null'
appId:
type:
- string
- 'null'
invalid:
type:
- boolean
- 'null'
required:
- id
- type
- userId
- teamId
- appId
- invalid
GetBusyTimesOutput:
type: object
properties:
status:
type: string
example: success
enum:
- success
- error
data:
type: array
items:
$ref: '#/components/schemas/BusyTimesOutput'
required:
- status
- data
Integration:
type: object
properties:
appData:
type:
- object
- 'null'
dirName:
type: string
__template:
type: string
name:
type: string
description:
type: string
installed:
type: boolean
type:
type: string
title:
type: string
variant:
type: string
category:
type: string
categories:
type: array
items:
type: string
logo:
type: string
publisher:
type: string
slug:
type: string
url:
type: string
email:
type: string
locationOption:
type:
- object
- 'null'
required:
- name
- description
- type
- variant
- categories
- logo
- publisher
- slug
- url
- email
- locationOption
CreateIcsFeedOutputResponseDto:
type: object
properties:
status:
type: string
example: success
enum:
- success
- error
data:
$ref: '#/components/schemas/CreateIcsFeedOutput'
required:
- status
- data
Calendar:
type: object
properties:
externalId:
type: string
integration:
type: string
name:
type: string
primary:
type:
- boolean
- 'null'
readOnly:
type: boolean
email:
type: string
isSelected:
type: boolean
credentialId:
type: number
delegationCredentialId:
type:
- string
- 'null'
required:
- externalId
- readOnly
- isSelected
- credentialId
Primary:
type: object
properties:
externalId:
type: string
integration:
type: string
name:
type: string
primary:
type:
- boolean
- 'null'
readOnly:
type: boolean
email:
type: string
isSelected:
type: boolean
credentialId:
type: number
delegationCredentialId:
type:
- string
- 'null'
required:
- externalId
- primary
- readOnly
- isSelected
- credentialId
CreateIcsFeedInputDto:
type: object
properties:
urls:
type: array
example:
- https://app.trycaly.com/ics/feed.ics
- https://app.trycaly.com/ics/feed.ics
description: An array of ICS URLs
items:
type: string
example: https://app.trycaly.com/ics/feed.ics
readOnly:
type: boolean
default: true
example: false
description: Whether to allowing writing to the calendar or not
required:
- urls
ConnectedCalendarsData:
type: object
properties:
connectedCalendars:
type: array
items:
$ref: '#/components/schemas/ConnectedCalendar'
destinationCalendar:
$ref: '#/components/schemas/DestinationCalendar'
required:
- connectedCalendars
- destinationCalendar
ConnectedCalendarsOutput:
type: object
properties:
status:
type: string
example: success
enum:
- success
- error
data:
$ref: '#/components/schemas/ConnectedCalendarsData'
required:
- status
- data
DeleteCalendarCredentialsInputBodyDto:
type: object
properties:
id:
type: integer
example: 10
description: Credential ID of the calendar to delete, as returned by the /calendars endpoint
required:
- id
CreateIcsFeedOutput:
type: object
properties:
id:
type: number
example: 1234567890
description: The id of the calendar credential
type:
type: string
example: ics-feed_calendar
description: The type of the calendar
userId:
type:
- integer
- 'null'
example: 1234567890
description: The user id of the user that created the calendar
teamId:
type:
- integer
- 'null'
example: 1234567890
description: The team id of the user that created the calendar
appId:
type:
- string
- 'null'
example: ics-feed
description: The slug of the calendar
invalid:
type:
- boolean
- 'null'
example: false
description: Whether the calendar credentials are valid or not
required:
- id
- type
- userId
- teamId
- appId
- invalid
CreateCalendarCredentialsInput:
type: object
properties:
username:
type: string
password:
type: string
required:
- username
- password