Frontend API
cURL
curl --request POST \ --url https://api.wacht.dev/me/authenticator \ --header 'Content-Type: application/x-www-form-urlencoded' \ --cookie session_id= \ --data email=jsmith@example.com
{ "authenticator": { "id": "<string>", "secret": "<string>", "verified": true, "created_at": "2023-11-07T05:31:56Z" }, "qr_code": "<string>" }
Generate a new TOTP authenticator (Google Authenticator, etc.)
Authenticator created
Show child attributes
Base64 encoded QR code image
Was this page helpful?