v1

latestSwagger 2.0AGPL2026-07-1714711.0 KB
Credential

Create a credential

Posting to this endpoint will create an item. No need to set item_id when creating an item.

post/credentials

Request body

item_idinteger

generated by uniqid()

user_idstring
vaultinteger

The id of the vault the item belongs to

labelstring

Name of the item

descriptionstring

Description the user has given to the item

createdstring dateTime

Time the item was created

changedstring dateTime

Time the item was changed

emailstring

Saved e-mail

usernamestring

Saved username

passwordstring

The stored password, encrypted with sjcl

urlstring

Saved url of the item

faviconstring

Fav icon from the url

renew_intervalinteger

x

expire_timestring dateTime

Timestamp when the password expires, set NULL to not expire items

delete_timestring dateTime

If an item is deleted this contains the timestamp, else it's 0

Response

The created item

item_idinteger

generated by uniqid()

user_idstring
vaultinteger

The id of the vault the item belongs to

labelstring

Name of the item

descriptionstring

Description the user has given to the item

createdstring dateTime

Time the item was created

changedstring dateTime

Time the item was changed

emailstring

Saved e-mail

usernamestring

Saved username

passwordstring

The stored password, encrypted with sjcl

urlstring

Saved url of the item

faviconstring

Fav icon from the url

renew_intervalinteger

x

expire_timestring dateTime

Timestamp when the password expires, set NULL to not expire items

delete_timestring dateTime

If an item is deleted this contains the timestamp, else it's 0