Skip to main content
POST
Create TOTP credential

Authorizations

Authorization
string
header
required

access token

Response

Successfully created TOTP credential

secret
string

Base32-encoded TOTP secret

Example:

"JBSWY3DPEHPK3PXP"

issuer
string

Issuer name for the authenticator app

Example:

"Arb"

accountName
string

Account name displayed in authenticator app

Example:

"user@example.com"

algorithm
string

TOTP algorithm

Example:

"SHA1"

digits
integer

Number of digits in TOTP code

Example:

6

period
integer

Time period in seconds for TOTP generation

Example:

30