API reference / Vault
List vault items
The vault's items you can reach, by name. Concealed values (passwords, keys, card numbers, notes) are never returned: people reveal them in the app after unlocking, and teammates use logins without ever seeing them.
/api/v1/vault/itemsOther ways to call it
troopy vault listtroopy_list_vault_itemsQuery parameters
pageinteger1-based page number
Default 1 · At least 1
limitintegerItems per page, at most 100
Default 20 · At least 1 · At most 100
collectionstringOnly this collection
kindenum<string>loginapi_keysecretnotecard
sitestringOnly items for this site, like canva.com
At least 1 characters · At most 200 characters
qstringWords in the name
At least 1 characters · At most 100 characters
madeByenum<string>Only what people added, or only what teammates made
peopleteammates
Response
200 · application/jsondata*array<object>18 properties
id*stringA 24-character id
collection*object2 properties
id*stringA 24-character id
name*stringkind*enum<string>loginapi_keysecretnotecard
name*stringtags*array<string>urls*array<string>Logins: the pages it signs in on. API keys: the service's address
sites*array<string>The domains of urls: where a teammate may use a login
environment*enum<string> | nullAPI keys: test or live
testlive
expiresAt*string | nullfields*array<object>7 properties
key*stringStable: references (troopy://vault/<item>/<key>) name it
label*stringtype*enum<string>textemailurlpasswordtotpmonthmultiline
concealed*booleanConcealed values never leave through the API; people see them in the app after unlocking
value*string | nullThe value when it isn't concealed; null when concealed or empty
hint*string | nullA long key's or card number's last four characters
set*booleanWhether it has a value
status*enum<string>unconfirmed: a login a teammate made signing up, until it signs in with it or a person confirms it
activeunconfirmed
importedFrom*enum<string> | null1passwordbitwardenlastpasschrome
createdBy*objectWho added it: a person, a teammate (type agent) or an API key
3 properties
type*enum<string>personagentapi
id*stringname*stringupdatedBy*objectWho wrote it
3 properties
type*enum<string>personagentapi
id*stringname*stringlevel*enum<string>What you may do with it
viewusemanage
createdAt*stringISO 8601 date and time
updatedAt*stringISO 8601 date and time
lastUsedAt*string | nullpagination*object4 properties
page*integerlimit*integertotal*integerpages*integer