Skip to main content

Initiate OTP authentication

Initiate OTP authentication for a user. Result is a one-time password (OTP) that can be used to authenticate against Upheal.

Request Body required

Auth initiation request

  • userId string required

    ID of the user for which the OTP is being generated.

  • extras object

    Context-specific details for various OTP use cases.

  • property name* string
Responses

OK


Schema
  • otpToken string required

    the generated token to be used for authentication of external service

  • userRole string required

    Possible values: [Client, HealthcareProvider, OrgAdmin, Admin]

    Role of the user for which the OTP was generated.

Loading...