Human-Detector (HD): Integration steps
Integration on Website:
- Place the following script at the end of the
<head>
tag on all pages:
<script src="/n7/n7HD.js" type="text/javascript" async defer></script>
Integration on Mobile App:
- For mobile apps, follow these steps:
- Make a GET call to /n7/getHDToken at app launch.
- Include header: X-NV-Security-Key (provided by N7 team).
- Extract token from response header: X-NV-HD-Token.
- Include this token in all requests as: X-NV-HD-Token:
- Refresh the token every 8-9 minutes.