auth

Redeem a recovery code and rotate the API key

Redeems the single-use code sent by /v1/auth/recover. The previous API key stops working the moment this returns 200. Codes expire 30 minutes after issue. Requesting another does NOT invalidate an outstanding one — several can be live at once, each single-use — because an unauthenticated endpoint that invalidates a code on request lets anyone who knows the address keep cancelling a recovery in progress.

post/v1/auth/recover/confirm

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/v1/auth/recover/confirm
  • Auth: none declared

Request body

emailstring email required
tokenstring required

The code from the recovery email.

Response

Key rotated

api_keystring

Shown once. The previous key is now invalid.

key_prefixstring
messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.