Skip to content
campaiDeveloper
campai.com

Booking · Views

POST/{organizationId}/{mandateId}/booking/views/{viewId}/feed/groupLink

Create calendar group link

Creates the group link of a calendar feed for the organization’s people, the secret address of a calendar several people share, such as one on Nextcloud. It holds the events the organization’s people see. A link that existed is replaced, and calendars with the old address stay empty.

Permissions

Send an API key of the organization in the path, using the X-API-Key header.

Permission checks in detail
Required permissions
  • mandate.read
  • bookingView.edit

Request

Path parameters

  • organizationIdidrequired
  • mandateIdidrequired
  • viewIdidrequired
Request
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
  --request POST 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/YOUR_MANDATE_ID/booking/views/YOUR_VIEW_ID/feed/groupLink' \
  --header 'X-API-Key: YOUR_API_KEY'

Response

200 Successful response

Content-Type: application/json

  • groupUrlstring
Response200
{
  "groupUrl": "string"
}

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.