Skip to main content
TroopyDocs
Open Troopy
Troopy

API reference / Vault

List vault collections

The workspace's vault collections you can reach, each with who may use it and what you may do in it. Every item lives in one. Collections and who reaches them are set in the app.

get/api/v1/vault/collections

Authorization

HeaderAuthorization: Bearer <API key>
Or the headerX-API-Key: <API key>
API keyMake one in Troopy under Settings > API keys. It acts as you, in its workspace.

Other ways to call it

CLItroopy vault collections
MCP tooltroopy_list_vault_collections
Rate limit60 calls in 60 seconds, for each key

Response

200 · application/json
data*array<object>
10 properties
id*string

A 24-character id

name*string
everyone*enum<string> | null

What everyone in the workspace may do in it

viewusemanage

people*array<object>
3 properties
id*string

A 24-character id

name*string
level*enum<string>

viewusemanage

teammates*array<object>

Teammates that may use its logins

2 properties
handle*string
name*string
isDefault*boolean
receivesSignups*boolean

Where logins teammates make signing up go

madeBy*object | null

A teammate's own collection of the logins it made

2 properties
handle*string
name*string
level*enum<string>

What you may do in it

viewusemanage

items*integer

Errors

401 unauthorizedSend an API key as `Authorization: Bearer tr_live_...`. Create one in Troopy under Settings.
403 forbiddenThe key lacks a scope this operation needs, or its owner lacks the role. detail says which; create a key with the scope, or ask an organization owner or admin.
429 rate_limitedWait the number of seconds in Retry-After, then retry.