Skip to content

API Reference

This page summarizes the main HTTP APIs for debugging client compatibility, frontend calls, and reverse proxy issues. Exact behavior still follows src/router*.ts and the corresponding handlers.

Public APIs

Public APIs do not require a Bearer token, but sensitive paths still use rate limits, same-origin checks, or one-time token validation.

MethodPathPurpose
GET/api/web-bootstrap, /web-bootstrapWeb Vault startup config and risk warnings.
GET/config, /api/config, /api/versionBitwarden-compatible config and version.
POST/identity/accounts/prelogin, /identity/accounts/prelogin/passwordRead KDF parameters before login.
POST/identity/connect/tokenPassword, refresh token, and API key login; also carries the Send V2 send_access grant.
POST/identity/connect/revocation, /identity/connect/revokeRevoke refresh tokens.
POST/api/accounts/registerFirst registration or invite registration.
POST/api/accounts/password-hintSame-origin password hint lookup.
POST/identity/accounts/recover-2fa, /api/accounts/recover-2faDisable TOTP with a recovery code.
GET/api/devices/knowndeviceOfficial-client known-device check.
PUT, POST/api/devices/identifier/{id}/clear-tokenLogin-preflight compatible clear-token path; returns empty 200.
GET/icons/{hostname}/icon.pngWebsite icon proxy. See Website Icons.
POST, GET/notifications/hub/negotiate, /notifications/hubNotification negotiate and WebSocket.

Accounts and authentication

MethodPathPurpose
GET, PUT/api/accounts/profileGet or update profile.
POST, PUT/api/accounts/password, /api/accounts/change-passwordChange master password and refresh securityStamp.
POST/api/accounts/keysSave account key material.
GET, PUT, POST/api/accounts/totpGet or change user-level TOTP status.
POST/api/accounts/totp/recovery-code, /api/two-factor/get-recoverGet or rotate TOTP recovery code.
GET/api/accounts/revision-dateReturn account revision date.
POST/api/accounts/verify-passwordVerify master password hash.
PUT, POST/api/accounts/verify-devicesToggle device verification.
POST/api/accounts/api-key, /api/accounts/api_keyView or create personal API key.
POST/api/accounts/rotate-api-key, /api/accounts/rotate_api_keyRotate personal API key and clear old refresh tokens.

Vault

MethodPathPurpose
GET/api/syncOfficial-client full sync entrypoint.
GET, POST/api/ciphers, /api/ciphers/createGet or create ciphers.
GET, PUT, POST, DELETE/api/ciphers/{id}Get, update, or delete a cipher.
PUT/api/ciphers/{id}/deleteSoft delete to trash.
DELETE/api/ciphers/{id}/deletePermanently delete.
PUT/api/ciphers/{id}/restoreRestore from trash.
PUT, POST/api/ciphers/{id}/archive, /api/ciphers/{id}/unarchiveArchive or unarchive.
PUT, POST/api/ciphers/{id}/partialPartial update.
POST, PUT/api/ciphers/moveBulk move to folder.
POST/api/ciphers/delete, /api/ciphers/delete-permanent, /api/ciphers/restoreBulk soft delete, permanent delete, or restore.
PUT, POST/api/ciphers/archive, /api/ciphers/unarchiveBulk archive or unarchive.
POST/api/ciphers/importImport vault data.
GET, POST/api/foldersGet or create folders.
GET, PUT, DELETE/api/folders/{id}Get, update, or delete folder.
POST/api/folders/deleteBulk delete folders.

Attachments and Send

MethodPathPurpose
POST/api/ciphers/{id}/attachment/v2, /api/ciphers/{id}/attachmentCreate attachment metadata and upload token.
GET, POST, PUT, DELETE/api/ciphers/{id}/attachment/{attachmentId}Download, upload, or delete attachment.
POST, PUT/api/ciphers/{id}/attachment/{attachmentId}/metadataUpdate attachment metadata.
POST/api/ciphers/{id}/attachment/{attachmentId}/deleteCompatible delete path.
GET/api/attachments/{cipherId}/{attachmentId}?token=...Tokenized public attachment download.
POST, PUT/api/ciphers/{id}/attachment/{attachmentId}?token=...Tokenized public attachment upload.
GET, POST/api/sendsGet or create Send.
GET, PUT, DELETE/api/sends/{id}Get, update, or delete Send.
POST/api/sends/file/v2Create file Send metadata and upload token.
GET, POST, PUT/api/sends/{id}/file/{fileId}Get upload URL or upload Send file.
POST, PUT/api/sends/{id}/file/{fileId}?token=...Tokenized public Send file upload.
PUT, POST/api/sends/{id}/remove-password, /api/sends/{id}/remove-authRemove Send password or access auth.
POST/api/sends/deleteBulk delete Send.
POST/api/sends/access, /api/sends/access/{id}Public Send access.
POST/api/sends/access/file/{id}, /api/sends/{id}/access/file/{fileId}Public file Send access.
GET/api/sends/{id}/{fileId}Public file Send download.

Domain rules and devices

MethodPathPurpose
GET, PUT, POST/api/settings/domains, /settings/domainsGet or save user domain match rules.
GET, DELETE/api/devicesList devices or delete all current-user devices.
GET, DELETE/api/devices/authorizedList or clear remembered 2FA devices.
DELETE/api/devices/authorized/{id}Revoke one remembered device.
GET, DELETE/api/devices/{id}Get or delete one device.
PUT/api/devices/{id}/nameUpdate device display name.
GET/api/devices/identifier/{id}Query by device identifier.
PUT, POST/api/devices/{id}/keys, /api/devices/identifier/{id}/keysUpdate device encryption key.
PUT, POST/api/devices/identifier/{id}/tokenUpdate device push token.
PUT, POST/api/devices/identifier/{id}/web-push-authUpdate Web Push auth data.
PUT, POST/api/devices/identifier/{id}/clear-tokenClear device token.
POST/api/devices/{id}/retrieve-keysCompatible device key retrieval path.
POST, DELETE/api/devices/{id}/deactivateDeactivate device.
POST/api/devices/update-trust, /api/devices/untrustUpdate or revoke device trust.

Administrator APIs

Administrator APIs require the current user to be an admin.

MethodPathPurpose
GET/api/admin/usersUser list.
GET, POST, DELETE/api/admin/invitesList, create, or clear invites.
DELETE/api/admin/invites/{code}Revoke one invite.
PUT, POST/api/admin/users/{id}/statusEnable or ban a user.
DELETE/api/admin/users/{id}Delete user and associated attachments and Send files.
POST/api/admin/backup/export, /api/admin/backup/importExport or import instance backup.
GET/api/admin/backup/blobDownload attachment blobs during full local export so the frontend can repackage ZIP.
GET, PUT/api/admin/backup/settingsGet or save backup center settings.
GET, POST/api/admin/backup/settings/repairCheck or repair backup settings encryption status.
POST/api/admin/backup/runRun remote backup immediately.
GET/api/admin/backup/remoteBrowse remote backup list.
GET/api/admin/backup/remote/downloadDownload remote backup.
GET/api/admin/backup/remote/integrityCheck remote backup integrity.
DELETE/api/admin/backup/remote/fileDelete remote backup file.
POST/api/admin/backup/remote/restoreRestore from remote backup.

Compatibility placeholders

NodeWarden does not implement the full organization, collection, and enterprise policy model. Read paths such as /api/collections, /api/organizations, /api/policies, and /api/auth-requests return empty lists or empty structures so personal vault workflows can continue.

Released under the LGPL-3.0 License.