# Organization Information on Preregistration/Postregistration action events?

**URL:** <https://community.auth0.com/t/organization-information-on-preregistration-postregistration-action-events/90229>\
**Category:** Get Help\
**Tags:** organizations, action\
**Created:** [September 8, 2022, 11:05am UTC](https://community.auth0.com/t/organization-information-on-preregistration-postregistration-action-events/90229 "2022-09-08T11:05:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![openbridge-james](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/openbridge-james/32/31303_2.png) [@openbridge-james](https://community.auth0.com/u/openbridge-james)\
**Post date:** [September 8, 2022, 11:05am UTC](https://community.auth0.com/t/organization-information-on-preregistration-postregistration-action-events/90229/1 "2022-09-08T11:05:41Z")

</div>

User comes in on an invite to an organization. We want to capture that this is an invite registration, and not a regular registration at the time of registration, so we can choose to do some localized work. We do not want to do this after they have registered using the organizations endpoint, so is there a way for us to detect in actions that it is an org invite and what the organization id is?

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [September 13, 2022, 12:18am UTC](https://community.auth0.com/t/organization-information-on-preregistration-postregistration-action-events/90229/3 "2022-09-13T00:18:58Z")

</div>

Hey there @openbridge-james! Unfortunately, the `event.organization` object is currently only available in the Post Login Action - I definitely recommend creating a [feedback request](https://community.auth0.com/c/feedback/95) for this if you are up for it. I did a quick search and it looks like this hasn’t been added previously, but is a common ask. Our product team monitors these requests closely and the request makes total sense to me 🙏

As an aside, it looks like the data you need may be available via `/api/v2/users/{id}/organizations` at the time of the post user registration action/flow.

> [@Get Organization information in Post User Registration Flow](https://community.auth0.com/t/get-organization-information-in-post-user-registration-flow/83543/3):
>
> Hi @hsoto , Welcome to the Auth0 Community! Please try the [GET /api/v2/users/{id}/organizations](https://auth0.com/docs/api/management/v2#!/Users/get_user_organizations) endpoint to get the organization that the user registered. Hope this helps!

---

<div class="post-metadata">

**Author:** ![openbridge-james](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/openbridge-james/32/31303_2.png) [@openbridge-james](https://community.auth0.com/u/openbridge-james)\
**Post date:** [September 13, 2022, 9:58am UTC](https://community.auth0.com/t/organization-information-on-preregistration-postregistration-action-events/90229/4 "2022-09-13T09:58:50Z")

</div>

This is going to make this a whole lot more difficult than it needs to be. Thanks for the response.

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [September 28, 2022, 9:59am UTC](https://community.auth0.com/t/organization-information-on-preregistration-postregistration-action-events/90229/5 "2022-09-28T09:59:00Z")

</div>

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