Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Token not work properly in my script

Hi There:

I am currently working on a tool to create a abbrivation database, and one of the source is the wiki pages in, I tried the create a token to access the wiki pages through scripts, but it will return page not found (attached), even I followed the instruction to use curl command like "url --user wei.zhou@irdeto. com:MY-TOKEN" it still get the same result, but if I login manully, iI can access the wiki page. could you please advise is there any configuration I was missing?

Best Regards

1 answer

0 votes
Shawn C Atlassian Team Sep 18, 2018

Hi Wei, 

The API Tokens that you can generate at can only be used for REST API Access to your Atlassian Cloud Instances; you cannot use it to directly access Confluence. 

If you need to pull the content of your Confluence pages into another program, you'll need to use a Different URL; try using: 

curl -X GET 
--user emailaddress:TOKEN

 For your particular page, try: 


Please note that pulling content via the REST API does not return a 'pretty' output and instead the JSON that makes up the page. 


Hi Shawn:


Thanks a lot for your reply!

I just tried your suggestions and it works for me, json format is good enough, really appreciated!



Best Regards


Hi Shawn:


Do you also know where I can find the definitions if the rest apis? (e.g. schema, parameters) becuase I found there still some part is missing from the body, it can be seen on the webui but not in json response. I found the rest api is quit useful for my project, so if I can get more information about it could be really helpful.

Thanks in advance!


Best Regards


Shawn C Atlassian Team Sep 19, 2018

Hi Wei, 

We publish a Doc that covers our Confluence API Endpoints and some of the parameters that can be expanded upon in the calls. 



Hi Shawn:


That quite helpful and exactly what I need, thanks a lot!


Best Regards


Suggest an answer

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

Confluence Bingo Round 3!

That’s right! Grandma’s back at it again, and this time she’s brought all her friends. In honor of Team '21, this Bingo round is dedicated to all things team-related, and the prizes are no exception....

2,190 views 30 21
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