For AI agents: a documentation index is available at https://api.onetimesecret.com/doc/api-v2/llms.txt. Markdown versions of each page are available by sending an Accept: text/markdown header, or by appending .md to the page URL.

Do not miss any v2 - Secrets API (stable) changes, ever again

Subscribe to the v2 - Secrets API (stable) changelog to be up to date on recent changes.

RSS

15 days ago

main
2026-11-08
Compare
2026-11-08

API structure has changed

14 structure changes including:
14 Modifications
Modified 14 Breaking
GET /api/v2/private/recent
  • Query
  • scope, domain_extid query parameters Added
  • Response
  • 422 response Added
GET /api/v2/receipt/recent
  • Query
  • scope, domain_extid query parameters Added
  • Response
  • 422 response Added
PATCH /api/v2/private/{identifier}
  • Body
  • application/json content type Modified
    • memo property Added
PATCH /api/v2/receipt/{identifier}
  • Body
  • application/json content type Modified
    • memo property Added
POST /api/v2/guest/receipt/{identifier}/burn
  • Body
  • application/json content type Modified
    • continue property Modified
      • Type went from string to boolean | string
    • passphrase property Added
POST /api/v2/guest/secret/conceal
  • Body
  • application/json content type Modified
    • secret property Modified
      • kind, share_domain properties Modified
        • Properties are no longer required
POST /api/v2/guest/secret/generate
  • Body
  • application/json content type Modified
    • secret property Modified
      • kind, share_domain properties Modified
        • Properties are no longer required
POST /api/v2/guest/secret/{identifier}/reveal
  • Body
  • application/json content type Modified
    • continue property Modified
      • Type went from string to boolean | string
POST /api/v2/private/{identifier}/burn
  • Body
  • application/json content type Modified
    • continue property Modified
      • Type went from string to boolean | string
    • passphrase property Added
POST /api/v2/receipt/{identifier}/burn
  • Body
  • application/json content type Modified
    • continue property Modified
      • Type went from string to boolean | string
    • passphrase property Added
POST /api/v2/secret/conceal
  • Body
  • application/json content type Modified
    • secret property Modified
      • kind, share_domain properties Modified
        • Properties are no longer required
POST /api/v2/secret/generate
  • Body
  • application/json content type Modified
    • secret property Modified
      • kind, share_domain properties Modified
        • Properties are no longer required
POST /api/v2/secret/status
  • Body
  • application/json content type Modified
    • identifiers property Modified
      • Type went from array[string] to array[string] | string
      • array alternative Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
      • array-1, string-2 alternatives Added
POST /api/v2/secret/{identifier}/reveal
  • Body
  • application/json content type Modified
    • continue property Modified
      • Type went from string to boolean | string