Get current user context with Forge

Hi! Please is there a way to get the current user context with Forge confluence rest api. I want to get this information about user Context in forge? Most specifically I want to get the current user appID because I intend to redirect user from the macro app to a specific cloud app on the Confluence page.

I have found a solution to this problem I used this ( /wiki/rest/api/content/{contentId}?expand=body.atlas_doc_format ). In the “atlas_doc_format” I was able to retrieve the body of the wiki document and what it contains.

2 Likes