Users

Fetch user OTP secret

Organization users will be able to access this endpoint only if their organization has sso flow disabled.

Requires additional Basic authorization. Check Authentication section for the details.

post/user/2fa/otp_secret

Request

  • Base URL
    https://api.kisi.io
  • URL
    https://api.kisi.io/user/2fa/otp_secret
  • Auth
    • API key in header Authorization
    • or OAuth 2
      Authorization code: https://api.kisi.io/oauth/authorize
      Token URL: https://api.kisi.io/oauth/token

Response

OK

otp_secretstring

The OTP secret.

uristring uri

The OTP provisioning url. Used as a source for QR code.

Example response

{
  "uri": "otpauth://totp/Kisi:example.com?secret=otp_secret&issuer=Kisi"
}

Changes

No recorded changes to this operation across all 9 revisions of this API.