{"_id":"57439577583f470e000a787e","version":{"_id":"5719767ec863120e0012a042","hasDoc":true,"project":"56008ba98c0c9d0d00dcaeb0","__v":7,"hasReference":true,"createdAt":"2016-04-22T00:55:26.295Z","releaseDate":"2016-04-22T00:55:26.295Z","categories":["5719767ec863120e0012a043","5719767ec863120e0012a044","5719767ec863120e0012a045","5719767ec863120e0012a046","5719767ec863120e0012a047","5719767ec863120e0012a048","5719767ec863120e0012a049","57f45a18da14e71700d12e4a","582b71b15403840f008c0410","58c060cf3eee111b00a8b210","591e4c277f22100f00031521","591e4c3d094c5b0f006769fe","591e4c461e0dc20f0047b58b"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2.0"},"__v":1,"category":{"_id":"5719767ec863120e0012a045","version":"5719767ec863120e0012a042","project":"56008ba98c0c9d0d00dcaeb0","__v":0,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2016-01-25T21:10:29.130Z","from_sync":false,"order":1,"slug":"api","title":"API Documentation"},"parentDoc":null,"user":"56008b651503430d007cc929","project":"56008ba98c0c9d0d00dcaeb0","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-05-23T23:42:47.743Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":true,"order":4,"body":"[Verify](http://help.thisdata.com/v2.0/docs/v1verify) is a simple endpoint which answers the question \"How likely is it that this user's account is being impersonated?\". It executes synchronously, meaning you need to wait for us to calculate the risk and respond, before letting the user carry on with their request. Or you could use it in your own asynchronous processes.\n\nThe Verify API depends on user behaviour ThisData has learned from events you track with the Events API. Therefore, in order to use the Verify API you need to be tracking events with the Events API as well.\n\nThe [Events API](http://help.thisdata.com/v2.0/docs/apiv1events) is for tracking your users' behaviour, to build up a profile of their typical activity. All ThisData users should use this endpoint.\nEvents is asynchronous; it returns an empty response very quickly, and analyzes risk in the background. You can use this in your app without slowing down the browsing experience of your users. The Events endpoint will also [trigger automated security workflows](doc:create-a-security-workflow-with-thisdatas-alert-webhooks) when it sees high risk events.\n\n**Learn More:**\n\n  * [The `/verify` endpoint](http://help.thisdata.com/v2.0/docs/apiv1verify)\n  * [The `/events` endpoint](http://help.thisdata.com/v2.0/docs/apiv1events)","excerpt":"What are the differences between the Verify and Events API endpoints?","slug":"events-vs-verify","type":"basic","title":"Events vs. Verify"}

Events vs. Verify

What are the differences between the Verify and Events API endpoints?

[Verify](http://help.thisdata.com/v2.0/docs/v1verify) is a simple endpoint which answers the question "How likely is it that this user's account is being impersonated?". It executes synchronously, meaning you need to wait for us to calculate the risk and respond, before letting the user carry on with their request. Or you could use it in your own asynchronous processes. The Verify API depends on user behaviour ThisData has learned from events you track with the Events API. Therefore, in order to use the Verify API you need to be tracking events with the Events API as well. The [Events API](http://help.thisdata.com/v2.0/docs/apiv1events) is for tracking your users' behaviour, to build up a profile of their typical activity. All ThisData users should use this endpoint. Events is asynchronous; it returns an empty response very quickly, and analyzes risk in the background. You can use this in your app without slowing down the browsing experience of your users. The Events endpoint will also [trigger automated security workflows](doc:create-a-security-workflow-with-thisdatas-alert-webhooks) when it sees high risk events. **Learn More:** * [The `/verify` endpoint](http://help.thisdata.com/v2.0/docs/apiv1verify) * [The `/events` endpoint](http://help.thisdata.com/v2.0/docs/apiv1events)