# Sync\_state in Nylas v3

**URL:** <https://forums.nylas.com/t/sync-state-in-nylas-v3/438>\
**Category:** Question and Answers\
**Created:** [September 11, 2024, 1:53pm UTC](https://forums.nylas.com/t/sync-state-in-nylas-v3/438 "2024-09-11T13:53:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Blag](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.nylas.com/blag/32/9_2.png) [@Blag](https://forums.nylas.com/u/Blag)\
**Post date:** [September 11, 2024, 2:00pm UTC](https://forums.nylas.com/t/sync-state-in-nylas-v3/438/2 "2024-09-11T14:00:29Z")

</div>

Hello @Kateryna As I mentioned in your other question, we don’t have that on V3, but you can for sure grab the user information

> [@Integration Nylas v2 to Nylas v3](https://forums.nylas.com/t/integration-nylas-v2-to-nylas-v3/437/5):
>
> This is Ruby code, but might give you an idea slight_smile get '/oauth/exchange' do code = params[:code] status 404 if code.nil? begin response = nylas.auth.exchange\_code\_for\_token({ client\_id: ENV['V3\_CLIENT'], client\_secret: ENV['V3\_SECRET'], redirect\_uri: 'http://localhost:4567/oauth/exchange', code: code }) rescue StandardError status 500 else print(res…

---

_[View the full topic](https://forums.nylas.com/t/sync-state-in-nylas-v3/438)._
