If I listen to one of the user webhooks and have the scopes necessary to pull info for a user or an account from the API, is it possible to find out which sub-account a user belongs to?
Situation:
We have an account-install marketplace app installed for multiple sub-accounts under a master account. We would like to flip different switches for new users depending on the sub-account they’re in.
Thanks for reaching out about this. If you’re using an OAuth app, you should be able to track the user’s account ID by decoding the access_token that’s generated when they install the app. Let me know if this post helps: