Download OpenAPI specification:Download
This REST API is a service to generate OTP codes for single-use multi-factor keys. The one-time key generation process has two parts, generation and verification:
username and password in the DANAConnect platform.conversationID) for this flow.conversationID)?For most DANAConnect API requests, you will need to send the Conversation ID as a parameter.
This conversation ID refers to the number assigned to the activation of the flow and can be found by logging into the DANAConnect platform and looking in the activation report for the conversation you need to refer to.
It is important to mention that every time a conversation is reactivated, a new Conversation ID will be generated.
Here is a video explaining how to find the conversation ID:
This service generates the requested One Time Password Code
JSON with the data required to generate the OTP code
The server successfully processed the request
Incorrect Request. The request did not match the expected format
Authentication Error
Request an OTP code
{- "idConversation": 824541,
- "values": [
- {
- "key": "COD1_EMAIL",
- "value": "test@danaconnect.com"
}, - {
- "key": "COD1_NAME",
- "value": "Test DANAConnect"
}
], - "type": 1,
- "length": 12,
- "secondsExpiration": 3000,
- "maximumTries": 5
}Successful request result
{- "idRequest": 251,
- "responseCode": "01",
- "responseDescription": "Success",
- "conversationRequestId": "87a9ab9b-5abf-4802-abfa-e7b891d2a042"
}This service verifies an OTP code previously generated
The server successfully verified the request
Incorrect Request. The request did not match the expected format
Authentication Error
Validates an OTP code
{- "idRequest": 251,
- "otp": "Rf24sG"
}Successful verification result
{- "idRequest": 251,
- "responseCode": "01",
- "responseDescription": "Success"
}