Skip to content

Function: submitChallengeCode() ​

ts
function submitChallengeCode(
   client, 
   challenge, 
   code
): Promise<PrivateResponseJson>;

Submits the verification code. On success the session is finalized and persisted.

Parameters ​

ParameterType
clientPrivateClient
challengeChallenge
codestring

Returns ​

Promise<PrivateResponseJson>

MIT License. Not affiliated with, endorsed or sponsored by Meta or Instagram.