Preview. This site is still being built. Features, prices and terms may change, and nothing here is a binding offer. Read the preview notice

Preview. Still being built; nothing here is a binding offer. Details

Vault

6 routes. Paths are relative to https://api.intersink.com/v1.

All groups

My vault items: metadata only, never the password (paged)

GET/vault/items

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
qstring, queryAt most 200 characters.
channel_idstring, query
pagenumber, queryMinimum 1.
limitnumber, queryMinimum 1.

Response

200. The payload in data is not described in the spec yet.

Save a password (encrypted at rest)

POST/vault/items

Needs a signed-in user (Bearer token or access_token cookie).

Request body application/json

FieldTypeDescription
labelrequiredstringAt most 200 characters. Example: "Stripe Dashboard"
usernamestringAt most 255 characters. Example: "[email protected]"
passwordrequiredstringAt most 1024 characters. Example: "correct horse battery staple"
urlstringChecked by the server against /^(|https?:\/\/[^\s]{1,2040})$/i. Example: "https://dashboard.stripe.com"
notesstringAt most 2000 characters.
channel_idstring

Response

201. The payload in data is not described in the spec yet.

One vault item's metadata (no password)

GET/vault/items/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequirednumber, path

Response

200. The payload in data is not described in the spec yet.

Edit a vault item (a new password is re-encrypted)

PATCH/vault/items/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequirednumber, path

Request body application/json

FieldTypeDescription
labelstringAt most 200 characters.
usernamestringAt most 255 characters.
passwordstringAt most 1024 characters.
urlstringChecked by the server against /^(|https?:\/\/[^\s]{1,2040})$/i.
notesstringAt most 2000 characters.
channel_idstring

Response

200. The payload in data is not described in the spec yet.

Delete a vault item

DELETE/vault/items/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequirednumber, path

Response

200. The payload in data is not described in the spec yet.

Return the decrypted password (10/min, written to the security log)

POST/vault/items/{id}/reveal

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequirednumber, path

Response

200. The payload in data is not described in the spec yet.