Endpoint to fetch workspace data like workspace id and workspace name

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.

https://api.intercom.io/me

the above endpoint fetches the data what i required. its categorised in ADMIN. confusing!

1 Like

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