v1

latestOpenAPI 3.1.02026-07-241280174.1 KB

Plain Text

Generate a Doppler Share link by sending a plain text secret. This endpoint is not end-to-end encrypted as you are sending the secret in plain text. At no point do we store the plain text secret or the password in our systems. The receive flow the user goes through will be end-to-end encrypted where the encrypted secret will be decrypted on the browser.

post/v1/share/secrets/plain

Request body

secretstring required

Plain text secret to share.

expire_viewsinteger

Number of views before the link expires. Valid ranges: 1 to 50. -1 for unlimited.

expire_daysinteger

Number of days before the link expires. Valid range: 1 to 90.

Response

200

urlstring
authenticated_urlstring
passwordstring
successboolean

Example response

{
  "url": "https://share.doppler.com/s/oarjigpajqtodoqefoua9o1iisdfaocgfbulmaez",
  "authenticated_url": "https://share.doppler.com/s/oarjigpajqtodoqefoua9o1iisdfaocgfbulmaez#GZPgKEngtasgXHftCjimCwjPquZV7qwwzo8qb1m7rgvjlWXFr8C5jHOuXtxW1SBC",
  "password": "GZPgKEngtasgXHftCjimCwjPquZV7qwwzo8qb1m7rgvjlWXFr8C5jHOuXtxW1SBC",
  "success": true
}