How to call a Confluence Page via an External Application Request

jcorreaviana July 24, 2019

Hello!

I am studying Confluence Cloud as a tool for collaborative content generation and would like to know if there is any way to make a call to a Confluence page from a request from my app. The idea is for my app to call a token or something controlled to allow only anyone in my app to view page content through an Atlassian-registered token (API token, for example). Is this possible?

Regards,
José Corrêa.

1 answer

0 votes
Dee
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 24, 2019

Hi José, there is a REST API for Confluence Cloud. Example here:h //developer.atlassian.com/cloud/confluence/rest-api-examples/ 

Is that what you are looking for?

jcorreaviana July 25, 2019

Hello Dee, thanks for your reply!

I have reviewed the API and my main question is how access to a Confluence page works. Here is a brief explanation of our scope:

"We are looking for a tool to document the functions of our application to the end user, where the call will be made from our web application. Authorization for the pages must be invisible to the user and we need to keep the access permission only when this call is made by the users who will keep the documentation updated or when any user (client) clicks the help icon, it will be redirected to a link in the Confluence."

It's this possible with Confluence Cloud + API?

Our web applications are written in .NET Core and I believe we will need to use OAuth to do this if possible.

I did a test with Basic Authorization, but I get a 403 return (because I need to be logged in to an Atlassian/Confluence account, I believe).

Regards!

José Corrêa.

Dee
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 25, 2019

Hi José, 

You want to use Confluence Cloud sort of like a server that serves up your in-app help pages. Correct?

Unfortunately my knowledge of the cloud rest api is not comprehensive enough to answer that.. I'll ask around in the confluence cloud team to see if they have any clues..

Regards,

Dee 

jcorreaviana July 26, 2019

Thanks for the help, Dee.

We are in the process of validating of project scope, as they may exist public, Confluence already serves us perfectly.

Regards,
José Corrêa

Tessy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 7, 2025

Hi José, did you get a solution for this? 

Please do share if you found one.

Thanks and Regards,

Tessy

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events