Endpoints
POST
/api/v1/totpGenerate a 6-digit or 8-digit TOTP code from a Base32 secret.
curl -X POST "http://localhost:3000/api/v1/totp" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{ "secret": "JBSWY3DPEHPK3PXP", "label": "[email protected]", "digits": 6, "period": 30 }'