Skip to content
campaiDeveloper
campai.com

Organizations

GET/connect/organizations/{organizationId}/app-summaryReads only

Get Community-App summary

Returns whether the organization has a public profile in the Community-App and how many events, bookable resources, teams and shared folders people find there. A count is null without the permission to read what it counts.

Permissions

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

Permission checks in detail
Also checked, depending on the request and the records it touches
  • mandate.read
  • event.read
  • resource.read
  • team.read
  • drive.read

Request

Path parameters

  • organizationIdidrequired
Request
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
  --request GET 'https://cloud.campai.com/api/connect/organizations/YOUR_ORGANIZATION_ID/app-summary' \
  --header 'X-API-Key: YOUR_API_KEY'

Response

200 Successful response

Content-Type: application/json

  • hasPublicProfileboolean
  • eventsintegernullable

    at least 0

  • resourcesintegernullable

    at least 0

  • teamsintegernullable

    at least 0

  • sharedFoldersintegernullable

    at least 0

Response200
{
  "hasPublicProfile": true,
  "events": 0,
  "resources": 0,
  "teams": 0,
  "sharedFolders": 0
}

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.