Calendars
Save an ICS feed
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 / Conferencing
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
Calendars
Conferencing
Destination Calendars
Event Types
Event Types / Webhooks
OAuth Clients
Schedules
Selected Calendars
Slots
Stripe
Teams / Event Types
Teams / Memberships
Calendars
Save an ICS feed
POST
/
v2
/
calendars
/
ics-feed
/
save
curl --request POST \
--url https://api.cal.com/v2/calendars/ics-feed/save \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"urls": [
"https://cal.com/ics/feed.ics",
"http://cal.com/ics/feed.ics"
],
"readOnly": false
}'
{
"status": "success",
"data": {
"id": 1234567890,
"type": "ics-feed_calendar",
"userId": 1234567890,
"teamId": 1234567890,
"appId": "ics-feed",
"invalid": false
}
}
Headers
value must be Bearer <token>
where <token>
is api key prefixed with cal_ or managed user access token
Body
application/json
An array of ICS URLs
Example:
[
"https://cal.com/ics/feed.ics",
"http://cal.com/ics/feed.ics"
]
Whether to allowing writing to the calendar or not
Example:
false
Response
201 - application/json
Available options:
success
, error
Example:
"success"
The id of the calendar credential
Example:
1234567890
The type of the calendar
Example:
"ics-feed_calendar"
The user id of the user that created the calendar
Example:
1234567890
The team id of the user that created the calendar
Example:
1234567890
The slug of the calendar
Example:
"ics-feed"
Whether the calendar credentials are valid or not
Example:
false
Was this page helpful?
curl --request POST \
--url https://api.cal.com/v2/calendars/ics-feed/save \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"urls": [
"https://cal.com/ics/feed.ics",
"http://cal.com/ics/feed.ics"
],
"readOnly": false
}'
{
"status": "success",
"data": {
"id": 1234567890,
"type": "ics-feed_calendar",
"userId": 1234567890,
"teamId": 1234567890,
"appId": "ics-feed",
"invalid": false
}
}