Initiate OTP authentication
Initiate OTP authentication for a user. Result is a one-time password (OTP) that can be used to authenticate against Upheal.
- application/json
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
- 200
- 400
- 403
OK
- application/json
- Schema
- Example (from schema)
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.
{
"otpToken": "string",
"userRole": "Client"
}
Invalid input. For example when provided user ids do not exist.
Invalid API Key
Loading...