2FA
Generate a TOTP code
post/2fa
Request
- Base URLhttps://dummyjson.com
- URLhttps://dummyjson.com/2fa
- Authnone required
Request body
Example request
{
"key": "JBSWY3DPEHPK3PXP"
}Response
TOTP payload
Example response
{
"totp": "123456",
"expiresIn": 25,
"period": 30
}Changes
No recorded changes to this operation across all 1 revision of this API.