WoyraDocs
Get an API key

Make a fresh set of recovery codes

POST/v1/auth/recovery_codes

Console · Requires an API key

Ten single-use codes, each usable once at /v1/auth/mfa/verify in place of the authenticator code. They are shown only in this answer and replace any earlier set. Needs a passkey or an authenticator app first.

Example

curl -X POST https://api.woyra.io/v1/auth/recovery_codes \
  -H "Authorization: Bearer $WOYRA_KEY"

Response

200 The codes.

FieldTypeDescription
object"recovery_codes"
codesarray of string

Errors

StatusCodes
400invalid_request, unsupported_version

Also in Console