Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Using seraph.confluence cookie to with curl


I'm created an application that runs on Linux, automatically generate content and upload it to wiki via REST API using curl library.

In order to connect and upload the content, the users have to provide their password - each time they runs the application - something that I want to avoid.

In addition, I prefer not to manage the users password in anyway in my application.

I've read about the available authentication methods and found that there is a way to authenticate using the long lived cookie named "seraph.confluence".

however, it seems that this option is only available when using modern browsers that runs javascript code.


Is there any way to get the seraph.confluence cookie and use it when running w/ curl based application?


Thanks a lot

1 answer

Hi @אבי אליהו ,

Maybe I misunderstand question, but You would like use cookie 'remember me' functionality in curl?

How I know curl can use cookie, but it is separate application. Each application have it's own cookie storage, e.g. firefox can't get access to cookie in chrome.

That mean You need first log-in to conf use curl (with turn on cookie) to give'seraph.confluence' value or use value from browser, but add it to curl manually.

For basic auth You can encode password to base64.

Also for cloud exist 'api_token' maybe some similar exist to server.


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- 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...

463 views 24 9
Join discussion

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