---
title: "Campus (Groups)"
description: "A campus as defined in Planning Center Accounts"
---

> Documentation Index
> Fetch the complete documentation index at: https://planningcenterkit.mackenly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Campus (Groups)

A campus as defined in Planning Center Accounts

| Property | Value |
| --- | --- |
| Product | [Groups](/reference/groups/) (`pco.groups`, API version `2026-11-10`) |
| Resource type | `Campus` |
| TypeScript | `Groups.Campus`, attributes `Groups.CampusAttributes`, schema `Groups.CampusSchema` |
| Planning Center path | `/groups/v2/campuses` |
| Planning Center docs | [Campus](https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/campus) |

## How to reach it

| Client path | Returns | Filters | Create |
| --- | --- | --- | --- |
| `pco.groups.campuses` | Collection |  | No |
| `pco.groups.groups.id(groupId).campuses` | Collection |  | No |

From a collection, `.id(campusId)` addresses one Campus: `pco.groups.campuses.id(campusId)`. Collections support [`where`, `include`, `order`, and pagination](/guides/querying/); single resources have `get()`.

## Attributes

On `Groups.CampusAttributes`. Every resource also has `id` and `type` (`'Campus'`) next to its attributes.

| Name | Type | Description |
| --- | --- | --- |
| `name` | `string \| null` | The name of the campus |

## Querying

### Where

`where(field, value)` for equality; `where(field, op, value)` with the operators listed.

| Field | Value type | Operators |
| --- | --- | --- |
| `id` | `string` | Equality only |
| `name` | `string` | Equality only |

### Order

`order(...)` accepts these fields, ascending, or descending with a `-` prefix: `name`.

## Edges

Follow these from one Campus, `ref = pco.groups.campuses.id(campusId)`:

| Edge | Leads to | Returns | Filters | Create |
| --- | --- | --- | --- | --- |
| `ref.groups` | [Group](/reference/groups/group/) | Collection |  | No |

## Writing

| Property | Value |
| --- | --- |
| Create | No |
| Update | No |
| Delete | No |

## Example

```ts
import type { Groups } from '@mackenly/planningcenterkit';

const page = await pco.groups.campuses.order('name').perPage(25).list();
const items: Groups.Campus[] = page.data;
```

Source: https://planningcenterkit.mackenly.com/reference/groups/campus/index.mdx
