Create a new Item
POST /vaults/{vaultUuid}/items
Authorizations
Parameters
Path Parameters
The UUID of the Vault to create an Item in
Request Body
object
object
object
object
For fields with a purpose of PASSWORD
this is the entropy of the value
If value is not present then a new value should be generated for this field
Some item types, Login and Password, have fields used for autofill. This property indicates that purpose and is required for some item types.
The recipe is used in conjunction with the “generate” property to set the character set used to generate a new secure value
object
List of all characters that should be excluded from generated passwords.
Length of the generated value
object
object
Base64-encoded contents of the file. Only set if size <= OP_MAX_INLINE_FILE_SIZE_KB kb and inline_files
is set to true
.
Path of the Connect API that can be used to download the contents of this file.
ID of the file
Name of the file
For files that are in a section, this field describes the section.
object
Size in bytes of the file
object
Responses
200
OK
object
object
object
object
For fields with a purpose of PASSWORD
this is the entropy of the value
If value is not present then a new value should be generated for this field
Some item types, Login and Password, have fields used for autofill. This property indicates that purpose and is required for some item types.
The recipe is used in conjunction with the “generate” property to set the character set used to generate a new secure value
object
List of all characters that should be excluded from generated passwords.
Length of the generated value
object
object
Base64-encoded contents of the file. Only set if size <= OP_MAX_INLINE_FILE_SIZE_KB kb and inline_files
is set to true
.
Path of the Connect API that can be used to download the contents of this file.
ID of the file
Name of the file
For files that are in a section, this field describes the section.
object
Size in bytes of the file
object
400
Unable to create item due to invalid input
object
A message detailing the error
HTTP Status Code
Example
401
Invalid or missing token
object
A message detailing the error
HTTP Status Code
Example
403
Unauthorized access
object
A message detailing the error
HTTP Status Code
Example
404
Item not found
object
A message detailing the error
HTTP Status Code
Examples
Vault not found