REST API Examples on the left-hand side does show some examples, but have a look here as well:
You can authenticate yourself for the REST APIs in two ways:
Log in to Confluence manually. You will then be authenticated for the REST APIs for that same browser session.
Use HTTP basic authentication (Authorization HTTP header) containing ‘
Basic username:password’. Please note however,
username:passwordmust be base64 encoded. The URL must also contain the ‘
os_authType=basic’ query parameter.
Let me know if you have any questions.
this may be too old now for you to benefit - however it may still be worth for someone who stumbles across this topic.
We have released a 3rd party App that implements the API Token Concept in Confluence & Jira.
It's available for both Server & Data-Center. It also has some additional security features (blocking normal basic auth, IP address restrictions, etc) that some people may find interesting.
P.S. Full disclosure, I work for resolution, a marketplace vendor.
- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...
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