For the complete documentation index, see llms.txt. This page is also available as Markdown.
Time based Authentication
TOTP Generation and validation APIs
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
Headers
Name
Type
Description
x-api-key
string
Renda API Key
Content-Type
string
application/x-www-form-urlencoded
Request Body
Name
Type
Description
userID
string
User ID (Email address, Employee ID etc.,)
applicationID
string
Application ID (Name of the app)
tokenValidity
string
Token refresh interval - Default is 30 secs
tokenLength
string
Token Length - Default is 6 digits
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
Headers
Name
Type
Description
x-api-key
string
Renda API Key
Content-Type
string
application/x-www-form-urlencoded
Request Body
Name
Type
Description
secret
string
Secret Key
tokenValidity
string
Token validity (default to 30 secs)
tokenLength
string
Token length (defaults to 6 digits)
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.