API calls are region specific. Please make sure you are subscribed to a specific region and have a valid Renda API Key before making API calls.
Region Specific URLs:
Ireland(Europe): https://api-eu.renda.io
North Virginia(US): https://api-us.renda.io
Mumbai(APAC): https://api-apac.renda.io
Get Ping
GEThttps://api-<region>.renda.io/totp/ping
Region specific URLs:
Ireland(Europe):https://api-eu.renda.io/totp/ping
North Virginia(US): https://api-us.renda.io/totp/ping
Mumbai(APAC): https://api-apac.renda.io/totp/ping
{
"message”:”Please check the following: 1) An *active* Renda.io
subscription 2) API being invoked must be *Subscribed* in Renda
developer portal 3) A valid *API Key* must be passed in ‘x-api-key’
request header parameter. Please refer to Renda documentation for
more details - https://documentation.renda.io"
}
Onboard user API generates a secret key based on userid(which can be email address, name, number etc.,) and application ID. This API is useful to build user onboarding/authentication module whereby users can be authenticated using time based one time password (TOTP) generated by any soft token generator.
This API returns a secret key, OTP URL, QR Code image encoded with the OTP URL which can be scanned to setup any soft key generator and a current TOTP passcode
[
{
"type": "Error",
"message": "User ID is mandatory"
},
{
"type": "Error",
"message": "Application ID is mandatory"
}
]
getOTP
POSThttps://api-<region>.renda.io/totp/getOTP
This API fetches the current valid OTP for a specified secret key. Token validity and token length parameters can be passed if they customised to be more than 30 seconds in duration and 6 digits in length
{
"message": "Unsupported API request. Please refer to Renda
documentation for more details documentation.renda.io"
}
verifyOTP
POSThttps://api-<region>.renda.io/totp/verifyOTP
This API method verifies the provided one time password(OTP) against a specific Secret key. Token validity can be passed in the validity period needs to be extended beyond the default 30 seconds.