account

Starts two-factor authentication setup.

post/api/users/me/2fa/enable

Request

  • Base URL: https://api.pricklymails.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pricklymails.com/api/users/me/2fa/enable
  • Auth: HTTP bearer

Response

TOTP secret, otpauth URI, and backup codes.

backup_codesstring[] required

Single-use backup codes, shown only once.

qr_uristring required

The otpauth:// URI for QR code generation.

secretstring required

The base32-encoded TOTP secret.

Changes

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