Skip to main content
POST
/
users
/
totp
/
read
Read user's TOTP credential
curl --request POST \
  --url https://auth.platform.arb.inc/users/totp/read \
  --header 'Authorization: Bearer <token>'
{
  "created": "2023-08-15T14:12:00Z",
  "updated": "2024-01-10T09:30:00Z",
  "digits": 6,
  "usageCount": 42
}

Authorizations

Authorization
string
header
required

access token

Response

Successfully retrieved TOTP credential.

created
string<date-time>

Timestamp when the credential was created.

Example:

"2023-08-15T14:12:00Z"

updated
string<date-time>

Timestamp when the credential was last updated.

Example:

"2024-01-10T09:30:00Z"

digits
integer

Number of digits in the TOTP code.

Example:

6

usageCount
integer

Number of times the TOTP credential has been used.

Example:

42