Skip to main content

Trade a code for access to the secret

POST 

/secret/:key/code/verify

A correct code is used up and sets the codeGrant cookie, which opens this one secret for 15 minutes. It cannot delete the secret or do anything else. Five wrong codes burn the current one. /file/{key}/code/verify is equivalent.

Request​

Responses​

Accepted. The response sets the codeGrant cookie.