MockHero

totp_secret

Security

Generate TOTP (Time-based One-Time Password) secrets in base32 format. For 2FA setup testing and authenticator app integration.

Example Outputs

JBSWY3DPEHPK3PXPGEZDGNBVGY3TQOJQ

API 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

Try it now

Generate totp secret data instantly in the playground.

Generate TOTP Secret + 155 more types via API

One API call. Multiple tables. Relational integrity. Free tier included.

Get Started Free