---
title: "PersonEvent (Check-Ins)"
description: "Counts a person's attendence for a given event."
---

> 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.

# PersonEvent (Check-Ins)

Counts a person's attendence for a given event.

| Property | Value |
| --- | --- |
| Product | [Check-Ins](/reference/check-ins/) (`pco.checkIns`, API version `2025-05-28`) |
| Resource type | `PersonEvent` |
| TypeScript | `CheckIns.PersonEvent`, attributes `CheckIns.PersonEventAttributes`, schema `CheckIns.PersonEventSchema` |
| Planning Center path | `/check-ins/v2/events/{event_id}/person_events` |
| Planning Center docs | [PersonEvent](https://api.planningcenteronline.com/docs/apps/check-ins/versions/2025-05-28/vertices/person_event) |

## How to reach it

| Client path | Returns | Filters | Create |
| --- | --- | --- | --- |
| `pco.checkIns.events.id(eventId).person_events` | Collection |  | No |
| `pco.checkIns.people.id(personId).person_events` | Collection |  | No |

From a collection, `.id(personEventId)` addresses one PersonEvent: `pco.checkIns.events.id(eventId).person_events.id(personEventId)`. Collections support [`where`, `include`, `order`, and pagination](/guides/querying/); single resources have `get()`.

## Attributes

On `CheckIns.PersonEventAttributes`. Every resource also has `id` and `type` (`'PersonEvent'`) next to its attributes.

| Name | Type | Description |
| --- | --- | --- |
| `check_in_count` | `number \| null` |  |
| `created_at` | `string \| null` |  |
| `updated_at` | `string \| null` |  |

## Relationships and includes

Side-load with `include()` (or `get({ include })`) and read with `related(resource, name)`: `event`, `first_check_in`, `last_check_in`, `person`.

## Querying

No documented `where` fields.

No documented `order` fields.

## Edges

Follow these from one PersonEvent, `ref = pco.checkIns.events.id(eventId).person_events.id(personEventId)`:

| Edge | Leads to | Returns | Filters | Create |
| --- | --- | --- | --- | --- |
| `ref.event` | [Event](/reference/check-ins/event/) | Collection |  | No |
| `ref.first_check_in` | [CheckIn](/reference/check-ins/check-in/) | Collection |  | No |
| `ref.last_check_in` | [CheckIn](/reference/check-ins/check-in/) | Collection |  | No |
| `ref.person` | [Person](/reference/check-ins/person/) | Collection |  | No |

## Writing

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

## Example

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

const eventId = '1'; // Event id

const page = await pco.checkIns.events.id(eventId).person_events.perPage(25).list();
const items: CheckIns.PersonEvent[] = page.data;
```

Source: https://planningcenterkit.mackenly.com/reference/check-ins/person-event/index.mdx
