igpapi — Instagram private API Simulator for Node.js (API reference) 4.19.0
    Preparing search index...

    Function AndroidCreateAndroidKeystoreAttestation

    • POST /api/v1/attestation/create_android_keystore/.

      Real Android can sign the nonce with the device keystore. Emulators often cannot, and the registration flow of the app reports errors: [-1013] in the final x-ig-attest-params header while still using the returned challenge nonce as real request state.

      Parameters

      • input: {
            certificateChain?: string;
            errors?: readonly number[];
            keyHash?: string;
            signedNonce?: string;
        } = {}

      Returns Effect<
          {
              certificateChain?: string;
              challengeNonce: string;
              errors: readonly number[];
              keyHash: string;
              signedNonce: string;
          },
          IgApiError
          | HttpRequestError,
          PlainJsonApiHttp | MobileDevice,
      >