Only registered user can perform this action
Authentication - string - required
Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
[
{
"id": 1,
"name": "My Games",
"url": "https://calendar.example.com/team/games.ics",
"personal": true,
"last_synced_at": null,
"user_id": 42,
"workspace_id": 7
},
...
]
While CALENDARS_BETA_ENABLED=true only users granted `calendars_enabled`
may call this endpoint; open to everyone once the variable is off.
{
"message": "This feature is not available for your account yet.",
"code": "feature_not_available"
}
Only registered user can perform this action
Authentication - string - required
Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
{
"calendar": {
"name": "My Games",
"url": "https://calendar.example.com/team/games.ics"
}
}
{
"id": 1,
"name": "My Games",
"url": "https://calendar.example.com/team/games.ics",
"personal": true,
"last_synced_at": null,
"user_id": 42,
"workspace_id": 7
}
{
"message": "This iCal is already connected",
"email": "owner@example.com"
}
While CALENDARS_BETA_ENABLED=true only users granted `calendars_enabled`
may call this endpoint; open to everyone once the variable is off.
{
"message": "This feature is not available for your account yet.",
"code": "feature_not_available"
}
| Param name | Description |
|---|---|
|
calendar
required |
Validations:
|
|
calendar[name]
required |
Calendar name (max 100 characters) Validations:
|
|
calendar[url]
required |
iCal feed URL (webcal:// or https://) Validations:
|
Only registered user can perform this action
Authentication - string - required
Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
{
success: true
}
While CALENDARS_BETA_ENABLED=true only users granted `calendars_enabled`
may call this endpoint; open to everyone once the variable is off.
{
"message": "This feature is not available for your account yet.",
"code": "feature_not_available"
}
| Param name | Description |
|---|---|
|
id
required |
ID of calendar Validations:
|