Overview
Ciphers are the core vault items in Bitwarden. They can represent:- Login credentials (username/password)
- Secure Notes
- Card information (credit/debit cards)
- Identity information (personal details)
- SSH Keys
Get Cipher
Retrieve a specific cipher by ID.The cipher ID
Response
Cipher unique identifier
Cipher type (1=Login, 2=SecureNote, 3=Card, 4=Identity, 5=SSHKey)
Encrypted cipher name
Encrypted notes
Login credentials (for type=1)
Card information (for type=3)
Identity information (for type=4)
Whether cipher is marked as favorite
Organization ID if cipher is shared
Collections containing this cipher
Get Cipher Details
Retrieve detailed cipher information including collection associations.The cipher ID
Get Cipher as Admin
Retrieve cipher details with admin permissions.The cipher ID
This endpoint requires admin or manager permissions for the organization.
List All Ciphers
Retrieve all ciphers accessible to the authenticated user.Response
Returns a list of all ciphers including personal and organization ciphers.List Organization Ciphers
Retrieve all ciphers for a specific organization.The organization ID
Include items in user’s default collections
List Assigned Organization Ciphers
Retrieve organization ciphers assigned to the current user.The organization ID
Create Cipher
Create a new cipher.Request Body
Cipher type (1=Login, 2=SecureNote, 3=Card, 4=Identity, 5=SSHKey)
Encrypted cipher name
Encrypted notes
Login data (required for type=1)
Secure note data (required for type=2)
Card data (required for type=3)
Identity data (required for type=4)
Folder ID to place cipher in
Organization ID if creating organization cipher
Mark as favorite
Last known revision date for conflict detection
Create Cipher with Collections
Create a cipher and assign it to collections in one operation.Cipher object (same as Create Cipher)
Array of collection IDs to assign cipher to
Update Cipher
Update an existing cipher.The cipher ID
Request Body
Same as Create Cipher, all fields should be provided.Partial Update Cipher
Update only specific fields of a cipher (folder and favorite status).The cipher ID
New folder ID (null for no folder)
Favorite status
Share Cipher
Share a personal cipher with an organization.The cipher ID
Updated cipher object with organizationId
Collections to share cipher with
Update Cipher Collections
Update which collections a cipher belongs to.The cipher ID
New array of collection IDs
Bulk Update Collections
Add or remove collections for multiple ciphers.Organization ID
Array of cipher IDs to update
Array of collection IDs
Remove collections instead of adding them
Archive Cipher
Archive a single cipher.The cipher ID
Bulk Archive Ciphers
Archive multiple ciphers at once.Array of cipher IDs to archive (max 500)
Unarchive Cipher
Restore an archived cipher.The cipher ID
Bulk Unarchive Ciphers
Restore multiple archived ciphers.Array of cipher IDs to unarchive (max 500)
Soft Delete Cipher
Move a cipher to trash (soft delete).The cipher ID
Bulk Soft Delete
Move multiple ciphers to trash.Array of cipher IDs (max 500)
Restore Cipher
Restore a soft-deleted cipher from trash.The cipher ID
Bulk Restore Ciphers
Restore multiple ciphers from trash.Array of cipher IDs (max 500)
Delete Cipher Permanently
Permanently delete a cipher (cannot be undone).The cipher ID
Bulk Delete Permanently
Permanently delete multiple ciphers.Array of cipher IDs (max 500)
Move Ciphers to Folder
Move multiple ciphers to a folder.Array of cipher IDs (max 500)
Destination folder ID (null for no folder)
Encryption
All sensitive cipher data must be encrypted client-side before sending to the API. The API stores encrypted data only.
Encrypted Fields
The following fields are encrypted:namenotes- Login:
username,password,uris,totp - Card:
cardholderName,number,code - Identity: All fields
- SSH Key: All fields
Encryption Format
Encrypted strings follow the format:{encType}.{encryptedData}|{iv}|{mac}
Example: 2.abc123|def456|ghi789