Password-manager API
Work with encrypted vault records, browser connections, sharing, recovery, and organisation policy.
On this page
The password-manager API is separate from the application secrets API. Through the bundled nginx proxy its base URL is /service/v1/password-manager/; a direct backend connection uses /v1/password-manager/.
This API stores encrypted item envelopes. It does not expose a plaintext password retrieval endpoint. Use the client cryptography and synchronization protocol when building a compatible client.
Authentication#
- Console requests use a signed-in session, an
organisation_idquery parameter ororganisationIdJSON body field, andX-CSRFTokenon writes. - Connected extensions use a short-lived
Authorization: Bearer mpm_at_…token. The token identifies the device and organisation; allowed operations depend on its scopes. - Administrative operations require the console session and the relevant organisation permission. A browser-extension token cannot administer an organisation.
Application service-account tokens are not a substitute for password-manager device authentication. Connect an extension using the authorisation flow described in browser extension and offline access.
Vault and items#
vault/creates, reads, or updates a vault and its wrapped keys. Deletion is a destructive reset, restricted to console sessions.vault/metadata/returns metadata without wrapped keys.vault/sync/exchanges encrypted changes and revisions, including deletion tombstones.credentials/,notes/,cards/, andidentities/manage the corresponding encrypted item records.attachments/uploads and downloads encrypted file envelopes; a shared-vault request also supplies its vault ID.vault/transfers/records and authorises import/export activity; the browser performs the file conversion and encryption.vault/manifest/andvault/manifest/alerts/support vault-integrity verification and alerts.
Updates carry key versions and base revisions. Handle a stale revision as a conflict; do not blindly replace another device's changes. A sync response can require a full resync and includes lock/key state that clients must honour.
Sharing and recovery#
keys/registers or reads a member's sharing identity.directory/finds eligible members in the same organisation.shared-vaults/creates and lists shared vaults; access is enforced for each member.shared-vaults/<id>/members/,shared-vaults/<id>/groups/, andpending-grants/manage direct members, team access, and pending key delivery.trust-store/andkey-directory/support remembered fingerprints, verified keys and the signed organisation directory.recovery/setup/,recovery/admins/, andrecovery/escrow/configure the optional organisation recovery system.recovery/requests/coordinates member recovery requests and their approvals.
Sharing and recovery require client-side key operations. Enabling a policy alone does not give a client the keys needed to decrypt a vault. See shared vaults and recovery.
Devices, unlock methods and policy#
extension/authorize/,extension/token/,extension/refresh/, andextension/revoke/implement the browser connection lifecycle.security/devices/,security/activity/,security/lock/, andsecurity/revoke-all/expose device management, events and lock controls.vault/unlock-methods/and its challenge/unlock endpoints manage enrolled passkeys. PRF and server-assisted methods have different cryptographic requirements.breach/ranges/proxies permitted password-breach range lookups without accepting plaintext passwords.policy/returns the organisation's effective settings and accepts authorised policy updates.admin/overview/,admin/members/,admin/shared-vaults/,admin/events/, andadmin/provisioning/provide metadata reports. Supported report endpoints accept?export=csv.
Console-only restrictions also apply to sensitive device, reset and policy actions. Consult the endpoint schema before choosing an authentication method.
Responses and errors#
JSON fields use camelCase, except OAuth token responses, which follow OAuth's snake_case convention. Lists generally return a data array; timestamps use ISO 8601.
- 401: missing, expired, or invalid authentication.
- 403: insufficient permission, policy restriction, or a disabled module.
- 404: no record exists or the caller cannot access it.
- 409: a revision, key version, or other state conflicts with the request.
- 429: the request exceeded a rate limit.
Full protocol reference#
Client developers should use docs/password-manager/openapi.yaml and docs/password-manager/api-reference.md in the source checkout for endpoint schemas. The accompanying cryptography, synchronization, vault-integrity, and key-trust documents define the security protocol; the endpoint list here is an orientation, not a replacement for those specifications.