Skip to content

Current reference

Planning Center Current in Planning Center Kit: The legacy Current donations product.

The legacy Current donations product.

Property Value
Client property pco.current
Subpath import import { createCurrentClient } from '@mackenly/planningcenterkit/current'
Types namespace Current
Base path /current/v2
Pinned API version 2018-08-01
Resource types 2
Planning Center docs Planning Center Current API

Each product client sends X-PCO-API-Version: 2018-08-01, the version these types were generated from. Override it with new PlanningCenter({ auth, versions: { current: '...' } }); the types won’t follow. See Products.

import { createCurrentClient } from '@mackenly/planningcenterkit/current';

const current = createCurrentClient({ auth: { applicationId: process.env.PCO_APP_ID!, secret: process.env.PCO_SECRET! } });
const { data: root } = await current.get(); // /current/v2

Root collections

Properties on pco.current, named after their URL. pco.current.get() fetches the product root (/current/v2), and pco.current.edge(name) follows any root edge by name.

Client path Resource Returns Filters Create
pco.current.people Person Collection No

Resources

Resource TypeScript Description
Organization Current.Organization
Person Current.Person

Type to search…

↑↓ navigate↵ selectEsc close