# Browse account public directory

Returns discoverable public calendars and addressbooks shared across the account tenant.

## `GET /api/v1/identities/{identityId}/pim/public-directory`

### Path parameters

- `identityId` (string, required) — Identity ULID identifier

### Responses

**200** — Public collection listings

`application/json` → object

- `public` (PimPublicCollection[], required)
  - `category` (string | null, required) — Public category tag, or null
  - `collectionId` (string, required) — Public collection ULID
  - `components` (array | null, required, min 1 items, max 2 items) — Supported primary components, in VEVENT then VTODO order; null for addressbooks. Legacy mixed calendars may also retain journals or unparsed resources. Narrowing refuses with components_conflict and a count of incompatible live and restorable trashed objects.
  - `createdAt` (integer <int64>, required) — Creation timestamp in epoch seconds
  - `description` (string | null, required) — Public description, or null
  - `displayName` (string | null, required) — Public display name, or null
  - `id` (string, required) — Directory entry id: the handle POST /subscriptions takes
  - `kind` ("calendar" | "addressbook", required) — Collection type ('calendar' or 'addressbook')
  - `ownerIdentityId` (string, required) — Identity ULID of the owner

**401** — unauthorized: the bearer credential is missing, malformed, expired, or revoked. Carries a `WWW-Authenticate: Bearer` challenge

`application/json` → ErrorBody

**404** — Mailbox not found or not accessible to this principal

`application/json` → ErrorBody

**503** — temporary_failure: the platform's storage could not answer just now; retry after the Retry-After window. Any operation can answer this. A write that got it may have been applied, so retry it with the same idempotency key where it takes one, or read the state back first (see Transient failures in the API description)

`application/json` → ErrorBody

### Example request

```bash
curl -X GET 'https://api.open.email/api/v1/identities/{identityId}/pim/public-directory' \
  -H 'Authorization: Bearer oek_…'
```

## TypeScript SDK

[`openemail.pim.listPublicDirectory`](/docs/sdks/typescript/pim/list-public-directory)

```ts
const result = await openemail.pim.listPublicDirectory(identityId)
```
