latestOpenAPI 3.0.02026-08-156441,3872.1 MB

5aa4178ca29b

Onetimesecrets

Store a one-time secret

Requires permission: IT

Stores a payload the client has already encrypted, and returns a short link to it. The API receives ciphertext, KDF parameters and an auth key it only ever hashes — never the passphrase and never the plaintext, so it cannot read what it is holding.

post/OneTimeSecrets

Request body

ciphertextstring nullable
noncestring nullable
encryptionSaltstring nullable
authSaltstring nullable
iterationsinteger
authKeystring nullable
notestring nullable
expiresInHoursinteger

Example request

{
  "iterations": 0,
  "expiresInHours": 24
}

Response

Success - stored

tokenstring
urlstring
shortLinkBackHalfstring nullable
shareUrlstring
expiresAtstring date-time