Data Connectors Saw our team at the Infosecurity Europe event? πŸ‘€  Continue the conversation & get your live demo

Authenticate (verify) with typing pattern using Postman

If you have previously saved a typing pattern for a user, you can now authenticate by using the /verify Authentication API endpoint. See down below how to authenticate a user with a typing pattern.

Import the TypingDNA Postman collection

Need help? Follow step 1-2 from this tutorial.

1. Click the Collections tab, then click the TypingDNA Authentication API collection.

postman

2. Click the Verify typing pattern API service from the collection.

postman

3. Click the Body tab.

postman

4. Change the value of the id parameter (a string that identifies the user, min 6. chars). We used testuser for the purpose of this demo.

postman

Note: In order to authenticate, the user has to have a previously saved typing pattern.

5. Add a recorded typing pattern in the tp parameter. You can use this typing pattern as an example:

0,2.12,0,0,18,1473785675,4,82,13,0,-1,-1,0,-1,-1,12,93,24,0,-1,-1|8330,137|1121,142|902,144|776,128|792,51|784,111|864,151|872,111|824,127|816,104|888,95|800,151|808,119|897,134|775,101|848,111|1000,143|688,126

Typingdna patterns are outputted by the TypingDNA Authentication API JavaScript recorder on your front-end application. Use this type-to-output tool to easily get typing patterns.

postman

6. Click the Send button to make the Authentication API call. Now you should get a successful Authentication API reply.

postman

Reminder: To authenticate/verify a typing pattern, you have to previously save a typing pattern for the same user.

Congratulations. You have successfully managed to authenticate a typing pattern.
To learn more, visit the Authentication API documentation page.

For more support, contact us at support@typingdna.com.

Related tutorials