Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,060
Community Members
 
Community Events
165
Community Groups

API for token generation for external application.

We trying to integrate Confluence with our application as part of help and support.

We want to add authorization mechanism where a user having a particular access in application will be able to view or search information related to his account only.

Kindly share an API for token generation. 

1 answer

0 votes
Srinatha T Atlassian Team May 09, 2022

Hi @Sweta Pawar ,

Welcome to Atlassian community. 

Below URL will help you create tokens in atlassian account for confluence cloud.

The above page has info like how to create and use an API token. I hope above info helps. 

Have a good day!

Thanks,

Srinath T

Hi Srinath,

Thankyou for reverting.

Actually we are working on integrating of Confluence where all our documentation is saved with our manufacturing application as part of help and support feature. We tested some api on postman using username and password but it's not working and instead if we use token id it works.

As part of authorization features we will be restricting access of the users based on role so a user with particular role will be able to view information related to his role only. As there are many users it is not possible to give access to individual users.

So we are looking out for an API which can generate token.

Like Srinatha T likes this
Srinatha T Atlassian Team May 10, 2022

Hi @Sweta Pawar ,

Thanks for the detailed info. Yes, try the above it has examples which will help you understand how it works. It should help. 

Have a good day! 

Cheers

Srinath T

Like Sweta Pawar likes this

Hi Srinath, 

Followed the step given in page https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/#Use-an-API-token.

But it is not working. We need an API which can generate the token. 

Srinatha T Atlassian Team May 10, 2022

Hi @Sweta Pawar ,

What is happening ? I am not an expert on API and I have not used these token API's myself. I am not sure If i will be of much help here. I will give a try. 

Thanks,

Srinath T

Hi @Srinatha T  Is there any way out for this or any reference can help to resolve the issue because we are stuck here. If this works then only will be able to do the integration with confluence else will have to find a work around.

Srinatha T Atlassian Team May 11, 2022

@Sweta Pawar , I am still not clear as to what is happening when you tried to create token using the above method ? 

@Srinatha T Our ask is that is there any token generation API for confluence? We know how to create a token manually from confluence's website, but, how can we replicate the same in our code?

@Srinatha T  Is it possible to arrange meeting with Confluence support team. We can show what are our finding and where we have stuck.

Srinatha T Atlassian Team May 13, 2022

Hi @Sweta Pawar , could you please open a support ticket with all the info. The support can help you further on this. 

@Srinatha T  Please let me know how can I raise the support ticket. I am trying to raise but it is directing me to same same page. (Current page)

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

141 views 1 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you