POST v1/Users/2FAKey
Accepts a Two Factor Authentication Key
Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Key |
The One Time Password that was sent to the users phone. |
string |
Required |
Response
APILoginName | Description | Type | Additional information |
---|---|---|---|
SessionKey |
The Session Key for the user. This Session Key must be sent in the header of all subsequent calls. |
string |
None. |
Username |
Username for the logged in user. |
string |
None. |
SessionId |
Session Id |
integer |
None. |
TwoFactorAuthenticationRequired |
True when Two Factor Authentication is required for this login. A One Time Password will be sent to the phone number on record for the user account. Make a subsiquent request to the /v1/Users/2FAKey endpoint with the One Time Password to complete Two Factor Authentication. |
boolean |
None. |
Key |
When the User account is setup for Device/Browser verification this field will contain a value. Send this value with subsequent requests to /v1/Users/LoginBrowser to remember 2FA verification requests. |
string |
None. |
Example
curl -H "Authorization: Bearer {SessionKey}" -d "Key={Key}" -X POST https://api.creditriskmonitor.com/v1/Users/2FAKey