After successful oAuth i would like to get installer’s workspace id and name using the access token but couldn’t spot the link in documentation. Can someone help to find the docs? The workspace data is mandatory for webhook data which i receive after installing the app to identify the user.
the above endpoint fetches the data what i required. its categorised in ADMIN. confusing!
Rock on @rsganesh !
For others searching for this, see the fine print: This will return a Admin model, with an embedded app object (a workspace in legacy terminology).
Intercom, you should mention this workspace_id lookup in revocation/uninstall section and even near the end of the OAuth section: https://developers.intercom.com/building-apps/docs/setting-up-oauth#section-use-your-token