# User info using StateToken

**URL:** <https://devforum.okta.com/t/user-info-using-statetoken/4220>\
**Category:** Questions\
**Created:** [February 15, 2019, 1:43am UTC](https://devforum.okta.com/t/user-info-using-statetoken/4220 "2019-02-15T01:43:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![danish](https://avatars.discourse-cdn.com/v4/letter/d/e9a140/32.png) [@danish](https://devforum.okta.com/u/danish)\
**Post date:** [February 15, 2019, 1:43am UTC](https://devforum.okta.com/t/user-info-using-statetoken/4220/1 "2019-02-15T01:43:49Z")

</div>

Hi all,

I am new to Okta. I have scenario where I have StateToken available. Is it possible to retrieve user info based on the StateToken? I just need the user email to send an email notification.

Thanks!

---

<div class="post-metadata">

**Author:** ![dragos](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/dragos/32/1313_2.png) [@dragos](https://devforum.okta.com/u/dragos)\
**Post date:** [February 19, 2019, 11:48am UTC](https://devforum.okta.com/t/user-info-using-statetoken/4220/2 "2019-02-19T11:48:14Z")

</div>

Hi @danish

Depending on the current transaction state, you can use the [Get Transaction State](https://developer.okta.com/docs/api/resources/authn#get-transaction-state) API to get details about the stateToken, including user details.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [January 17, 2024, 7:40pm UTC](https://devforum.okta.com/t/user-info-using-statetoken/4220/3 "2024-01-17T19:40:29Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
