Skip to main content

2FA Code Generator

The 2fa type will return a numerical 2FA code.

Optionally, you can specify length, which will set the length of the generated 2FA code. This will default to 6.

Example Input

{
"username": "Username",
"token": "Token",
"type": "2fa"
}

Example Input Using length

{
"username": "Username",
"token": "Token",
"type": "2fa",
"length": "8"
}

Example Output

{
"id": "185238"
}