Solve a code checkpoint
Changed onAllows you to provide a code which will solve a checkpoint encountered during a native authentication. A checkpoint is a security step added by a provider which needs to be solved to complete the authentication. Checkpoints that require a code are 2FA (two-factor authentication) and OTP (one-time password). Depending on the way you have configured the account you are trying to authenticate, you can get your code from various ways such as a mail, a SMS or from a two-factor authentication app.
Request
- Base URLhttps://api1.unipile.com:13111
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Created. The code is valid and the authentication is completed.
Changes
- warning
added the new
errors/already_usedenum value to theresponse property for the response status - warning
added the new
errors/checkpoint_switching_not_availableenum value to theresponse property for the response status - warning
added the new
errors/conflictenum value to theresponse property for the response status - warning
added the new
errors/password_reset_requiredenum value to theresponse property for the response status - warning
added the new
errors/target_audience_too_smallenum value to theresponse property for the response status
- warning