Something new is coming up soon from Kanishu — stay tuned.

Developers › API reference

Password Vault

Base address https://vault.kanishu.com/api/v1 · Download the OpenAPI description (for Postman, code generators and the like).

Conventions shared by every endpoint — tokens, headers, lists, safe retries, versions, limits — are in the developer guide; error codes are on Error codes. Each endpoint below names the scope a token needs.

Jump to: API access

API access

POST /api/v1/api-access-requests

Create in api access requests

Request fields (JSON body)

allowed_ipsstring (up to 2000), can be null
api_client_idinteger, can be null
purpose requiredstring (up to 1000)
scopes requiredlist of string
validity_daysinteger: 30, 60, 90, can be null

201 — Created. The record is in `data`; its address in `Location`.

GET /api/v1/api-access-requests/pending

Pending (api access requests pending)

ParameterInTypeAbout
fieldsquerystringOnly these fields of each record, comma-separated (e.g. `id,name`; nested: `owner.name`). `id` always comes back.

200 — OK.

POST /api/v1/api-access-requests/{apiAccessRequest}/approve

Approve (api access requests approve)

ParameterInTypeAbout
apiAccessRequest requiredpathinteger

200 — OK.

POST /api/v1/api-access-requests/{apiAccessRequest}/reject

Reject (api access requests reject)

ParameterInTypeAbout
apiAccessRequest requiredpathinteger

Request fields (JSON body)

reason requiredstring (up to 500)

200 — OK.

GET /api/v1/api-access-requests/{apiAccessRequest}/reveal

Reveal (api access requests reveal)

ParameterInTypeAbout
apiAccessRequest requiredpathinteger
fieldsquerystringOnly these fields of each record, comma-separated (e.g. `id,name`; nested: `owner.name`). `id` always comes back.

200 — OK.

Reply fields (1)
tokenstringThe API token, shown this once. Store it in your secrets manager and send it as Authorization: Bearer <token>.

Need fewer? Add ?fields= with the names you want, e.g. ?fields=token.