totp_secret
SecurityGenerate TOTP (Time-based One-Time Password) secrets in base32 format. For 2FA setup testing and authenticator app integration.
Example Outputs
JBSWY3DPEHPK3PXPGEZDGNBVGY3TQOJQAPI Usage
Send a POST request to generate totp secret data:
curl -X POST https://mockhero.dev/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tables": [
{
"name": "example",
"count": 5,
"fields": [
{
"name": "totp_secret",
"type": "totp_secret"
}
]
}
]
}'Common Use Cases
- 2FA setup testing
- Authenticator app integration
- MFA enrollment testing
Quick Info
- Field Type
- totp_secret
- Category
- Security
- Parameters
- None required
- Output Format
- JSON, CSV, SQL
Related Types
Generate TOTP Secret + 155 more types via API
One API call. Multiple tables. Relational integrity. Free tier included.