Get OTP authenticator settings
GET/api/web/v3/settings/otp
Get OTP authenticator settings. Caller requires the SETTINGS:VIEW permission.
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Successful
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Indicates whether client applications can delivery OTP to default delivery contact or can enforce users to choose an OTP delivery.
deliveryMethods
object[]
The allowed OTP delivery mechanisms in order of preference. Default is SMS, followed by Email, and Voice.
Whether the method is enabled.
Possible values: [EMAIL
, SMS
, VOICE
]
The OTP delivery method type.
Indicates whether the OTP expiry date will be included in the OTP SMS message
Characters that can appear in a RANDOM OTP. Can contain any non-whitespace character. Default is all digits.
Possible values: [EMAIL
, SMS
, VOICE
, NONE
]
The default OTP delivery mechanism. This attribute is deprecated, use the deliveryMethods attribute.
Id of the default OTP delivery attribute. Deprecated : Use default attribute specific to delivery mechanism instead eg. otpSmsDefaultDeliveryAttribute, otpEmailDefaultDeliveryAttribute
Id of the default Email OTP delivery attribute.
Possible values: >= 4
and <= 100
The length of an OTP. Default is 8.
Possible values: >= 60
and <= 3600
The lifetime of an OTP in seconds. Default is 300.
Id of the default SMS OTP delivery attribute.
Possible values: [RANDOM
, MEMO_PASSCODE
]
The type of OTP generated. Choices are RANDOM or MEMO_PASSCODE. Default is RANDOM
Id of the default Voice OTP delivery attribute.
Indicates whether masked OTP contact attribute values are included in authentication API.
{
"defaultDeliveryEnabled": true,
"deliveryMethods": [
{
"enabled": true,
"name": "EMAIL"
}
],
"includeOtpExpiryDate": true,
"otpAlphabet": "string",
"otpEmailDefaultDeliveryAttribute": "360e0c3d-27d7-405b-81db-0524fa8f41bd",
"otpLength": 0,
"otpLifetime": 0,
"otpSmsDefaultDeliveryAttribute": "360e0c3d-27d7-405b-81db-0524fa8f41bd",
"otpType": "RANDOM",
"otpVoiceDefaultDeliveryAttribute": "360e0c3d-27d7-405b-81db-0524fa8f41bd",
"showOtpDeliveryContact": true
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Access denied
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Conflict
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}