contacts
Store the wrapped contact key for the current user
Changed onCreate-only, and it returns the key that is actually stored — which is not necessarily the one sent. A second caller gets the first one back rather than replacing it, because two clients minting different keys and overwriting each other leaves every contact sealed under the loser permanently unopenable. Rotation needs its own route: it means re-sealing every row, not swapping a value the server cannot read.
put/users/me/contact-key
Request
- Base URLhttps://api.dre.app (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
The stored key — the one sent, or the one already there
Changes
- info
endpoint added
- info