---
title: "Pull team/org shared vault keys for desktop local mirroring"
method: POST
path: "/v1/cloud/vault/pull-shared"
tags: ["v1", "Cloud Infrastructure"]
---

# Pull team/org shared vault keys for desktop local mirroring

`POST /v1/cloud/vault/pull-shared`

## Request

- Base URL: `https://memory.papr.ai`
- URL: `https://memory.papr.ai/v1/cloud/vault/pull-shared`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

## Request body

- VaultPullSharedRequest
  - `external_user_id` string, nullable: Parse _User.objectId of the acting user (desktop OAuth). Used for ownership-scoped cloud operations instead of the API key user.
  - `namespaceId` string, nullable: Active namespace for team-scoped key pull

## Response `200`

Successful Response

- VaultPullSharedResponse
  - `keys` VaultSharedKeyEntry[]
    - `name` string, required
    - `value` string, required
    - `shareScope` 'user' | 'namespace' | 'org' | 'members', required: Per-key sharing scope — mirrors paprwork desktop Audience + org scope.
    - `syncedAt` string, nullable
    - `permission` string
    - `clientAccess` string
    - `source` string
    - `ownerUserId` string, nullable
    - `penAccess` string, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `0e7a5c0d125d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/papr-ai/apis/papr-memory-api/changes/v1/cloud/vault/pull-shared/post.md)

---

[API](https://skmtc.dev/papr-ai/apis/papr-memory-api.md) - [All operations](https://skmtc.dev/papr-ai/apis/papr-memory-api/llms.txt) - [OpenAPI document](https://skmtc.dev/papr-ai/apis/papr-memory-api/revisions/6fc381dc78b3?raw)
