v1

latestOpenAPI 3.0.02026-07-249301.3 MB
Accounts

Solve a code checkpoint

Allows 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.

post/api/v1/accounts/checkpoint

Request body

account_idstring required

A unique identifier.

codestring required

The code to solve the checkpoint. If the code is a phone number, it should be preceded by the international dialling code in brackets (e.g. (+33)0612345678 for France). If you need to switch to a different type of checkpoint, enter TRY_ANOTHER_WAY here (e.g. from In app validation to 2FA).

provider'LINKEDIN' | 'INSTAGRAM' | 'TWITTER' | 'MESSENGER' required

Response

Created. The code is valid and the authentication is completed.

object'AccountCreated' required
account_idstring required

A unique identifier.